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