pub struct CommandArgs(pub String);Expand description
Command arguments extractor (Telegram-style string args)
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for CommandArgs
impl Clone for CommandArgs
Source§fn clone(&self) -> CommandArgs
fn clone(&self) -> CommandArgs
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 CommandArgs
impl Debug for CommandArgs
Source§impl FromContext for CommandArgs
impl FromContext for CommandArgs
Source§async fn from_context(ctx: &Context) -> Self
async fn from_context(ctx: &Context) -> Self
Extract data from the context
Auto Trait Implementations§
impl Freeze for CommandArgs
impl RefUnwindSafe for CommandArgs
impl Send for CommandArgs
impl Sync for CommandArgs
impl Unpin for CommandArgs
impl UnsafeUnpin for CommandArgs
impl UnwindSafe for CommandArgs
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