pub struct ToTimedeltaOptions<'a> {
pub unit: Option<&'a str>,
pub errors: ToTimedeltaErrors,
}Expand description
Options for to_timedelta conversion.
Fields§
§unit: Option<&'a str>§errors: ToTimedeltaErrorsTrait Implementations§
Source§impl<'a> Clone for ToTimedeltaOptions<'a>
impl<'a> Clone for ToTimedeltaOptions<'a>
Source§fn clone(&self) -> ToTimedeltaOptions<'a>
fn clone(&self) -> ToTimedeltaOptions<'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 ToTimedeltaOptions<'a>
Source§impl<'a> Debug for ToTimedeltaOptions<'a>
impl<'a> Debug for ToTimedeltaOptions<'a>
Source§impl<'a> Default for ToTimedeltaOptions<'a>
impl<'a> Default for ToTimedeltaOptions<'a>
Source§fn default() -> ToTimedeltaOptions<'a>
fn default() -> ToTimedeltaOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ToTimedeltaOptions<'a>
impl<'a> RefUnwindSafe for ToTimedeltaOptions<'a>
impl<'a> Send for ToTimedeltaOptions<'a>
impl<'a> Sync for ToTimedeltaOptions<'a>
impl<'a> Unpin for ToTimedeltaOptions<'a>
impl<'a> UnsafeUnpin for ToTimedeltaOptions<'a>
impl<'a> UnwindSafe for ToTimedeltaOptions<'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