[][src]Struct krill::commons::api::IssuanceResponse

pub struct IssuanceResponse { /* fields omitted */ }

A Certificate Issuance Response equivalent to the one defined in section 3.4.2 of RFC6492.

Note that this is like a single EntitlementClass response, except that it includes the one certificate which has just been issued only.

Implementations

impl IssuanceResponse[src]

pub fn new(
    class_name: ResourceClassName,
    issuer: SigningCert,
    resource_set: ResourceSet,
    not_after: Time,
    issued: IssuedCert
) -> Self
[src]

pub fn unwrap(self) -> (ResourceClassName, SigningCert, ResourceSet, IssuedCert)[src]

pub fn class_name(&self) -> &ResourceClassName[src]

pub fn issuer(&self) -> &SigningCert[src]

pub fn resource_set(&self) -> &ResourceSet[src]

pub fn not_after(&self) -> Time[src]

pub fn issued(&self) -> &IssuedCert[src]

Trait Implementations

impl Clone for IssuanceResponse[src]

impl Debug for IssuanceResponse[src]

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

impl Eq for IssuanceResponse[src]

impl PartialEq<IssuanceResponse> for IssuanceResponse[src]

impl Serialize for IssuanceResponse[src]

impl StructuralEq for IssuanceResponse[src]

impl StructuralPartialEq for IssuanceResponse[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.