Struct telegram_bot_api::types::UserProfilePhotos
source · [−]Expand description
This object represent a user’s profile pictures.
Fields
total_count: i64
Total number of profile pictures the target user has
photos: Vec<Vec<PhotoSize>>
Requested profile pictures (in up to 4 sizes each)
Implementations
Trait Implementations
sourceimpl Clone for UserProfilePhotos
impl Clone for UserProfilePhotos
sourcefn clone(&self) -> UserProfilePhotos
fn clone(&self) -> UserProfilePhotos
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UserProfilePhotos
impl Debug for UserProfilePhotos
sourceimpl<'de> Deserialize<'de> for UserProfilePhotos
impl<'de> Deserialize<'de> for UserProfilePhotos
sourcefn 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
sourceimpl Serialize for UserProfilePhotos
impl Serialize for UserProfilePhotos
Auto Trait Implementations
impl RefUnwindSafe for UserProfilePhotos
impl Send for UserProfilePhotos
impl Sync for UserProfilePhotos
impl Unpin for UserProfilePhotos
impl UnwindSafe for UserProfilePhotos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more