pub struct User {Show 20 fields
pub login: String,
pub id: usize,
pub gravatar_id: String,
pub type: String,
pub site_admin: bool,
pub name: String,
pub company: Option<String>,
pub blog: String,
pub location: String,
pub email: Option<String>,
pub hireable: Option<bool>,
pub bio: Option<String>,
pub twitter_username: Option<String>,
pub public_repos: usize,
pub public_gists: usize,
pub followers: usize,
pub following: usize,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub plan: Option<Plan>,
}
Fields§
§login: String
§id: usize
§gravatar_id: String
§type: String
§site_admin: bool
§name: String
§company: Option<String>
§blog: String
§location: String
§email: Option<String>
§hireable: Option<bool>
§bio: Option<String>
§twitter_username: Option<String>
§public_repos: usize
§public_gists: usize
§followers: usize
§following: usize
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§plan: Option<Plan>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more