pub struct ProfileDetail {
pub profile_pic_url: String,
pub username: String,
pub is_verified: bool,
pub id: String,
}
Expand description
Contains the minimum required information to display a profile.
Fields§
§profile_pic_url: String
§username: String
§is_verified: bool
§id: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProfileDetail
impl<'de> Deserialize<'de> for ProfileDetail
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 ProfileDetail
impl RefUnwindSafe for ProfileDetail
impl Send for ProfileDetail
impl Sync for ProfileDetail
impl Unpin for ProfileDetail
impl UnwindSafe for ProfileDetail
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