Struct pikadick::commands::tiktok_embed::TikTokEmbedOptions
source · struct TikTokEmbedOptions {
enable: Option<bool>,
delete_link: Option<bool>,
}
Expand description
Options for tiktok-embed
Fields§
§enable: Option<bool>
Whether embeds should be enabled for this server
delete_link: Option<bool>
Whether source messages should be deleted
Trait Implementations§
source§impl Debug for TikTokEmbedOptions
impl Debug for TikTokEmbedOptions
source§impl FromOptions for TikTokEmbedOptions
impl FromOptions for TikTokEmbedOptions
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 TikTokEmbedOptions
impl Send for TikTokEmbedOptions
impl Sync for TikTokEmbedOptions
impl Unpin for TikTokEmbedOptions
impl UnwindSafe for TikTokEmbedOptions
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