Expand description
Difference between two ASN1 times.
This struct
is created by the diff
method on Asn1TimeRef
. See its
documentation for more.
Fields
days: c_int
Difference in days
secs: c_int
Difference in seconds.
This is always less than the number of seconds in a day.
Trait Implementations
impl Eq for TimeDiff
impl StructuralEq for TimeDiff
impl StructuralPartialEq for TimeDiff
Auto Trait Implementations
impl RefUnwindSafe for TimeDiff
impl Send for TimeDiff
impl Sync for TimeDiff
impl Unpin for TimeDiff
impl UnwindSafe for TimeDiff
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more