Enum telegram::schema::Photo
[−]
pub enum Photo { photoEmpty { id: i64, }, photo { id: i64, access_hash: i64, user_id: i32, date: i32, caption: String, geo: GeoPoint, sizes: Vec<PhotoSize>, }, }
Variants
photoEmpty
Fields of photoEmpty
id: i64 |
photo
Fields of photo
id: i64 | |
access_hash: i64 | |
user_id: i32 | |
date: i32 | |
geo: GeoPoint | |
sizes: Vec<PhotoSize> |
Trait Implementations
impl Debug for Photo
[src]
impl Serialize for Photo
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.