pub struct InteractionAutocomplete {
pub interaction_id: InteractionId,
pub choices: Vec<Choice>,
}Expand description
interaction.autocomplete: suggestions, to the invoker only.
Fields§
§interaction_id: InteractionIdThe interaction.
choices: Vec<Choice>≤ 25.
Trait Implementations§
Source§impl Clone for InteractionAutocomplete
impl Clone for InteractionAutocomplete
Source§fn clone(&self) -> InteractionAutocomplete
fn clone(&self) -> InteractionAutocomplete
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 moreSource§impl Debug for InteractionAutocomplete
impl Debug for InteractionAutocomplete
Source§impl<'de> Deserialize<'de> for InteractionAutocomplete
impl<'de> Deserialize<'de> for InteractionAutocomplete
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InteractionAutocomplete
impl PartialEq for InteractionAutocomplete
Source§impl Serialize for InteractionAutocomplete
impl Serialize for InteractionAutocomplete
impl StructuralPartialEq for InteractionAutocomplete
Auto Trait Implementations§
impl Freeze for InteractionAutocomplete
impl RefUnwindSafe for InteractionAutocomplete
impl Send for InteractionAutocomplete
impl Sync for InteractionAutocomplete
impl Unpin for InteractionAutocomplete
impl UnsafeUnpin for InteractionAutocomplete
impl UnwindSafe for InteractionAutocomplete
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