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
impl StructuralPartialEq for DistinguishedValue
Auto Trait Implementations§
impl Freeze for DistinguishedValue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)