Struct botapi::gen_types::BotCommandScopeAllPrivateChats
source · pub struct BotCommandScopeAllPrivateChats { /* private fields */ }Expand description
Represents the scope of bot commands, covering all private chats.
Implementations§
source§impl BotCommandScopeAllPrivateChats
impl BotCommandScopeAllPrivateChats
pub fn noskip(self) -> NoSkipBotCommandScopeAllPrivateChats
source§impl BotCommandScopeAllPrivateChats
impl BotCommandScopeAllPrivateChats
pub fn new() -> Self
sourcepub fn get_tg_type<'a>(&'a self) -> &'a str
pub fn get_tg_type<'a>(&'a self) -> &'a str
Scope type, must be all_private_chats
Trait Implementations§
source§impl Clone for BotCommandScopeAllPrivateChats
impl Clone for BotCommandScopeAllPrivateChats
source§fn clone(&self) -> BotCommandScopeAllPrivateChats
fn clone(&self) -> BotCommandScopeAllPrivateChats
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 Default for BotCommandScopeAllPrivateChats
impl Default for BotCommandScopeAllPrivateChats
source§fn default() -> BotCommandScopeAllPrivateChats
fn default() -> BotCommandScopeAllPrivateChats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BotCommandScopeAllPrivateChats
impl<'de> Deserialize<'de> for BotCommandScopeAllPrivateChats
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<NoSkipBotCommandScopeAllPrivateChats> for BotCommandScopeAllPrivateChats
impl From<NoSkipBotCommandScopeAllPrivateChats> for BotCommandScopeAllPrivateChats
source§fn from(t: NoSkipBotCommandScopeAllPrivateChats) -> Self
fn from(t: NoSkipBotCommandScopeAllPrivateChats) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipBotCommandScopeAllPrivateChats> for BotCommandScopeAllPrivateChats
impl Into<NoSkipBotCommandScopeAllPrivateChats> for BotCommandScopeAllPrivateChats
source§fn into(self) -> NoSkipBotCommandScopeAllPrivateChats
fn into(self) -> NoSkipBotCommandScopeAllPrivateChats
Converts this type into the (usually inferred) input type.