pub enum CellValue {
Empty,
String(String),
Int(i64),
Float(f64),
Bool(bool),
DateTime(f64),
Error(String),
Formula(String),
}Expand description
Represents a single cell value in an Excel worksheet
Variants§
Empty
Empty cell
String(String)
String value
Int(i64)
Integer value
Float(f64)
Float value
Bool(bool)
Boolean value
DateTime(f64)
DateTime value (Excel serial date number)
Error(String)
Error value
Formula(String)
Formula value (e.g., “=SUM(A1:A10)”) The formula should start with ‘=’ and use Excel formula syntax
Implementations§
Trait Implementations§
Source§impl From<CellValue> for StyledCell
impl From<CellValue> for StyledCell
impl StructuralPartialEq for CellValue
Auto Trait Implementations§
impl Freeze for CellValue
impl RefUnwindSafe for CellValue
impl Send for CellValue
impl Sync for CellValue
impl Unpin for CellValue
impl UnwindSafe for CellValue
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