Struct rasn_compiler::intermediate::types::DistinguishedValue
source · pub struct DistinguishedValue {
pub name: String,
pub value: i128,
}
Expand description
Representation of a ASN1 distinguished value, as seen in some INTEGER and BIT STRING declarations As defined in Rec. ITU-T X.680 (02/2021) §19.5 and §22.4
Fields§
§name: String
§value: i128
Trait Implementations§
source§impl Clone for DistinguishedValue
impl Clone for DistinguishedValue
source§fn clone(&self) -> DistinguishedValue
fn clone(&self) -> DistinguishedValue
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 DistinguishedValue
impl Debug for DistinguishedValue
source§impl PartialEq for DistinguishedValue
impl PartialEq for DistinguishedValue
source§fn eq(&self, other: &DistinguishedValue) -> bool
fn eq(&self, other: &DistinguishedValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DistinguishedValue
Auto Trait Implementations§
impl RefUnwindSafe for DistinguishedValue
impl Send for DistinguishedValue
impl Sync for DistinguishedValue
impl Unpin for DistinguishedValue
impl UnwindSafe for DistinguishedValue
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