pub struct CellDateTime {
pub serial: f64,
pub is_1904: bool,
pub kind: DateTimeKind,
pub iso: Option<String>,
}Expand description
Spreadsheet-serial date/time value captured from calamine.
serial is the Excel date serial (days since 1900-01-00 or 1904-01-01).
is_1904 distinguishes the two date systems.
iso is populated when calamine provides an ISO string directly or when the
chrono feature can synthesize one.
Fields§
§serial: f64§is_1904: bool§kind: DateTimeKind§iso: Option<String>Trait Implementations§
Source§impl Clone for CellDateTime
impl Clone for CellDateTime
Source§fn clone(&self) -> CellDateTime
fn clone(&self) -> CellDateTime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CellDateTime
impl Debug for CellDateTime
Source§impl PartialEq for CellDateTime
impl PartialEq for CellDateTime
Source§fn eq(&self, other: &CellDateTime) -> bool
fn eq(&self, other: &CellDateTime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CellDateTime
Auto Trait Implementations§
impl Freeze for CellDateTime
impl RefUnwindSafe for CellDateTime
impl Send for CellDateTime
impl Sync for CellDateTime
impl Unpin for CellDateTime
impl UnsafeUnpin for CellDateTime
impl UnwindSafe for CellDateTime
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