pub struct ModalInteractionLabel {
pub id: i32,
pub component: Box<ModalInteractionComponent>,
}Expand description
User filled in Label.
Fields§
§id: i32Unique identifier for the component.
component: Box<ModalInteractionComponent>Child component within the label.
Trait Implementations§
Source§impl Clone for ModalInteractionLabel
impl Clone for ModalInteractionLabel
Source§fn clone(&self) -> ModalInteractionLabel
fn clone(&self) -> ModalInteractionLabel
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 Debug for ModalInteractionLabel
impl Debug 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 Eq for ModalInteractionLabel
impl StructuralPartialEq for ModalInteractionLabel
Auto Trait Implementations§
impl Freeze for ModalInteractionLabel
impl RefUnwindSafe for ModalInteractionLabel
impl Send for ModalInteractionLabel
impl Sync for ModalInteractionLabel
impl Unpin for ModalInteractionLabel
impl UnwindSafe for ModalInteractionLabel
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