Struct hangouts_rs::Photo[][src]

pub struct Photo {
    pub media_type: MediaType,
    pub thumbnail: Thumbnail,
    pub album_id: String,
    pub photo_id: String,
    pub stream_id: Vec<String>,
    pub url: String,
    pub download_url: Option<String>,
    pub original_url: String,
    pub owner_obfuscated_id: String,
}

Data about a photo or video attachment item.

Fields

media_type: MediaType

The type of media attached.

thumbnail: Thumbnail

Thumbnail data for the media.

album_id: String

ID of the photos album the media has been saved to.

photo_id: String

ID the media has been assigned.

stream_id: Vec<String>url: String

URL to the media.

download_url: Option<String>

URL that can be used to download the media.

original_url: Stringowner_obfuscated_id: String

Trait Implementations

impl Clone for Photo[src]

impl Debug for Photo[src]

impl From<PlusPhoto> for Photo[src]

impl PartialEq<Photo> for Photo[src]

impl StructuralPartialEq for Photo[src]

Auto Trait Implementations

impl RefUnwindSafe for Photo

impl Send for Photo

impl Sync for Photo

impl Unpin for Photo

impl UnwindSafe for Photo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.