pub struct TimeDiff {
pub days: c_int,
pub secs: c_int,
}
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 StructuralPartialEq for TimeDiff
Auto Trait Implementations§
impl Freeze for TimeDiff
impl RefUnwindSafe for TimeDiff
impl Send for TimeDiff
impl Sync for TimeDiff
impl Unpin for TimeDiff
impl UnwindSafe for TimeDiff
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)