[][src]Struct yubihsm::client::LogEntry

pub struct LogEntry {
    pub item: u16,
    pub cmd: Code,
    pub length: u16,
    pub session_key: Id,
    pub target_key: Id,
    pub second_key: Id,
    pub result: Code,
    pub tick: u32,
    pub digest: LogDigest,
}

Entry in the log response

Fields

item: u16

Entry number

cmd: Code

Command type

length: u16

Command length

session_key: Id

Session key ID

target_key: Id

Target key ID

second_key: Id

Second key affected

result: Code

Result of the operation

tick: u32

Tick count of the HSM's internal clock

digest: LogDigest

16-byte truncated SHA-256 digest of this log entry and the digest of the previous entry

Trait Implementations

impl Debug for LogEntry[src]

impl Serialize for LogEntry[src]

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

Auto Trait Implementations

impl Send for LogEntry

impl Sync for LogEntry

Blanket Implementations

impl<T> From for T[src]

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

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self