[][src]Struct red_asn1::Oid

pub struct Oid {
    pub value1: u8,
    pub value2: u8,
    pub values: Vec<u64>,
}

Class to build/parse Object Identifiers

Fields

value1: u8value2: u8values: Vec<u64>

Implementations

impl Oid[src]

pub fn new(value1: u8, value2: u8, values: Vec<u64>) -> Self[src]

Trait Implementations

impl Asn1Object for Oid[src]

impl Clone for Oid[src]

impl Debug for Oid[src]

impl Default for Oid[src]

impl From<Vec<u8, Global>> for Oid[src]

impl Into<Vec<u64, Global>> for Oid[src]

impl PartialEq<Oid> for Oid[src]

impl StructuralPartialEq for Oid[src]

impl TryFrom<Vec<u16, Global>> for Oid[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

impl TryFrom<Vec<u32, Global>> for Oid[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

impl TryFrom<Vec<u64, Global>> for Oid[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.