pub struct ToDatetimeOptions<'a> {
pub format: Option<&'a str>,
pub unit: Option<&'a str>,
pub utc: bool,
pub origin: Option<ToDatetimeOrigin<'a>>,
pub infer_mixed_timezone: bool,
}Fields§
§format: Option<&'a str>§unit: Option<&'a str>§utc: bool§origin: Option<ToDatetimeOrigin<'a>>§infer_mixed_timezone: boolTrait Implementations§
Source§impl<'a> Clone for ToDatetimeOptions<'a>
impl<'a> Clone for ToDatetimeOptions<'a>
Source§fn clone(&self) -> ToDatetimeOptions<'a>
fn clone(&self) -> ToDatetimeOptions<'a>
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 moreimpl<'a> Copy for ToDatetimeOptions<'a>
Source§impl<'a> Debug for ToDatetimeOptions<'a>
impl<'a> Debug for ToDatetimeOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ToDatetimeOptions<'a>
impl<'a> RefUnwindSafe for ToDatetimeOptions<'a>
impl<'a> Send for ToDatetimeOptions<'a>
impl<'a> Sync for ToDatetimeOptions<'a>
impl<'a> Unpin for ToDatetimeOptions<'a>
impl<'a> UnsafeUnpin for ToDatetimeOptions<'a>
impl<'a> UnwindSafe for ToDatetimeOptions<'a>
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