[][src]Struct yubihsm::object::Info

pub struct Info {
    pub capabilities: Capability,
    pub object_id: Id,
    pub length: u16,
    pub domains: Domain,
    pub object_type: Type,
    pub algorithm: Algorithm,
    pub sequence: SequenceId,
    pub origin: Origin,
    pub label: Label,
    pub delegated_capabilities: Capability,
}

Information about an object

Fields

capabilities: Capability

Capabilities (bitfield)

object_id: Id

Object identifier

length: u16

Length of object in bytes

domains: Domain

Domains from which object is accessible

object_type: Type

Object type

algorithm: Algorithm

Algorithm this object is intended to be used with

sequence: SequenceId

Sequence: number of times an object with this key ID and type has previously existed

origin: Origin

How did this object originate? (generated, imported, etc)

label: Label

Label of object

delegated_capabilities: Capability

Delegated Capabilities (bitfield)

Trait Implementations

impl Clone for Info[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Info[src]

impl Serialize for Info[src]

impl<'de> Deserialize<'de> for Info[src]

Auto Trait Implementations

impl Send for Info

impl Sync for Info

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]