pub struct TableProps {
pub columns: Vec<Column>,
pub data_path: String,
pub row_actions: Option<Vec<Action>>,
pub empty_message: Option<String>,
pub sortable: Option<bool>,
pub sort_column: Option<String>,
pub sort_direction: Option<SortDirection>,
}Expand description
Props for Table component.
Fields§
§columns: Vec<Column>§data_path: String§row_actions: Option<Vec<Action>>§empty_message: Option<String>§sortable: Option<bool>§sort_column: Option<String>§sort_direction: Option<SortDirection>Trait Implementations§
Source§impl Clone for TableProps
impl Clone for TableProps
Source§fn clone(&self) -> TableProps
fn clone(&self) -> TableProps
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 TableProps
impl Debug for TableProps
Source§impl<'de> Deserialize<'de> for TableProps
impl<'de> Deserialize<'de> for TableProps
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 TableProps
impl PartialEq for TableProps
Source§impl Serialize for TableProps
impl Serialize for TableProps
impl StructuralPartialEq for TableProps
Auto Trait Implementations§
impl Freeze for TableProps
impl RefUnwindSafe for TableProps
impl Send for TableProps
impl Sync for TableProps
impl Unpin for TableProps
impl UnsafeUnpin for TableProps
impl UnwindSafe for TableProps
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