Enum c509_certificate::name::NameValue
source · pub enum NameValue {
RelativeDistinguishedName(RelativeDistinguishedName),
Text(String),
Bytes(Vec<u8>),
}
Expand description
An enum of possible value types for Name
.
Variants§
RelativeDistinguishedName(RelativeDistinguishedName)
A relative distinguished name.
Text(String)
A text.
Bytes(Vec<u8>)
bytes.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NameValue
impl<'de> Deserialize<'de> for NameValue
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
impl StructuralPartialEq for NameValue
Auto Trait Implementations§
impl Freeze for NameValue
impl RefUnwindSafe for NameValue
impl Send for NameValue
impl Sync for NameValue
impl Unpin for NameValue
impl UnwindSafe for NameValue
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
)