pub struct ModalProps {
pub id: String,
pub title: String,
pub description: Option<String>,
pub children: Vec<ComponentNode>,
pub footer: Vec<ComponentNode>,
pub trigger_label: Option<String>,
}Expand description
Props for Modal component.
Fields§
§id: String§title: String§description: Option<String>§children: Vec<ComponentNode>§trigger_label: Option<String>Trait Implementations§
Source§impl Clone for ModalProps
impl Clone for ModalProps
Source§fn clone(&self) -> ModalProps
fn clone(&self) -> ModalProps
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 ModalProps
impl Debug for ModalProps
Source§impl<'de> Deserialize<'de> for ModalProps
impl<'de> Deserialize<'de> for ModalProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModalProps
impl PartialEq for ModalProps
Source§impl Serialize for ModalProps
impl Serialize for ModalProps
impl StructuralPartialEq for ModalProps
Auto Trait Implementations§
impl Freeze for ModalProps
impl RefUnwindSafe for ModalProps
impl Send for ModalProps
impl Sync for ModalProps
impl Unpin for ModalProps
impl UnsafeUnpin for ModalProps
impl UnwindSafe for ModalProps
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