Struct speedrun_api::types::User
source · [−]pub struct User<'a> {Show 14 fields
pub id: UserId<'a>,
pub names: Names,
pub pronouns: Option<String>,
pub weblink: String,
pub name_style: NameStyle,
pub role: UserRole,
pub signup: Option<String>,
pub location: Option<Location>,
pub twitch: Option<BasicLink>,
pub hitbox: Option<BasicLink>,
pub youtube: Option<BasicLink>,
pub twitter: Option<BasicLink>,
pub speedrunslive: Option<BasicLink>,
pub links: Vec<Link>,
}Fields
id: UserId<'a>names: Namespronouns: Option<String>weblink: Stringname_style: NameStylerole: UserRolesignup: Option<String>location: Option<Location>twitch: Option<BasicLink>hitbox: Option<BasicLink>youtube: Option<BasicLink>twitter: Option<BasicLink>speedrunslive: Option<BasicLink>links: Vec<Link>Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for User<'a>
impl<'de, 'a> Deserialize<'de> for User<'a>
sourcefn 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
sourceimpl<'a> PartialEq<User<'a>> for User<'a>
impl<'a> PartialEq<User<'a>> for User<'a>
impl<'a> StructuralPartialEq for User<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for User<'a>
impl<'a> Send for User<'a>
impl<'a> Sync for User<'a>
impl<'a> Unpin for User<'a>
impl<'a> UnwindSafe for User<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more