Commit 650c7785 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

types: remove Serialize constraint for UserResult

parent 469100fa
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment