pub enum GeneralizedTimeAllowedTimezone {
Any,
Z,
}
Expand description
Timezone formats of GeneralizedTime to allow.
X.690 allows GeneralizedTime to have multiple timezone formats. However, various RFCs restrict which formats are allowed. This enumeration exists to express which formats should be allowed by a parser.
Variants§
Trait Implementations§
source§impl Clone for GeneralizedTimeAllowedTimezone
impl Clone for GeneralizedTimeAllowedTimezone
source§fn clone(&self) -> GeneralizedTimeAllowedTimezone
fn clone(&self) -> GeneralizedTimeAllowedTimezone
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 PartialEq for GeneralizedTimeAllowedTimezone
impl PartialEq for GeneralizedTimeAllowedTimezone
source§fn eq(&self, other: &GeneralizedTimeAllowedTimezone) -> bool
fn eq(&self, other: &GeneralizedTimeAllowedTimezone) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GeneralizedTimeAllowedTimezone
impl Eq for GeneralizedTimeAllowedTimezone
impl StructuralEq for GeneralizedTimeAllowedTimezone
impl StructuralPartialEq for GeneralizedTimeAllowedTimezone
Auto Trait Implementations§
impl RefUnwindSafe for GeneralizedTimeAllowedTimezone
impl Send for GeneralizedTimeAllowedTimezone
impl Sync for GeneralizedTimeAllowedTimezone
impl Unpin for GeneralizedTimeAllowedTimezone
impl UnwindSafe for GeneralizedTimeAllowedTimezone
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