Struct teloxide::utils::command::CommandDescription
source · pub struct CommandDescription<'a> {
pub prefix: &'a str,
pub command: &'a str,
pub description: &'a str,
}
Expand description
Description of a particular command, used in CommandDescriptions
.
Fields§
§prefix: &'a str
Prefix of the command, usually /
.
command: &'a str
The command itself, e.g. start
.
description: &'a str
Human-readable description of the command.
Trait Implementations§
source§impl<'a> Clone for CommandDescription<'a>
impl<'a> Clone for CommandDescription<'a>
source§fn clone(&self) -> CommandDescription<'a>
fn clone(&self) -> CommandDescription<'a>
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 more