Struct tbot::types::user::ProfilePhotos
source · #[non_exhaustive]pub struct ProfilePhotos {
pub total_count: u32,
pub photos: Vec<Vec<PhotoSize>>,
}
Expand description
Represents UserProfilePhotos
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.total_count: u32
Overall amount of photos of the user.
photos: Vec<Vec<PhotoSize>>
Vector of photos in different sizes.
Trait Implementations§
source§impl Clone for ProfilePhotos
impl Clone for ProfilePhotos
source§fn clone(&self) -> ProfilePhotos
fn clone(&self) -> ProfilePhotos
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 ProfilePhotos
impl Debug for ProfilePhotos
source§impl<'de> Deserialize<'de> for ProfilePhotos
impl<'de> Deserialize<'de> for ProfilePhotos
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
source§impl Hash for ProfilePhotos
impl Hash for ProfilePhotos
source§impl PartialEq<ProfilePhotos> for ProfilePhotos
impl PartialEq<ProfilePhotos> for ProfilePhotos
source§fn eq(&self, other: &ProfilePhotos) -> bool
fn eq(&self, other: &ProfilePhotos) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.