#[non_exhaustive]#[repr(u16)]pub enum AttributeCertificateRevision {
Revision1_0 = 256,
Revision2_0 = 512,
}
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.
Trait Implementations§
source§impl Clone for AttributeCertificateRevision
impl Clone for AttributeCertificateRevision
source§fn clone(&self) -> AttributeCertificateRevision
fn clone(&self) -> AttributeCertificateRevision
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 AttributeCertificateRevision
impl Debug for AttributeCertificateRevision
source§impl PartialEq for AttributeCertificateRevision
impl PartialEq for AttributeCertificateRevision
source§fn eq(&self, other: &AttributeCertificateRevision) -> bool
fn eq(&self, other: &AttributeCertificateRevision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for AttributeCertificateRevision
impl TryFrom<u16> for AttributeCertificateRevision
impl Copy for AttributeCertificateRevision
impl StructuralPartialEq for AttributeCertificateRevision
Auto Trait Implementations§
impl Freeze for AttributeCertificateRevision
impl RefUnwindSafe for AttributeCertificateRevision
impl Send for AttributeCertificateRevision
impl Sync for AttributeCertificateRevision
impl Unpin for AttributeCertificateRevision
impl UnwindSafe for AttributeCertificateRevision
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