Struct picky::x509::name::DirectoryName [−][src]
pub struct DirectoryName(_);
Implementations
impl DirectoryName
[src]
impl DirectoryName
[src]pub fn new() -> Self
[src]
pub fn new_common_name<S: Into<DirectoryString>>(name: S) -> Self
[src]
pub fn find_common_name(&self) -> Option<&DirectoryString>
[src]
pub fn find_common_name(&self) -> Option<&DirectoryString>
[src]Find the first common name contained in this Name
pub fn add_attr<S: Into<DirectoryString>>(&mut self, attr: NameAttr, value: S)
[src]
pub fn add_email<S: Into<IA5StringAsn1>>(&mut self, value: S)
[src]
pub fn add_email<S: Into<IA5StringAsn1>>(&mut self, value: S)
[src]Add an emailAddress attribute. NOTE: this attribute does not conform with the RFC 5280, email should be placed in SAN instead
Trait Implementations
impl Clone for DirectoryName
[src]
impl Clone for DirectoryName
[src]fn clone(&self) -> DirectoryName
[src]
fn clone(&self) -> DirectoryName
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for DirectoryName
[src]
impl Debug for DirectoryName
[src]impl Default for DirectoryName
[src]
impl Default for DirectoryName
[src]impl Display for DirectoryName
[src]
impl Display for DirectoryName
[src]impl PartialEq<DirectoryName> for DirectoryName
[src]
impl PartialEq<DirectoryName> for DirectoryName
[src]fn eq(&self, other: &DirectoryName) -> bool
[src]
fn eq(&self, other: &DirectoryName) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &DirectoryName) -> bool
[src]
fn ne(&self, other: &DirectoryName) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for DirectoryName
[src]
Auto Trait Implementations
impl RefUnwindSafe for DirectoryName
impl Send for DirectoryName
impl Sync for DirectoryName
impl Unpin for DirectoryName
impl UnwindSafe for DirectoryName
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,