Enum sep2_common::packages::der::NormalCategory
source · #[repr(u8)]pub enum NormalCategory {
NotSpecified = 0,
CategoryA = 1,
CategoryB = 2,
}
Available on crate feature
der
only.Variants§
Trait Implementations§
source§impl Clone for NormalCategory
impl Clone for NormalCategory
source§fn clone(&self) -> NormalCategory
fn clone(&self) -> NormalCategory
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 NormalCategory
impl Debug for NormalCategory
source§impl Default for NormalCategory
impl Default for NormalCategory
source§fn default() -> NormalCategory
fn default() -> NormalCategory
Returns the “default value” for a type. Read more
source§impl PartialEq<NormalCategory> for NormalCategory
impl PartialEq<NormalCategory> for NormalCategory
source§fn eq(&self, other: &NormalCategory) -> bool
fn eq(&self, other: &NormalCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for NormalCategory
impl YaDeserialize for NormalCategory
source§impl YaSerialize for NormalCategory
impl YaSerialize for NormalCategory
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Copy for NormalCategory
impl Eq for NormalCategory
impl StructuralEq for NormalCategory
impl StructuralPartialEq for NormalCategory
Auto Trait Implementations§
impl RefUnwindSafe for NormalCategory
impl Send for NormalCategory
impl Sync for NormalCategory
impl Unpin for NormalCategory
impl UnwindSafe for NormalCategory
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