pub struct Card {Show 23 fields
pub mid: String,
pub name: String,
pub sex: String,
pub face: String,
pub display_rank: String,
pub regtime: u64,
pub spacesta: i32,
pub birthday: String,
pub place: String,
pub description: String,
pub article: u32,
pub attentions: Vec<Value>,
pub fans: u32,
pub friend: u32,
pub attention: u32,
pub sign: String,
pub level_info: LevelInfo,
pub pendant: Pendant,
pub nameplate: Nameplate,
pub official: Official,
pub official_verify: OfficialVerify,
pub vip: Vip,
pub space: Option<Space>,
}Expand description
用户卡片详细信息
Fields§
§mid: String用户mid
name: String用户昵称
sex: String用户性别 男/女/保密
face: String用户头像链接
display_rank: String显示排名 作用尚不明确
regtime: u64注册时间 作用尚不明确
spacesta: i32用户状态 0:正常 -2:被封禁
birthday: String生日 作用尚不明确
place: String地点 作用尚不明确
description: String描述 作用尚不明确
article: u32文章数 作用尚不明确
attentions: Vec<Value>关注列表 作用尚不明确
fans: u32粉丝数
friend: u32好友数
attention: u32关注数
sign: String签名
level_info: LevelInfo等级信息
pendant: Pendant挂件信息
nameplate: Nameplate勋章信息
official: Official认证信息
official_verify: OfficialVerify认证信息2
vip: Vip大会员状态
space: Option<Space>主页头图
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Card
impl<'de> Deserialize<'de> for Card
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 Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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