pub struct OctetString {
pub constraints: Vec<Constraint>,
}
Expand description
Representation of an ASN1 OCTET STRING data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §23
Fields§
§constraints: Vec<Constraint>
Trait Implementations§
source§impl Clone for OctetString
impl Clone for OctetString
source§fn clone(&self) -> OctetString
fn clone(&self) -> OctetString
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 Constrainable for OctetString
impl Constrainable for OctetString
source§fn constraints(&self) -> &Vec<Constraint>
fn constraints(&self) -> &Vec<Constraint>
returns a reference to the type’s constraints
source§fn constraints_mut(&mut self) -> &mut Vec<Constraint>
fn constraints_mut(&mut self) -> &mut Vec<Constraint>
returns a mutable reference to the type’s constraints
source§impl Debug for OctetString
impl Debug for OctetString
source§impl From<Option<Vec<Constraint>>> for OctetString
impl From<Option<Vec<Constraint>>> for OctetString
source§impl PartialEq for OctetString
impl PartialEq for OctetString
impl StructuralPartialEq for OctetString
Auto Trait Implementations§
impl Freeze for OctetString
impl RefUnwindSafe for OctetString
impl Send for OctetString
impl Sync for OctetString
impl Unpin for OctetString
impl UnwindSafe for OctetString
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
)