pub struct Column {
pub key: Arc<str>,
pub format: Format,
pub default: Option<Value>,
pub date_only: bool,
pub euro_number_format: bool,
}Fields§
§key: Arc<str>§format: Format§default: Option<Value>§date_only: bool§euro_number_format: boolImplementations§
Source§impl Column
impl Column
Sourcepub fn from_key_index(key_opt: Option<&str>, index: usize) -> Self
pub fn from_key_index(key_opt: Option<&str>, index: usize) -> Self
build from core options and sheet index only
pub fn from_key_custom( key_opt: Option<&str>, index: usize, date_only: bool, euro_number_format: bool, ) -> Self
pub fn from_key_ref_with_format( key_opt: Option<&str>, index: usize, format: Format, default: Option<Value>, date_only: bool, euro_number_format: bool, ) -> Self
pub fn to_json(&self) -> Value
pub fn to_line(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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