Enum asn1_compiler::generator::Derive
source · [−]pub enum Derive {
Debug,
Clone,
Serialize,
Deserialize,
}Expand description
Supported Derive Macros
Variants
Debug
Generate Debug code for the generated strucutres.
Clone
Generate ‘Clone’ code for the generated structures.
Serialize
Generate ‘serde::Serialize’ code for the generated structures.
Deserialize
Generate ‘serde::Deserialize’ code for the generated structures.
Trait Implementations
sourceimpl ValueEnum for Derive
impl ValueEnum for Derive
sourcefn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
All possible argument values, in display order.
sourcefn to_possible_value<'a>(&self) -> Option<PossibleValue>
fn to_possible_value<'a>(&self) -> Option<PossibleValue>
The canonical argument value. Read more
impl Eq for Derive
impl StructuralEq for Derive
impl StructuralPartialEq for Derive
Auto Trait Implementations
impl RefUnwindSafe for Derive
impl Send for Derive
impl Sync for Derive
impl Unpin for Derive
impl UnwindSafe for Derive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more