pub struct ModalInteractionCheckboxGroup {
pub custom_id: String,
pub id: i32,
pub values: Vec<String>,
}Expand description
User filled in CheckboxGroup.
Fields§
§custom_id: String§id: i32User defined identifier for the component.
See [Discord Docs/Custom ID].
Unique identifier for the component.
values: Vec<String>Value submitted by the user.
Trait Implementations§
Source§impl Clone for ModalInteractionCheckboxGroup
impl Clone for ModalInteractionCheckboxGroup
Source§fn clone(&self) -> ModalInteractionCheckboxGroup
fn clone(&self) -> ModalInteractionCheckboxGroup
Returns a duplicate 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 moreSource§impl From<ModalInteractionCheckboxGroup> for ModalInteractionComponent
impl From<ModalInteractionCheckboxGroup> for ModalInteractionComponent
Source§fn from(checkbox_group: ModalInteractionCheckboxGroup) -> Self
fn from(checkbox_group: ModalInteractionCheckboxGroup) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModalInteractionCheckboxGroup
impl PartialEq for ModalInteractionCheckboxGroup
Source§fn eq(&self, other: &ModalInteractionCheckboxGroup) -> bool
fn eq(&self, other: &ModalInteractionCheckboxGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<ModalInteractionComponent> for ModalInteractionCheckboxGroup
impl TryFrom<ModalInteractionComponent> for ModalInteractionCheckboxGroup
Source§type Error = ModalInteractionComponent
type Error = ModalInteractionComponent
The type returned in the event of a conversion error.
impl Eq for ModalInteractionCheckboxGroup
impl StructuralPartialEq for ModalInteractionCheckboxGroup
Auto Trait Implementations§
impl Freeze for ModalInteractionCheckboxGroup
impl RefUnwindSafe for ModalInteractionCheckboxGroup
impl Send for ModalInteractionCheckboxGroup
impl Sync for ModalInteractionCheckboxGroup
impl Unpin for ModalInteractionCheckboxGroup
impl UnsafeUnpin for ModalInteractionCheckboxGroup
impl UnwindSafe for ModalInteractionCheckboxGroup
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