pub struct NewAccount {
pub contact: Option<String>,
pub terms_of_service_agreed: Option<bool>,
pub only_return_existing: Option<bool>,
pub external_account_binding: Option<JsonWebSignature>,
}Expand description
Defines an ACME account registration object.
For more information, refer to RFC 8555 § 7.3
Fields§
§contact: Option<String>Array of URLs that can be used by the ACME provider to contact the client
terms_of_service_agreed: Option<bool>Confirmation client has agreed to the ACME provider’s Terms of Service
only_return_existing: Option<bool>Prevent account creation if one does not exist
external_account_binding: Option<JsonWebSignature>External account object
Implementations§
Trait Implementations§
Source§impl Clone for NewAccount
impl Clone for NewAccount
Source§fn clone(&self) -> NewAccount
fn clone(&self) -> NewAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NewAccount
impl Debug for NewAccount
Source§impl<'de> Deserialize<'de> for NewAccount
impl<'de> Deserialize<'de> for NewAccount
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 NewAccount
impl RefUnwindSafe for NewAccount
impl Send for NewAccount
impl Sync for NewAccount
impl Unpin for NewAccount
impl UnwindSafe for NewAccount
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