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
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for GeneralizedTimeAllowedTimezone
impl Eq for GeneralizedTimeAllowedTimezone
impl StructuralPartialEq for GeneralizedTimeAllowedTimezone
Auto Trait Implementations§
impl Freeze for GeneralizedTimeAllowedTimezone
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
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
)