pub struct UserData {
pub login: String,
pub name: Option<String>,
pub bio: Option<String>,
pub company: Option<String>,
pub blog: Option<String>,
pub location: Option<String>,
pub email: Option<String>,
pub public_repos: u32,
pub followers: u32,
pub following: u32,
pub created_at: Option<String>,
}Fields§
§login: String§name: Option<String>§bio: Option<String>§company: Option<String>§blog: Option<String>§location: Option<String>§email: Option<String>§public_repos: u32§followers: u32§following: u32§created_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserData
impl<'de> Deserialize<'de> for UserData
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 UserData
impl RefUnwindSafe for UserData
impl Send for UserData
impl Sync for UserData
impl Unpin for UserData
impl UnwindSafe for UserData
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