pub struct UserShort {
pub id: String,
pub ingame_name: String,
pub avatar: Option<String>,
pub reputation: i16,
pub locale: String,
pub platform: String,
pub crossplay: bool,
pub status: String,
pub activity: Activity,
pub last_seen: String,
}Expand description
This is a shortened model of a user, which can be found in chats, messages, orders, bids, auctions, etc.
Fields§
§id: String§ingame_name: String§avatar: Option<String>§reputation: i16§locale: String§platform: String§crossplay: bool§status: String§activity: Activity§last_seen: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserShort
impl<'de> Deserialize<'de> for UserShort
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
Auto Trait Implementations§
impl Freeze for UserShort
impl RefUnwindSafe for UserShort
impl Send for UserShort
impl Sync for UserShort
impl Unpin for UserShort
impl UnwindSafe for UserShort
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