pub struct UserBatchInfo {
pub mid: Mid,
pub name: String,
pub sign: String,
pub rank: i32,
pub level: i32,
pub silence: i32,
pub sex: Option<String>,
pub face: String,
pub vip: Option<UserBatchVip>,
pub official: Option<UserOfficialSummary>,
pub is_fake_account: Option<u32>,
pub expert_info: Option<Value>,
}Expand description
/x/im/user_infos 返回的批量用户详细信息。
Fields§
§mid: Mid用户 member ID。
name: String显示名称。
sign: String个人签名。
rank: i32Bilibili 返回的显示 rank。
level: i32当前账号等级。
silence: i32Bilibili 返回的用户禁言或封禁状态。
sex: Option<String>个人资料性别文本。
face: String头像 URL。
vip: Option<UserBatchVip>VIP 状态摘要。
official: Option<UserOfficialSummary>官方认证摘要。
is_fake_account: Option<u32>Bilibili 是否将该账号标记为假账号。
expert_info: Option<Value>Bilibili 返回的 expert 载荷;其结构偏展示用途,因此保留原始值。
Trait Implementations§
Source§impl Clone for UserBatchInfo
impl Clone for UserBatchInfo
Source§fn clone(&self) -> UserBatchInfo
fn clone(&self) -> UserBatchInfo
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 UserBatchInfo
impl Debug for UserBatchInfo
Source§impl<'de> Deserialize<'de> for UserBatchInfo
impl<'de> Deserialize<'de> for UserBatchInfo
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 UserBatchInfo
impl RefUnwindSafe for UserBatchInfo
impl Send for UserBatchInfo
impl Sync for UserBatchInfo
impl Unpin for UserBatchInfo
impl UnsafeUnpin for UserBatchInfo
impl UnwindSafe for UserBatchInfo
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