pub enum GeneralNameValue {
Text(String),
OtherNameHWModuleName(OtherNameHardwareModuleName),
Bytes(Vec<u8>),
Oid(C509oid),
Name(Name),
Unsupported,
}
Expand description
An enum of possible value types for GeneralName
.
Variants§
Text(String)
A text string.
OtherNameHWModuleName(OtherNameHardwareModuleName)
A otherName + hardwareModuleName.
Bytes(Vec<u8>)
A bytes.
Oid(C509oid)
An OID
Name(Name)
Name
Unsupported
An unsupported value.
Trait Implementations§
source§impl Clone for GeneralNameValue
impl Clone for GeneralNameValue
source§fn clone(&self) -> GeneralNameValue
fn clone(&self) -> GeneralNameValue
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 GeneralNameValue
impl Debug for GeneralNameValue
source§impl<C> Decode<'_, C> for GeneralNameValuewhere
C: GeneralNameValueTrait + Debug,
impl<C> Decode<'_, C> for GeneralNameValuewhere
C: GeneralNameValueTrait + Debug,
source§impl<'de> Deserialize<'de> for GeneralNameValue
impl<'de> Deserialize<'de> for GeneralNameValue
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 GeneralNameValue
impl Encode<()> for GeneralNameValue
source§impl<'_enum> From<&'_enum GeneralNameValue> for GeneralNameValueType
impl<'_enum> From<&'_enum GeneralNameValue> for GeneralNameValueType
source§fn from(val: &'_enum GeneralNameValue) -> GeneralNameValueType
fn from(val: &'_enum GeneralNameValue) -> GeneralNameValueType
Converts to this type from the input type.
source§impl From<GeneralNameValue> for GeneralNameValueType
impl From<GeneralNameValue> for GeneralNameValueType
source§fn from(val: GeneralNameValue) -> GeneralNameValueType
fn from(val: GeneralNameValue) -> GeneralNameValueType
Converts to this type from the input type.
source§impl PartialEq for GeneralNameValue
impl PartialEq for GeneralNameValue
source§impl Serialize for GeneralNameValue
impl Serialize for GeneralNameValue
impl StructuralPartialEq for GeneralNameValue
Auto Trait Implementations§
impl Freeze for GeneralNameValue
impl RefUnwindSafe for GeneralNameValue
impl Send for GeneralNameValue
impl Sync for GeneralNameValue
impl Unpin for GeneralNameValue
impl UnwindSafe for GeneralNameValue
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
)