pub enum CellType {
String,
Date,
Boolean,
Number,
}Expand description
The data type of a cell value.
Pass a slice of CellType as type_hints to Sheet::write_row to
control how each column is encoded in the XLSX file. When in doubt, use
CellType::String.
Variants§
String
Plain text. Written as <c t="str">.
Date
Date/time stored as a number with a date format applied. Written as <c t="n" s="1">.
Boolean
Boolean. Written as <c t="b">.
Number
Numeric (integer or float). Written as <c t="n">.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CellType
impl RefUnwindSafe for CellType
impl Send for CellType
impl Sync for CellType
impl Unpin for CellType
impl UnsafeUnpin for CellType
impl UnwindSafe for CellType
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