Struct webpki::verify_cert::KeyPurposeId
source · struct KeyPurposeId {
oid_value: Input<'static>,
}
Expand description
An OID value indicating an Extended Key Usage (EKU) key purpose.
Fields§
§oid_value: Input<'static>
Implementations§
source§impl KeyPurposeId
impl KeyPurposeId
sourceconst fn new(oid: &'static [u8]) -> Self
const fn new(oid: &'static [u8]) -> Self
Construct a new KeyPurposeId
.
oid
is the OBJECT IDENTIFIER in bytes.
Trait Implementations§
source§impl Clone for KeyPurposeId
impl Clone for KeyPurposeId
source§fn clone(&self) -> KeyPurposeId
fn clone(&self) -> KeyPurposeId
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 PartialEq for KeyPurposeId
impl PartialEq for KeyPurposeId
impl Copy for KeyPurposeId
impl Eq for KeyPurposeId
Auto Trait Implementations§
impl Freeze for KeyPurposeId
impl RefUnwindSafe for KeyPurposeId
impl Send for KeyPurposeId
impl Sync for KeyPurposeId
impl Unpin for KeyPurposeId
impl UnwindSafe for KeyPurposeId
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