pub struct ModalInteractionLabel {
pub component: Box<ModalInteractionComponent>,
pub id: i32,
}Expand description
User filled in Label.
Fields§
§component: Box<ModalInteractionComponent>Child component within the label.
id: i32Unique identifier for the component.
Trait Implementations§
Source§impl Clone for ModalInteractionLabel
impl Clone for ModalInteractionLabel
Source§impl Debug for ModalInteractionLabel
impl Debug for ModalInteractionLabel
impl Eq for ModalInteractionLabel
Source§impl From<ModalInteractionLabel> for ModalInteractionComponent
impl From<ModalInteractionLabel> for ModalInteractionComponent
Source§fn from(label: ModalInteractionLabel) -> Self
fn from(label: ModalInteractionLabel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModalInteractionLabel
impl PartialEq for ModalInteractionLabel
impl StructuralPartialEq for ModalInteractionLabel
Source§impl TryFrom<ModalInteractionComponent> for ModalInteractionLabel
impl TryFrom<ModalInteractionComponent> for ModalInteractionLabel
Source§type Error = ModalInteractionComponent
type Error = ModalInteractionComponent
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ModalInteractionLabel
impl Freeze for ModalInteractionLabelwhere
*const ModalInteractionComponent is !null: Freeze,
PhantomData<ModalInteractionComponent>: Freeze,
impl Move for ModalInteractionLabel
impl RefUnwindSafe for ModalInteractionLabel
impl Send for ModalInteractionLabelwhere
BoxRaw<ModalInteractionComponent>: Send,
impl Sync for ModalInteractionLabelwhere
BoxRaw<ModalInteractionComponent>: Sync,
impl Unpin for ModalInteractionLabel
impl UnsafeUnpin for ModalInteractionLabelwhere
*const ModalInteractionComponent is !null: UnsafeUnpin,
PhantomData<ModalInteractionComponent>: UnsafeUnpin,
impl UnwindSafe for ModalInteractionLabelwhere
BoxRaw<ModalInteractionComponent>: 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