pub struct Friend {
pub steam_id: String,
pub relationship: SteamRelationship,
pub friend_since: i64,
}
Expand description
Represents a Steam friend and its metadata
Fields§
§steam_id: String
The friend’s Steam ID
relationship: SteamRelationship
The relationship you have with the Steam user
friend_since: i64
Unix timestamp of the time when the relationship was created.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Friend
impl<'de> Deserialize<'de> for Friend
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 Friend
impl PartialEq for Friend
impl StructuralPartialEq for Friend
Auto Trait Implementations§
impl Freeze for Friend
impl RefUnwindSafe for Friend
impl Send for Friend
impl Sync for Friend
impl Unpin for Friend
impl UnwindSafe for Friend
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