Struct octocrab::models::User [−][src]
#[non_exhaustive]pub struct User {}Show 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,
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
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more