pub struct DateConfig {
pub timestamp_unit: TimestampUnit,
}Expand description
Configuration for parsing Date.
Fields§
§timestamp_unit: TimestampUnitHow to interpret numeric timestamps (seconds, milliseconds, etc.).
Implementations§
Source§impl DateConfig
impl DateConfig
pub fn builder() -> DateConfigBuilder
Trait Implementations§
Source§impl Clone for DateConfig
impl Clone for DateConfig
Source§fn clone(&self) -> DateConfig
fn clone(&self) -> DateConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DateConfig
impl Debug for DateConfig
Source§impl Default for DateConfig
impl Default for DateConfig
Source§fn default() -> DateConfig
fn default() -> DateConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for DateConfig
impl PartialEq for DateConfig
impl StructuralPartialEq for DateConfig
Auto Trait Implementations§
impl Freeze for DateConfig
impl RefUnwindSafe for DateConfig
impl Send for DateConfig
impl Sync for DateConfig
impl Unpin for DateConfig
impl UnwindSafe for DateConfig
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