pub struct CardProps {
pub title: String,
pub description: Option<String>,
pub children: Vec<ComponentNode>,
pub footer: Vec<ComponentNode>,
pub max_width: Option<FormMaxWidth>,
}Expand description
Props for Card component.
Fields§
§title: String§description: Option<String>§children: Vec<ComponentNode>§max_width: Option<FormMaxWidth>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CardProps
impl<'de> Deserialize<'de> for CardProps
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
impl StructuralPartialEq for CardProps
Auto Trait Implementations§
impl Freeze for CardProps
impl RefUnwindSafe for CardProps
impl Send for CardProps
impl Sync for CardProps
impl Unpin for CardProps
impl UnsafeUnpin for CardProps
impl UnwindSafe for CardProps
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