pub struct Account {
pub mid: u64,
pub name: String,
pub sex: String,
pub face: String,
pub sign: String,
pub rank: u32,
pub birthday: u64,
pub is_fake_account: u32,
pub is_deleted: u32,
pub in_reg_audit: u32,
pub is_senior_member: u32,
}Expand description
通用账户字段
Fields§
§mid: u64用户mid
name: String昵称
sex: String性别(男/女/保密)
face: String头像url
sign: String签名
rank: u32等级
birthday: u64生日(秒时间戳)
is_fake_account: u32未知字段
is_deleted: u32是否注销(0:正常,1:注销)
in_reg_audit: u32是否注册审核(0:正常,1:审核)
is_senior_member: u32是否转正(0:未转正,1:正式会员)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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