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§
impl Eq for ModalInteractionCheckboxGroup
Source§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.
impl StructuralPartialEq for ModalInteractionCheckboxGroup
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.
Auto Trait Implementations§
impl Forget for ModalInteractionCheckboxGroup
impl Freeze for ModalInteractionCheckboxGroup
impl Move for ModalInteractionCheckboxGroup
impl RefUnwindSafe for ModalInteractionCheckboxGroup
impl Send for ModalInteractionCheckboxGroupwhere
RawVecInner: Send,
impl Sync for ModalInteractionCheckboxGroupwhere
RawVecInner: Sync,
impl Unpin for ModalInteractionCheckboxGroup
impl UnsafeUnpin for ModalInteractionCheckboxGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ModalInteractionCheckboxGroupwhere
RawVecInner: UnwindSafe,
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