pub struct OctetString {
pub id: u64,
pub class: TagClass,
pub inner: Vec<u8>,
}Expand description
String of bytes.
Fields§
§id: u64§class: TagClass§inner: Vec<u8>Trait Implementations§
Source§impl ASNTag for OctetString
impl ASNTag for OctetString
Source§fn into_structure(self) -> StructureTag
fn into_structure(self) -> StructureTag
Encode yourself into a generic Tag format. Read more
Source§impl Clone for OctetString
impl Clone for OctetString
Source§fn clone(&self) -> OctetString
fn clone(&self) -> OctetString
Returns a duplicate 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 OctetString
impl Debug for OctetString
Source§impl Default for OctetString
impl Default for OctetString
Source§fn default() -> OctetString
fn default() -> OctetString
Returns the “default value” for a type. Read more
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