Struct telegram_bot2::models::UserProfilePhotos
source · pub struct UserProfilePhotos {
pub total_count: i64,
pub photos: Vec<PhotoSize>,
}Expand description
This object represent a user’s profile pictures.
Fields§
§total_count: i64Total number of profile pictures the target user has
photos: Vec<PhotoSize>Requested profile pictures (in up to 4 sizes each)
Trait Implementations§
source§impl Clone for UserProfilePhotos
impl Clone for UserProfilePhotos
source§fn clone(&self) -> UserProfilePhotos
fn clone(&self) -> UserProfilePhotos
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UserProfilePhotos
impl Debug for UserProfilePhotos
source§impl<'de> Deserialize<'de> for UserProfilePhotos
impl<'de> Deserialize<'de> for UserProfilePhotos
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more