pub struct UserCardProfile {
pub card: UserCardSummary,
pub following: bool,
pub archive_count: u64,
pub article_count: u64,
pub follower: u64,
pub like_num: u64,
}Expand description
Payload returned by /x/web-interface/card.
Fields§
§card: UserCardSummaryUser card summary.
following: boolWhether the current session follows this user.
archive_count: u64Number of uploaded archives.
article_count: u64Number of articles.
follower: u64Follower count.
like_num: u64Total likes received.
Trait Implementations§
Source§impl Clone for UserCardProfile
impl Clone for UserCardProfile
Source§fn clone(&self) -> UserCardProfile
fn clone(&self) -> UserCardProfile
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 UserCardProfile
impl Debug for UserCardProfile
Source§impl<'de> Deserialize<'de> for UserCardProfile
impl<'de> Deserialize<'de> for UserCardProfile
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 UserCardProfile
impl RefUnwindSafe for UserCardProfile
impl Send for UserCardProfile
impl Sync for UserCardProfile
impl Unpin for UserCardProfile
impl UnsafeUnpin for UserCardProfile
impl UnwindSafe for UserCardProfile
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