Struct der_parser::oid::Oid [−][src]
pub struct Oid(_);
Object ID (OID) representation
Methods
impl Oid[src]
impl Oidpub fn from(s: &[u64]) -> Oid[src]
pub fn from(s: &[u64]) -> OidBuild an OID from an array of u64 integers
pub fn to_string(&self) -> String[src]
pub fn to_string(&self) -> StringConvert the OID to a string representation. The string contains the IDs separated by dots, for ex: "1.2.840.113549.1.1.5"
pub fn iter(&self) -> Iter<u64>[src]
pub fn iter(&self) -> Iter<u64>Return an iterator on every ID
Trait Implementations
impl<'a> From<Oid> for DerObject<'a>[src]
impl<'a> From<Oid> for DerObject<'a>Build a DER object from an OID.
impl PartialEq for Oid[src]
impl PartialEq for Oidfn eq(&self, other: &Oid) -> bool[src]
fn eq(&self, other: &Oid) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Oid) -> bool[src]
fn ne(&self, other: &Oid) -> boolThis method tests for !=.
impl Eq for Oid[src]
impl Eq for Oidimpl Clone for Oid[src]
impl Clone for Oidfn clone(&self) -> Oid[src]
fn clone(&self) -> OidReturns 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 Display for Oid[src]
impl Display for Oidfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Debug for Oid[src]
impl Debug for Oid