pub struct ProfileImage {
pub type_of: Option<String>,
pub image_of: Option<String>,
pub profile_image: Option<String>,
pub profile_image_90: Option<String>,
}
Expand description
ProfileImage : A profile image object
Fields§
§type_of: Option<String>
Return profile_image
image_of: Option<String>
Determines the type of the profile image owner (user or organization)
profile_image: Option<String>
Profile image (640x640)
profile_image_90: Option<String>
Profile image (90x90)
Implementations§
Source§impl ProfileImage
impl ProfileImage
Sourcepub fn new() -> ProfileImage
pub fn new() -> ProfileImage
A profile image object
Trait Implementations§
Source§impl Clone for ProfileImage
impl Clone for ProfileImage
Source§fn clone(&self) -> ProfileImage
fn clone(&self) -> ProfileImage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProfileImage
impl Debug for ProfileImage
Source§impl Default for ProfileImage
impl Default for ProfileImage
Source§fn default() -> ProfileImage
fn default() -> ProfileImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileImage
impl<'de> Deserialize<'de> for ProfileImage
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
Source§impl PartialEq for ProfileImage
impl PartialEq for ProfileImage
Source§impl Serialize for ProfileImage
impl Serialize for ProfileImage
impl StructuralPartialEq for ProfileImage
Auto Trait Implementations§
impl Freeze for ProfileImage
impl RefUnwindSafe for ProfileImage
impl Send for ProfileImage
impl Sync for ProfileImage
impl Unpin for ProfileImage
impl UnwindSafe for ProfileImage
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