pub struct UserData {
pub id: String,
pub rest_id: String,
pub affiliates_highlighted_label: Option<Value>,
pub has_graduated_access: bool,
pub is_blue_verified: bool,
pub profile_image_shape: String,
pub legacy: LegacyUserRaw,
pub smart_blocked_by: bool,
pub smart_blocking: bool,
pub legacy_extended_profile: Option<Value>,
pub is_profile_translatable: bool,
}Fields§
§id: String§rest_id: String§affiliates_highlighted_label: Option<Value>§has_graduated_access: bool§is_blue_verified: bool§profile_image_shape: String§legacy: LegacyUserRaw§smart_blocked_by: bool§smart_blocking: bool§legacy_extended_profile: Option<Value>§is_profile_translatable: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserData
impl<'de> Deserialize<'de> for UserData
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 UserData
impl RefUnwindSafe for UserData
impl Send for UserData
impl Sync for UserData
impl Unpin for UserData
impl UnwindSafe for UserData
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