pub struct Profile {Show 16 fields
pub id: String,
pub url: String,
pub username: String,
pub player_id: i32,
pub title: Option<Title>,
pub status: Status,
pub name: Option<String>,
pub avatar: Option<String>,
pub location: Option<String>,
pub country: String,
pub joined: DateTime<Utc>,
pub last_online: DateTime<Utc>,
pub followers: i32,
pub is_streamer: bool,
pub twitch_url: Option<String>,
pub fide: Option<i32>,
}
Fields§
§id: String
§url: String
§username: String
§player_id: i32
§title: Option<Title>
§status: Status
§name: Option<String>
§avatar: Option<String>
§location: Option<String>
§country: String
§joined: DateTime<Utc>
§last_online: DateTime<Utc>
§followers: i32
§is_streamer: bool
§twitch_url: Option<String>
§fide: Option<i32>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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