#[non_exhaustive]pub struct Follower {Show 19 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>,
}
Expand description
A user that is following another user
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>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Follower
impl<'de> Deserialize<'de> for Follower
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 Follower
impl PartialEq for Follower
impl Eq for Follower
impl StructuralPartialEq for Follower
Auto Trait Implementations§
impl Freeze for Follower
impl RefUnwindSafe for Follower
impl Send for Follower
impl Sync for Follower
impl Unpin for Follower
impl UnwindSafe for Follower
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