#[non_exhaustive]pub struct Author {Show 20 fields
pub login: String,
pub id: UserId,
pub node_id: String,
pub avatar_url: Url,
pub gravatar_id: String,
pub url: Url,
pub html_url: Url,
pub followers_url: Url,
pub following_url: Url,
pub gists_url: Url,
pub starred_url: Url,
pub subscriptions_url: Url,
pub organizations_url: Url,
pub repos_url: Url,
pub events_url: Url,
pub received_events_url: Url,
pub type: String,
pub site_admin: bool,
pub patch_url: Option<String>,
pub email: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.login: String
§id: UserId
§node_id: String
§avatar_url: Url
§gravatar_id: String
§url: Url
§html_url: Url
§followers_url: Url
§following_url: Url
§gists_url: Url
§starred_url: Url
§subscriptions_url: Url
§organizations_url: Url
§repos_url: Url
§events_url: Url
§received_events_url: Url
§type: String
§site_admin: bool
§patch_url: Option<String>
§email: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Author
impl<'de> Deserialize<'de> for Author
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
source§impl PartialEq for Author
impl PartialEq for Author
impl Eq for Author
impl StructuralPartialEq for Author
Auto Trait Implementations§
impl Freeze for Author
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnwindSafe for Author
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