pub struct ColumnDefinition {
pub id: String,
pub label: String,
pub description: Option<String>,
pub field_path: String,
pub data_type: ColumnDataType,
pub renderer: CellRenderer,
pub visibility: ColumnVisibility,
pub default_visible: bool,
pub width: Option<u32>,
pub sortable: bool,
pub filterable: bool,
pub align: Option<String>,
}Fields§
§id: String§label: String§description: Option<String>§field_path: String§data_type: ColumnDataType§renderer: CellRenderer§visibility: ColumnVisibility§default_visible: bool§width: Option<u32>§sortable: bool§filterable: bool§align: Option<String>Trait Implementations§
Source§impl Clone for ColumnDefinition
impl Clone for ColumnDefinition
Source§fn clone(&self) -> ColumnDefinition
fn clone(&self) -> ColumnDefinition
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 ColumnDefinition
impl Debug for ColumnDefinition
Source§impl<'de> Deserialize<'de> for ColumnDefinition
impl<'de> Deserialize<'de> for ColumnDefinition
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
Auto Trait Implementations§
impl Freeze for ColumnDefinition
impl RefUnwindSafe for ColumnDefinition
impl Send for ColumnDefinition
impl Sync for ColumnDefinition
impl Unpin for ColumnDefinition
impl UnwindSafe for ColumnDefinition
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