Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jocelyn Falempe
rust-gitlab
Commits
650c7785
Commit
650c7785
authored
Dec 18, 2016
by
Ben Boeckel
Browse files
types: remove Serialize constraint for UserResult
parent
469100fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/types.rs.in
View file @
650c7785
...
...
@@ -63,8 +63,8 @@ pub struct UserBasic {
pub web_url: String,
}
pub trait UserResult:
Serialize +
Deserialize {}
impl<T:
Serialize +
Deserialize + Into<UserBasic>> UserResult for T {}
pub trait UserResult: Deserialize {}
impl<T: Deserialize + Into<UserBasic>> UserResult for T {}
#[derive(Serialize, Deserialize, Debug, Clone)]
/// More detailed information only accessible to administrators.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment