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
photoSizeEmpty
Fields of photoSizeEmpty
type_: String |
photoSize
Fields of photoSize
type_: String | |
location: FileLocation | |
w: i32 | |
h: i32 | |
size: i32 |
photoCachedSize
Fields of photoCachedSize
type_: String | |
location: FileLocation | |
w: i32 | |
h: i32 | |
bytes: Vec<u8> |
Trait Implementations
impl Debug for PhotoSize
[src]
impl Serialize for PhotoSize
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.