#[non_exhaustive]pub struct OrderState {
pub status: OrderStatus,
pub authorizations: Vec<Authorization>,
pub error: Option<Problem>,
pub finalize: String,
pub certificate: Option<String>,
pub replaces: Option<CertificateIdentifier<'static>>,
pub profile: Option<String>,
}
Expand description
Contents of an ACME order as described in RFC 8555 (section 7.1.3)
The order identity will usually be represented by an Order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status: OrderStatus
Current status
Authorizations for this order.
There should be one authorization per identifier in the order.
Callers will usually interact with an AuthorizationHandle
obtained
via Order::authorizations()
instead of using this directly.
error: Option<Problem>
Potential error state
finalize: String
A finalization URL, to be used once status becomes Ready
certificate: Option<String>
The certificate URL, which becomes available after finalization
replaces: Option<CertificateIdentifier<'static>>
The certificate that this order is replacing, if any
profile: Option<String>
The profile to be used for the order
Trait Implementations§
Source§impl Debug for OrderState
impl Debug for OrderState
Source§impl<'de> Deserialize<'de> for OrderState
impl<'de> Deserialize<'de> for OrderState
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
Auto Trait Implementations§
impl Freeze for OrderState
impl RefUnwindSafe for OrderState
impl Send for OrderState
impl Sync for OrderState
impl Unpin for OrderState
impl UnwindSafe for OrderState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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