[][src]Struct grammers_tl_types::types::Photo

pub struct Photo {
    pub has_stickers: bool,
    pub id: i64,
    pub access_hash: i64,
    pub file_reference: Vec<u8>,
    pub date: i32,
    pub sizes: Vec<PhotoSize>,
    pub dc_id: i32,
}

Fields

has_stickers: boolid: i64access_hash: i64file_reference: Vec<u8>date: i32sizes: Vec<PhotoSize>dc_id: i32

Trait Implementations

impl Clone for Photo[src]

impl Debug for Photo[src]

impl Deserializable for Photo[src]

impl From<Photo> for Photo[src]

impl Identifiable for Photo[src]

impl PartialEq<Photo> for Photo[src]

impl Serializable for Photo[src]

impl StructuralPartialEq for Photo[src]

impl TryFrom<Photo> for Photo[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

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.