#[non_exhaustive]pub enum AssociationType {
UtcWithoutLeap,
UtcWithLeap,
Reserved(u8),
}Expand description
Association type coding — ETSI EN 300 468 §5.2.11.4 Table 11f.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UtcWithoutLeap
0 — UTC without leap second signalling.
UtcWithLeap
1 — UTC with leap second signalling.
Reserved(u8)
2..=15 — reserved.
Implementations§
Trait Implementations§
Source§impl Clone for AssociationType
impl Clone for AssociationType
Source§fn clone(&self) -> AssociationType
fn clone(&self) -> AssociationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AssociationType
Source§impl Debug for AssociationType
impl Debug for AssociationType
Source§impl Display for AssociationType
impl Display for AssociationType
impl Eq for AssociationType
Source§impl PartialEq for AssociationType
impl PartialEq for AssociationType
Source§fn eq(&self, other: &AssociationType) -> bool
fn eq(&self, other: &AssociationType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AssociationType
impl Serialize for AssociationType
impl StructuralPartialEq for AssociationType
Auto Trait Implementations§
impl Freeze for AssociationType
impl RefUnwindSafe for AssociationType
impl Send for AssociationType
impl Sync for AssociationType
impl Unpin for AssociationType
impl UnsafeUnpin for AssociationType
impl UnwindSafe for AssociationType
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