pub struct OtherNameHardwareModuleName {
hw_type: C509oid,
hw_serial_num: Vec<u8>,
}
Expand description
A struct represents the hardwareModuleName type of otherName. Containing a pair of ( hwType, hwSerialNum ) as mentioned in RFC4108
Fields§
§hw_type: C509oid
The hardware type OID.
hw_serial_num: Vec<u8>
The hardware serial number represent in bytes.
Implementations§
Trait Implementations§
source§impl Clone for OtherNameHardwareModuleName
impl Clone for OtherNameHardwareModuleName
source§fn clone(&self) -> OtherNameHardwareModuleName
fn clone(&self) -> OtherNameHardwareModuleName
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 OtherNameHardwareModuleName
impl Debug for OtherNameHardwareModuleName
source§impl<'a> Decode<'a, ()> for OtherNameHardwareModuleName
impl<'a> Decode<'a, ()> for OtherNameHardwareModuleName
source§impl<'de> Deserialize<'de> for OtherNameHardwareModuleName
impl<'de> Deserialize<'de> for OtherNameHardwareModuleName
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encode<()> for OtherNameHardwareModuleName
impl Encode<()> for OtherNameHardwareModuleName
source§impl Hash for OtherNameHardwareModuleName
impl Hash for OtherNameHardwareModuleName
impl Eq for OtherNameHardwareModuleName
impl StructuralPartialEq for OtherNameHardwareModuleName
Auto Trait Implementations§
impl Freeze for OtherNameHardwareModuleName
impl RefUnwindSafe for OtherNameHardwareModuleName
impl Send for OtherNameHardwareModuleName
impl Sync for OtherNameHardwareModuleName
impl Unpin for OtherNameHardwareModuleName
impl UnwindSafe for OtherNameHardwareModuleName
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
)