Struct botapi::gen_types::NoSkipUserProfilePhotos
source · pub struct NoSkipUserProfilePhotos { /* private fields */ }Expand description
Companion type to UserProfilePhotos that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
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 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 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 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.
Auto Trait Implementations§
impl RefUnwindSafe for NoSkipUserProfilePhotos
impl Send for NoSkipUserProfilePhotos
impl Sync for NoSkipUserProfilePhotos
impl Unpin 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