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§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
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.
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 UnsafeUnpin 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