Struct google_plus1::api::PersonImage
source · pub struct PersonImage {
pub is_default: Option<bool>,
pub url: Option<String>,
}
Expand description
The representation of the person’s profile photo.
This type is not used in any activity, and only used as part of another schema.
Fields§
§is_default: Option<bool>
Whether the person’s profile photo is the default one
url: Option<String>
The URL of the person’s profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
Trait Implementations§
source§impl Clone for PersonImage
impl Clone for PersonImage
source§fn clone(&self) -> PersonImage
fn clone(&self) -> PersonImage
Returns a copy of the value. Read more
1.0.0 · 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 PersonImage
impl Debug for PersonImage
source§impl Default for PersonImage
impl Default for PersonImage
source§fn default() -> PersonImage
fn default() -> PersonImage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PersonImage
impl<'de> Deserialize<'de> for PersonImage
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 Serialize for PersonImage
impl Serialize for PersonImage
impl NestedType for PersonImage
impl Part for PersonImage
Auto Trait Implementations§
impl RefUnwindSafe for PersonImage
impl Send for PersonImage
impl Sync for PersonImage
impl Unpin for PersonImage
impl UnwindSafe for PersonImage
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