Struct botapi::gen_types::NoSkipChatLocation
source · pub struct NoSkipChatLocation { /* private fields */ }Expand description
Companion type to ChatLocation that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Implementations§
source§impl NoSkipChatLocation
impl NoSkipChatLocation
pub fn skip(self) -> ChatLocation
Trait Implementations§
source§impl Clone for NoSkipChatLocation
impl Clone for NoSkipChatLocation
source§fn clone(&self) -> NoSkipChatLocation
fn clone(&self) -> NoSkipChatLocation
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 NoSkipChatLocation
impl Debug for NoSkipChatLocation
source§impl Default for NoSkipChatLocation
impl Default for NoSkipChatLocation
source§fn default() -> NoSkipChatLocation
fn default() -> NoSkipChatLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipChatLocation
impl<'de> Deserialize<'de> for NoSkipChatLocation
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<NoSkipChatLocation> for ChatLocation
impl From<NoSkipChatLocation> for ChatLocation
source§fn from(t: NoSkipChatLocation) -> Self
fn from(t: NoSkipChatLocation) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipChatLocation> for ChatLocation
impl Into<NoSkipChatLocation> for ChatLocation
source§fn into(self) -> NoSkipChatLocation
fn into(self) -> NoSkipChatLocation
Converts this type into the (usually inferred) input type.