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>
§finalize: String
§certificate: Option<String>
Implementations§
Source§impl ApiOrder
impl ApiOrder
Sourcepub fn is_status_pending(&self) -> bool
pub fn is_status_pending(&self) -> bool
As long as there are outstanding authorizations.
Sourcepub fn is_status_ready(&self) -> bool
pub fn is_status_ready(&self) -> bool
When all authorizations are finished, and we need to call “finalize”.
Sourcepub fn is_status_processing(&self) -> bool
pub fn is_status_processing(&self) -> bool
On “finalize” the server is processing to sign CSR.
Sourcepub fn is_status_valid(&self) -> bool
pub fn is_status_valid(&self) -> bool
Once the certificate is issued and can be downloaded.
Sourcepub fn is_status_invalid(&self) -> bool
pub fn is_status_invalid(&self) -> bool
If the order failed and can’t be used again.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiOrder
impl<'de> Deserialize<'de> for ApiOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ApiOrder
impl StructuralPartialEq for ApiOrder
Auto Trait Implementations§
impl Freeze for ApiOrder
impl RefUnwindSafe for ApiOrder
impl Send for ApiOrder
impl Sync for ApiOrder
impl Unpin for ApiOrder
impl UnwindSafe for ApiOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more