pub struct NoSkipUserProfilePhotos {
pub total_count: i64,
pub photos: Vec<Vec<PhotoSize>>,
}Expand description
Companion type to UserProfilePhotos that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§total_count: i64Total number of profile pictures the target user has
photos: Vec<Vec<PhotoSize>>Requested profile pictures (in up to 4 sizes each)
Implementations§
Source§impl NoSkipUserProfilePhotos
impl NoSkipUserProfilePhotos
pub fn skip(self) -> UserProfilePhotos
Trait Implementations§
Source§impl Clone for NoSkipUserProfilePhotos
impl Clone for NoSkipUserProfilePhotos
Source§fn clone(&self) -> NoSkipUserProfilePhotos
fn clone(&self) -> NoSkipUserProfilePhotos
Returns a duplicate 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 NoSkipUserProfilePhotos
impl Debug for NoSkipUserProfilePhotos
Source§impl Default for NoSkipUserProfilePhotos
impl Default for NoSkipUserProfilePhotos
Source§fn default() -> NoSkipUserProfilePhotos
fn default() -> NoSkipUserProfilePhotos
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipUserProfilePhotos
impl<'de> Deserialize<'de> for NoSkipUserProfilePhotos
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 From<NoSkipUserProfilePhotos> for UserProfilePhotos
impl From<NoSkipUserProfilePhotos> for UserProfilePhotos
Source§fn from(t: NoSkipUserProfilePhotos) -> Self
fn from(t: NoSkipUserProfilePhotos) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipUserProfilePhotos
impl Hash for NoSkipUserProfilePhotos
Source§impl Into<NoSkipUserProfilePhotos> for UserProfilePhotos
impl Into<NoSkipUserProfilePhotos> for UserProfilePhotos
Source§fn into(self) -> NoSkipUserProfilePhotos
fn into(self) -> NoSkipUserProfilePhotos
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipUserProfilePhotos
impl Ord for NoSkipUserProfilePhotos
Source§fn cmp(&self, other: &NoSkipUserProfilePhotos) -> Ordering
fn cmp(&self, other: &NoSkipUserProfilePhotos) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoSkipUserProfilePhotos
impl PartialEq for NoSkipUserProfilePhotos
Source§impl PartialOrd for NoSkipUserProfilePhotos
impl PartialOrd for NoSkipUserProfilePhotos
Source§impl Serialize for NoSkipUserProfilePhotos
impl Serialize for NoSkipUserProfilePhotos
impl Eq for NoSkipUserProfilePhotos
impl StructuralPartialEq for NoSkipUserProfilePhotos
Auto Trait Implementations§
impl Freeze for NoSkipUserProfilePhotos
impl RefUnwindSafe for NoSkipUserProfilePhotos
impl Send for NoSkipUserProfilePhotos
impl Sync for NoSkipUserProfilePhotos
impl Unpin for NoSkipUserProfilePhotos
impl UnsafeUnpin for NoSkipUserProfilePhotos
impl UnwindSafe for NoSkipUserProfilePhotos
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.