Struct pikadick::commands::HelpCommandOptions
source · pub struct HelpCommandOptions {
pub command: Option<String>,
}
Expand description
Help Options
Fields§
§command: Option<String>
The command
Trait Implementations§
source§impl Debug for HelpCommandOptions
impl Debug for HelpCommandOptions
source§impl FromOptions for HelpCommandOptions
impl FromOptions for HelpCommandOptions
source§fn from_options(interaction: &CommandInteraction) -> Result<Self, ConvertError>
fn from_options(interaction: &CommandInteraction) -> Result<Self, ConvertError>
Make arguments from a
CommandInteraction
source§fn get_argument_params() -> Result<Vec<ArgumentParam>, BuilderError>
fn get_argument_params() -> Result<Vec<ArgumentParam>, BuilderError>
Get the argument paramss of this object
Auto Trait Implementations§
impl RefUnwindSafe for HelpCommandOptions
impl Send for HelpCommandOptions
impl Sync for HelpCommandOptions
impl Unpin for HelpCommandOptions
impl UnwindSafe for HelpCommandOptions
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request