Enum telegram::schema::UserProfilePhoto
[−]
pub enum UserProfilePhoto { userProfilePhotoEmpty, userProfilePhoto { photo_id: i64, photo_small: FileLocation, photo_big: FileLocation, }, }
Variants
userProfilePhotoEmpty
userProfilePhoto
Fields of userProfilePhoto
photo_id: i64 | |
photo_small: FileLocation | |
photo_big: FileLocation |
Trait Implementations
impl Debug for UserProfilePhoto
[src]
impl Serialize for UserProfilePhoto
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.