Struct pikadick::commands::rule34::Rule34Options
source · pub struct Rule34Options {
query: String,
}
Expand description
Options for the rule34 command
Fields§
§query: String
Trait Implementations§
source§impl Debug for Rule34Options
impl Debug for Rule34Options
source§impl FromOptions for Rule34Options
impl FromOptions for Rule34Options
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 Rule34Options
impl Send for Rule34Options
impl Sync for Rule34Options
impl Unpin for Rule34Options
impl UnwindSafe for Rule34Options
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