Struct pkix::oid::stateOrProvinceName
source · pub struct stateOrProvinceName { /* private fields */ }
Methods from Deref<Target = ObjectIdentifier>§
sourcepub fn components(&self) -> &Vec<u64>
pub fn components(&self) -> &Vec<u64>
Borrows its internal vector of components.
Examples
use yasna::models::ObjectIdentifier;
let pkcs1 = ObjectIdentifier::from_slice(&
[1, 2, 840, 113549, 1, 1]);
let components : &Vec<u64> = pkcs1.components();
Trait Implementations§
source§impl Deref for stateOrProvinceName
impl Deref for stateOrProvinceName
§type Target = ObjectIdentifier
type Target = ObjectIdentifier
The resulting type after dereferencing.
source§fn deref(&self) -> &ObjectIdentifier
fn deref(&self) -> &ObjectIdentifier
Dereferences the value.
impl LazyStatic for stateOrProvinceName
Auto Trait Implementations§
impl RefUnwindSafe for stateOrProvinceName
impl Send for stateOrProvinceName
impl Sync for stateOrProvinceName
impl Unpin for stateOrProvinceName
impl UnwindSafe for stateOrProvinceName
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