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
Detailed batch user information returned by /x/im/user_infos.
Fields§
§mid: MidUser member ID.
name: StringDisplay name.
sign: StringProfile signature.
rank: i32Display rank returned by Bilibili.
level: i32Current account level.
silence: i32User silence/ban state returned by Bilibili.
sex: Option<String>Profile gender text.
face: StringAvatar URL.
vip: Option<UserBatchVip>VIP status summary.
official: Option<UserOfficialSummary>Official verification summary.
is_fake_account: Option<u32>Whether Bilibili marks this account as fake.
expert_info: Option<Value>Expert payload returned by Bilibili, kept raw because the shape is display-oriented.
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