pub struct DisplayConfig {
pub preview_rows: usize,
pub show_column_numbers: bool,
pub show_row_numbers: bool,
pub truncate_long_values: bool,
pub max_cell_length: usize,
pub show_data_types: bool,
}Expand description
Display configuration for the spreadsheet viewer
Fields§
§preview_rows: usizeNumber of preview rows
show_column_numbers: boolShow column numbers
show_row_numbers: boolShow row numbers
truncate_long_values: boolTruncate long cell values
max_cell_length: usizeMaximum cell value length before truncation
show_data_types: boolShow data type indicators
Trait Implementations§
Source§impl Clone for DisplayConfig
impl Clone for DisplayConfig
Source§fn clone(&self) -> DisplayConfig
fn clone(&self) -> DisplayConfig
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 DisplayConfig
impl Debug for DisplayConfig
Source§impl Default for DisplayConfig
Default configuration
impl Default for DisplayConfig
Default configuration
Source§impl<'de> Deserialize<'de> for DisplayConfig
impl<'de> Deserialize<'de> for DisplayConfig
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 DisplayConfig
impl RefUnwindSafe for DisplayConfig
impl Send for DisplayConfig
impl Sync for DisplayConfig
impl Unpin for DisplayConfig
impl UnsafeUnpin for DisplayConfig
impl UnwindSafe for DisplayConfig
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