pub struct SlashCommandOutput {
pub text: String,
pub sections: Vec<SlashCommandOutputSection>,
}Expand description
The output of a slash command.
Fields§
§text: StringThe text produced by the slash command.
sections: Vec<SlashCommandOutputSection>The list of sections to show in the slash command placeholder.
Trait Implementations§
Source§impl Clone for SlashCommandOutput
impl Clone for SlashCommandOutput
Source§fn clone(&self) -> SlashCommandOutput
fn clone(&self) -> SlashCommandOutput
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 moreAuto Trait Implementations§
impl Freeze for SlashCommandOutput
impl RefUnwindSafe for SlashCommandOutput
impl Send for SlashCommandOutput
impl Sync for SlashCommandOutput
impl Unpin for SlashCommandOutput
impl UnwindSafe for SlashCommandOutput
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