Struct picky_asn1_x509::extension::ExtendedKeyUsage
source · pub struct ExtendedKeyUsage(/* private fields */);
Expand description
Implementations§
source§impl ExtendedKeyUsage
impl ExtendedKeyUsage
pub fn new<OID: Into<ObjectIdentifierAsn1>>(purpose_oids: Vec<OID>) -> Self
pub fn iter(&self) -> Iter<'_, ObjectIdentifierAsn1>
pub fn iter_mut(&mut self) -> IterMut<'_, ObjectIdentifierAsn1>
pub fn contains<C: PartialEq<ObjectIdentifier>>(&self, item: C) -> bool
Trait Implementations§
source§impl Clone for ExtendedKeyUsage
impl Clone for ExtendedKeyUsage
source§fn clone(&self) -> ExtendedKeyUsage
fn clone(&self) -> ExtendedKeyUsage
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 ExtendedKeyUsage
impl Debug for ExtendedKeyUsage
source§impl<'de> Deserialize<'de> for ExtendedKeyUsage
impl<'de> Deserialize<'de> for ExtendedKeyUsage
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<OID: Into<ObjectIdentifierAsn1>> From<Vec<OID>> for ExtendedKeyUsage
impl<OID: Into<ObjectIdentifierAsn1>> From<Vec<OID>> for ExtendedKeyUsage
source§impl PartialEq for ExtendedKeyUsage
impl PartialEq for ExtendedKeyUsage
source§fn eq(&self, other: &ExtendedKeyUsage) -> bool
fn eq(&self, other: &ExtendedKeyUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExtendedKeyUsage
impl Serialize for ExtendedKeyUsage
impl Eq for ExtendedKeyUsage
impl StructuralPartialEq for ExtendedKeyUsage
Auto Trait Implementations§
impl Freeze for ExtendedKeyUsage
impl RefUnwindSafe for ExtendedKeyUsage
impl Send for ExtendedKeyUsage
impl Sync for ExtendedKeyUsage
impl Unpin for ExtendedKeyUsage
impl UnwindSafe for ExtendedKeyUsage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)