Enum telegram::schema::PhotoSize []

pub enum PhotoSize {
    photoSizeEmpty {
        type_: String,
    },
    photoSize {
        type_: String,
        location: FileLocation,
        w: i32,
        h: i32,
        size: i32,
    },
    photoCachedSize {
        type_: String,
        location: FileLocation,
        w: i32,
        h: i32,
        bytes: Vec<u8>,
    },
}

Variants

Fields of photoSizeEmpty

Fields of photoSize

Fields of photoCachedSize

Trait Implementations

impl Debug for PhotoSize
[src]

Formats the value using the given formatter.

impl Serialize for PhotoSize

Serialize to the passed buffer.