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§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