Enum asn1_rs::ASN1TimeZone
source · pub enum ASN1TimeZone {
Undefined,
Z,
Offset(i8, i8),
}
Variants§
Undefined
No timezone provided
Z
Coordinated universal time
Offset(i8, i8)
Local zone, with offset to coordinated universal time
(offset_hour, offset_minute)
Trait Implementations§
source§impl Clone for ASN1TimeZone
impl Clone for ASN1TimeZone
source§fn clone(&self) -> ASN1TimeZone
fn clone(&self) -> ASN1TimeZone
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ASN1TimeZone
impl Debug for ASN1TimeZone
source§impl Ord for ASN1TimeZone
impl Ord for ASN1TimeZone
source§fn cmp(&self, other: &ASN1TimeZone) -> Ordering
fn cmp(&self, other: &ASN1TimeZone) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ASN1TimeZone
impl PartialEq for ASN1TimeZone
source§impl PartialOrd for ASN1TimeZone
impl PartialOrd for ASN1TimeZone
impl Copy for ASN1TimeZone
impl Eq for ASN1TimeZone
impl StructuralPartialEq for ASN1TimeZone
Auto Trait Implementations§
impl Freeze for ASN1TimeZone
impl RefUnwindSafe for ASN1TimeZone
impl Send for ASN1TimeZone
impl Sync for ASN1TimeZone
impl Unpin for ASN1TimeZone
impl UnwindSafe for ASN1TimeZone
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
)