pub struct SlashCommandOutputSection {
pub range: Range,
pub label: String,
}Expand description
A section in the slash command output.
Fields§
§range: RangeThe range this section occupies.
label: StringThe label to display in the placeholder for this section.
Trait Implementations§
Source§impl Clone for SlashCommandOutputSection
impl Clone for SlashCommandOutputSection
Source§fn clone(&self) -> SlashCommandOutputSection
fn clone(&self) -> SlashCommandOutputSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlashCommandOutputSection
impl RefUnwindSafe for SlashCommandOutputSection
impl Send for SlashCommandOutputSection
impl Sync for SlashCommandOutputSection
impl Unpin for SlashCommandOutputSection
impl UnsafeUnpin for SlashCommandOutputSection
impl UnwindSafe for SlashCommandOutputSection
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