pub struct Account {
pub status: AccountStatus,
pub contact: Option<Vec<String>>,
pub terms_of_service_agreed: Option<bool>,
pub external_account_binding: Option<JsonWebSignature>,
pub orders: String,
}Expand description
Defines an ACME account resource.
For more information, refer to RFC 8555 § 7.1.2
Fields§
§status: AccountStatusACME account status
contact: Option<Vec<String>>Array of URLs that can be used by the ACME provider to contact the client
terms_of_service_agreed: Option<bool>If set to true, indicates that the ACME account has agreed to the ACME provider’s Terms of Service
external_account_binding: Option<JsonWebSignature>External account object
orders: StringURL from which a list of orders submitted by the ACME account can be retrieved.
For more information, refer to RFC 8555 § 7.1.2.1
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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