Struct rasn_compiler::intermediate::types::ChoiceSelectionType
source · pub struct ChoiceSelectionType {
pub choice_name: String,
pub selected_option: String,
}Expand description
Representation of a ASN1 selection type as used with ASN1 CHOICEs As defined in Rec. ITU-T X.680 (02/2021) §30
Fields§
§choice_name: String§selected_option: StringTrait Implementations§
source§impl Clone for ChoiceSelectionType
impl Clone for ChoiceSelectionType
source§fn clone(&self) -> ChoiceSelectionType
fn clone(&self) -> ChoiceSelectionType
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 ChoiceSelectionType
impl Debug for ChoiceSelectionType
source§impl PartialEq for ChoiceSelectionType
impl PartialEq for ChoiceSelectionType
source§fn eq(&self, other: &ChoiceSelectionType) -> bool
fn eq(&self, other: &ChoiceSelectionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChoiceSelectionType
Auto Trait Implementations§
impl RefUnwindSafe for ChoiceSelectionType
impl Send for ChoiceSelectionType
impl Sync for ChoiceSelectionType
impl Unpin for ChoiceSelectionType
impl UnwindSafe for ChoiceSelectionType
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