[][src]Struct acme_lib::api::ApiOrder

pub struct ApiOrder {
    pub status: Option<String>,
    pub expires: Option<String>,
    pub identifiers: Vec<ApiIdentifier>,
    pub notBefore: Option<String>,
    pub notAfter: Option<String>,
    pub error: Option<ApiProblem>,
    pub authorizations: Option<Vec<String>>,
    pub finalize: String,
    pub certificate: Option<String>,
}

Fields

status: Option<String>expires: Option<String>identifiers: Vec<ApiIdentifier>notBefore: Option<String>notAfter: Option<String>error: Option<ApiProblem>authorizations: Option<Vec<String>>finalize: Stringcertificate: Option<String>

Methods

impl ApiOrder[src]

pub fn is_status_pending(&self) -> bool[src]

As long as there are outstanding authorizations.

pub fn is_status_ready(&self) -> bool[src]

When all authorizations are finished, and we need to call "finalize".

pub fn is_status_processing(&self) -> bool[src]

On "finalize" the server is processing to sign CSR.

pub fn is_status_valid(&self) -> bool[src]

Once the certificate is issued and can be downloaded.

pub fn is_status_invalid(&self) -> bool[src]

If the order failed and can't be used again.

pub fn domains(&self) -> Vec<&str>[src]

Return all domains

Trait Implementations

impl PartialEq<ApiOrder> for ApiOrder[src]

impl Default for ApiOrder[src]

impl Clone for ApiOrder[src]

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

Performs copy-assignment from source. Read more

impl Eq for ApiOrder[src]

impl Debug for ApiOrder[src]

impl Serialize for ApiOrder[src]

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

Auto Trait Implementations

impl Send for ApiOrder

impl Sync for ApiOrder

Blanket Implementations

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> From for T[src]

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

type Error = Infallible

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

The type returned in the event of a conversion error.

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