pub struct Order {
pub status: Option<OrderStatus>,
pub expires: Option<String>,
pub identifiers: Vec<Identifier>,
pub not_before: Option<String>,
pub not_after: Option<String>,
pub error: Option<Problem>,
pub authorizations: Option<Vec<String>>,
pub finalize: String,
pub certificate: Option<String>,
}Expand description
An ACME order object.
Represents a client’s request for a certificate and is used to track the progress of that order through to issuance.
See RFC 8555 §7.1.3.
§Example JSON
{
"status": "pending",
"expires": "2019-01-09T08:26:43.570360537Z",
"identifiers": [
{
"type": "dns",
"value": "acmetest.algesten.se"
}
],
"authorizations": [
"https://example.com/acme/authz/YTqpYUthlVfwBncUufE8IRA2TkzZkN4eYWWLMSRqcSs"
],
"finalize": "https://example.com/acme/finalize/7738992/18234324"
}Fields§
§status: Option<OrderStatus>§expires: Option<String>§identifiers: Vec<Identifier>§not_before: Option<String>Uses RFC 3339 format.
not_after: Option<String>Uses RFC 3339 format.
error: Option<Problem>§finalize: String§certificate: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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 Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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