[][src]Struct krill::daemon::ca::PendingKey

pub struct PendingKey { /* fields omitted */ }

A Pending Key in a resource class. Should usually have an open IssuanceRequest, and will be move to a 'new' or 'current' CertifiedKey when a certificate is received.

Implementations

impl PendingKey[src]

pub fn new(key_id: KeyIdentifier) -> Self[src]

pub fn as_info(&self) -> PendingKeyInfo[src]

pub fn unwrap(self) -> (KeyIdentifier, Option<IssuanceRequest>)[src]

pub fn key_id(&self) -> &KeyIdentifier[src]

pub fn request(&self) -> Option<&IssuanceRequest>[src]

pub fn add_request(&mut self, req: IssuanceRequest)[src]

pub fn clear_request(&mut self)[src]

Trait Implementations

impl Clone for PendingKey[src]

impl Debug for PendingKey[src]

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

impl Eq for PendingKey[src]

impl PartialEq<PendingKey> for PendingKey[src]

impl Serialize for PendingKey[src]

impl StructuralEq for PendingKey[src]

impl StructuralPartialEq for PendingKey[src]

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.