pub struct Profile {
pub id: String,
pub is_private: bool,
pub profile_pic_url: String,
pub username: String,
pub is_verified: bool,
pub biography: String,
pub follower_count: u32,
pub bio_links: Vec<Link>,
pub full_name: String,
pub hd_profile_pic_versions: Vec<Media>,
}
Expand description
Contains all the information available about a profile.
Fields§
§id: String
§is_private: bool
§profile_pic_url: String
§username: String
§is_verified: bool
§biography: String
§follower_count: u32
§bio_links: Vec<Link>
§full_name: String
§hd_profile_pic_versions: Vec<Media>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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