Enum frankenstein::api_params::BotCommandScope [−][src]
pub enum BotCommandScope {
Default,
AllPrivateChats,
AllGroupChats,
AllChatAdministrators,
Chat(BotCommandScopeChat),
ChatAdministrators(BotCommandScopeChatAdministrators),
ChatMember(BotCommandScopeChatMember),
}
Variants
Chat(BotCommandScopeChat)
Tuple Fields of Chat
ChatAdministrators(BotCommandScopeChatAdministrators)
Tuple Fields of ChatAdministrators
ChatMember(BotCommandScopeChatMember)
Tuple Fields of ChatMember
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BotCommandScope
impl Send for BotCommandScope
impl Sync for BotCommandScope
impl Unpin for BotCommandScope
impl UnwindSafe for BotCommandScope
Blanket Implementations
Mutably borrows from an owned value. Read more