pub enum Component {
Show 40 variants
Card(CardProps),
Table(TableProps),
Form(FormProps),
Button(ButtonProps),
Input(InputProps),
Select(SelectProps),
Alert(AlertProps),
Badge(BadgeProps),
Modal(ModalProps),
Text(TextProps),
Checkbox(CheckboxProps),
Switch(SwitchProps),
Separator(SeparatorProps),
DescriptionList(DescriptionListProps),
Tabs(TabsProps),
Breadcrumb(BreadcrumbProps),
Pagination(PaginationProps),
Progress(ProgressProps),
Avatar(AvatarProps),
Skeleton(SkeletonProps),
StatCard(StatCardProps),
Checklist(ChecklistProps),
Toast(ToastProps),
NotificationDropdown(NotificationDropdownProps),
Sidebar(SidebarProps),
Header(HeaderProps),
Grid(GridProps),
Collapsible(CollapsibleProps),
EmptyState(EmptyStateProps),
FormSection(FormSectionProps),
PageHeader(PageHeaderProps),
ButtonGroup(ButtonGroupProps),
DropdownMenu(DropdownMenuProps),
KanbanBoard(KanbanBoardProps),
CalendarCell(CalendarCellProps),
ActionCard(ActionCardProps),
ProductTile(ProductTileProps),
DataTable(DataTableProps),
Image(ImageProps),
Plugin(PluginProps),
}Expand description
Component catalog enum. Built-in types are deserialized by name,
unknown types fall through to the Plugin variant.
Serializes built-in variants with "type": "Card" etc. The Plugin
variant serializes with the plugin’s own type name.
Variants§
Card(CardProps)
Table(TableProps)
Form(FormProps)
Button(ButtonProps)
Input(InputProps)
Select(SelectProps)
Alert(AlertProps)
Badge(BadgeProps)
Modal(ModalProps)
Text(TextProps)
Checkbox(CheckboxProps)
Switch(SwitchProps)
Separator(SeparatorProps)
DescriptionList(DescriptionListProps)
Tabs(TabsProps)
Breadcrumb(BreadcrumbProps)
Pagination(PaginationProps)
Progress(ProgressProps)
Avatar(AvatarProps)
Skeleton(SkeletonProps)
StatCard(StatCardProps)
Checklist(ChecklistProps)
Toast(ToastProps)
NotificationDropdown(NotificationDropdownProps)
Sidebar(SidebarProps)
Header(HeaderProps)
Grid(GridProps)
Collapsible(CollapsibleProps)
EmptyState(EmptyStateProps)
FormSection(FormSectionProps)
PageHeader(PageHeaderProps)
ButtonGroup(ButtonGroupProps)
DropdownMenu(DropdownMenuProps)
KanbanBoard(KanbanBoardProps)
CalendarCell(CalendarCellProps)
ActionCard(ActionCardProps)
ProductTile(ProductTileProps)
DataTable(DataTableProps)
Image(ImageProps)
Plugin(PluginProps)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Component
impl<'de> Deserialize<'de> for Component
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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