pub enum BotCommand {
BotCommand(BotCommand),
}Expand description
Variants§
BotCommand(BotCommand)
Trait Implementations§
Source§impl Clone for BotCommand
impl Clone for BotCommand
Source§fn clone(&self) -> BotCommand
fn clone(&self) -> BotCommand
Returns a duplicate 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 BotCommand
impl Debug for BotCommand
Source§impl Deserializable for BotCommand
impl Deserializable for BotCommand
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<BotCommand> for BotCommand
impl From<BotCommand> for BotCommand
Source§fn from(x: BotCommand) -> Self
fn from(x: BotCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BotCommand
impl PartialEq for BotCommand
Source§impl Serializable for BotCommand
impl Serializable for BotCommand
Source§impl TryFrom<BotCommand> for BotCommand
impl TryFrom<BotCommand> for BotCommand
Source§type Error = BotCommand
type Error = BotCommand
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotCommand
Auto Trait Implementations§
impl Freeze for BotCommand
impl RefUnwindSafe for BotCommand
impl Send for BotCommand
impl Sync for BotCommand
impl Unpin for BotCommand
impl UnsafeUnpin for BotCommand
impl UnwindSafe for BotCommand
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