Enum frankenstein::api_params::BotCommandScope
source · pub enum BotCommandScope {
Default,
AllPrivateChats,
AllGroupChats,
AllChatAdministrators,
Chat(BotCommandScopeChat),
ChatAdministrators(BotCommandScopeChatAdministrators),
ChatMember(BotCommandScopeChatMember),
}
Variants§
Default
AllPrivateChats
AllGroupChats
AllChatAdministrators
Chat(BotCommandScopeChat)
ChatAdministrators(BotCommandScopeChatAdministrators)
ChatMember(BotCommandScopeChatMember)
Trait Implementations§
source§impl Clone for BotCommandScope
impl Clone for BotCommandScope
source§fn clone(&self) -> BotCommandScope
fn clone(&self) -> BotCommandScope
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 BotCommandScope
impl Debug for BotCommandScope
source§impl<'de> Deserialize<'de> for BotCommandScope
impl<'de> Deserialize<'de> for BotCommandScope
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 PartialEq for BotCommandScope
impl PartialEq for BotCommandScope
source§fn eq(&self, other: &BotCommandScope) -> bool
fn eq(&self, other: &BotCommandScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BotCommandScope
impl Serialize for BotCommandScope
impl Eq for BotCommandScope
impl StructuralPartialEq for BotCommandScope
Auto Trait Implementations§
impl Freeze for BotCommandScope
impl RefUnwindSafe for BotCommandScope
impl Send for BotCommandScope
impl Sync for BotCommandScope
impl Unpin for BotCommandScope
impl UnwindSafe for BotCommandScope
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