pub struct UserCardSummary {
pub mid: Mid,
pub name: String,
pub sex: Option<String>,
pub face: String,
pub sign: String,
pub fans: u64,
pub attention: u64,
}Expand description
Stable fields from the nested card object.
Fields§
§mid: MidUser member ID.
name: StringDisplay name.
sex: Option<String>Profile gender text.
face: StringAvatar URL.
sign: StringProfile signature.
fans: u64Fan count embedded in the card summary.
attention: u64Following count embedded in the card summary.
Trait Implementations§
Source§impl Clone for UserCardSummary
impl Clone for UserCardSummary
Source§fn clone(&self) -> UserCardSummary
fn clone(&self) -> UserCardSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserCardSummary
impl Debug for UserCardSummary
Source§impl<'de> Deserialize<'de> for UserCardSummary
impl<'de> Deserialize<'de> for UserCardSummary
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 UserCardSummary
impl RefUnwindSafe for UserCardSummary
impl Send for UserCardSummary
impl Sync for UserCardSummary
impl Unpin for UserCardSummary
impl UnsafeUnpin for UserCardSummary
impl UnwindSafe for UserCardSummary
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