pub struct UserCardInfo {
pub card: Card,
pub following: bool,
pub archive_count: u32,
pub article_count: u32,
pub follower: u32,
pub like_num: u32,
}Expand description
用户名片信息响应结构体
Fields§
§card: Card卡片信息
following: bool是否关注此用户 true:已关注 false:未关注 需要登录(Cookie) 未登录为false
archive_count: u32用户稿件数
article_count: u32作用尚不明确
follower: u32粉丝数
like_num: u32点赞数
Trait Implementations§
Source§impl Clone for UserCardInfo
impl Clone for UserCardInfo
Source§fn clone(&self) -> UserCardInfo
fn clone(&self) -> UserCardInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 UserCardInfo
impl Debug for UserCardInfo
Source§impl<'de> Deserialize<'de> for UserCardInfo
impl<'de> Deserialize<'de> for UserCardInfo
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 UserCardInfo
impl RefUnwindSafe for UserCardInfo
impl Send for UserCardInfo
impl Sync for UserCardInfo
impl Unpin for UserCardInfo
impl UnwindSafe for UserCardInfo
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