pub struct UserFollower {
pub mid: Mid,
pub attribute: u8,
pub mtime: Option<u64>,
pub tag: Option<Vec<u64>>,
pub special: u8,
pub contract_info: Option<Value>,
pub name: String,
pub face: String,
pub sign: String,
pub face_nft: u8,
pub official_verify: Option<UserRelationOfficialVerify>,
pub vip: Option<Value>,
}Expand description
One follower in UserFollowers.
Fields§
§mid: MidFollower member ID.
attribute: u8Relation attribute returned by Bilibili.
mtime: Option<u64>Follow timestamp in seconds when Bilibili returns it.
tag: Option<Vec<u64>>Relation tag IDs.
special: u8Whether this user is specially followed.
contract_info: Option<Value>Contract display payload. Kept raw because this nested schema is unstable.
name: StringDisplay name.
face: StringAvatar URL.
sign: StringProfile signature.
face_nft: u8Whether Bilibili marks the avatar as NFT.
official_verify: Option<UserRelationOfficialVerify>Official verification summary returned by the relation list.
vip: Option<Value>VIP summary. Kept raw because Bilibili changes this display payload often.
Trait Implementations§
Source§impl Clone for UserFollower
impl Clone for UserFollower
Source§fn clone(&self) -> UserFollower
fn clone(&self) -> UserFollower
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 UserFollower
impl Debug for UserFollower
Source§impl<'de> Deserialize<'de> for UserFollower
impl<'de> Deserialize<'de> for UserFollower
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 UserFollower
impl RefUnwindSafe for UserFollower
impl Send for UserFollower
impl Sync for UserFollower
impl Unpin for UserFollower
impl UnsafeUnpin for UserFollower
impl UnwindSafe for UserFollower
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