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§
source§impl PartialEq<TimeDiff> for TimeDiff
impl PartialEq<TimeDiff> for TimeDiff
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§
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