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
)