Struct google_people1::Photo[][src]

pub struct Photo {
    pub default: Option<bool>,
    pub url: Option<String>,
    pub metadata: Option<FieldMetadata>,
}

A person's read-only photo. A picture shown next to the person's name to help others recognize the person.

This type is not used in any activity, and only used as part of another schema.

Fields

True if the photo is a default photo; false if the photo is a user-provided photo.

The URL of the photo. You can change the desired size by appending a query parameter sz=size at the end of the url. Example: https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50

Metadata about the photo.

Trait Implementations

impl Default for Photo
[src]

Returns the "default value" for a type. Read more

impl Clone for Photo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Photo
[src]

Formats the value using the given formatter. Read more

impl Part for Photo
[src]

Auto Trait Implementations

impl Send for Photo

impl Sync for Photo