pub struct User {Show 20 fields
pub active: Option<bool>,
pub avatar_url: Option<String>,
pub created: Option<String>,
pub description: Option<String>,
pub email: Option<String>,
pub followers_count: Option<i64>,
pub following_count: Option<i64>,
pub full_name: Option<String>,
pub id: Option<i64>,
pub is_admin: Option<bool>,
pub language: Option<String>,
pub last_login: Option<String>,
pub location: Option<String>,
pub login: Option<String>,
pub login_name: Option<String>,
pub prohibit_login: Option<bool>,
pub restricted: Option<bool>,
pub starred_repos_count: Option<i64>,
pub visibility: Option<String>,
pub website: Option<String>,
}
Expand description
User : User represents a user
Fields§
§active: Option<bool>
Is user active
avatar_url: Option<String>
URL to the user’s avatar
created: Option<String>
§description: Option<String>
the user’s description
email: Option<String>
§followers_count: Option<i64>
user counts
following_count: Option<i64>
§full_name: Option<String>
the user’s full name
id: Option<i64>
the user’s id
is_admin: Option<bool>
Is the user an administrator
language: Option<String>
User locale
last_login: Option<String>
§location: Option<String>
the user’s location
login: Option<String>
the user’s username
login_name: Option<String>
the user’s authentication sign-in name.
prohibit_login: Option<bool>
Is user login prohibited
restricted: Option<bool>
Is user restricted
starred_repos_count: Option<i64>
§visibility: Option<String>
User visibility level option: public, limited, private
website: Option<String>
the user’s website
Implementations§
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
impl StructuralPartialEq for User
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