#[non_exhaustive]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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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