Struct instant_acme::NewAccount
source · pub struct NewAccount<'a> {
pub contact: &'a [&'a str],
pub terms_of_service_agreed: bool,
pub only_return_existing: bool,
}
Expand description
Input data for Account creation
To be passed into Account::create().
Fields§
§contact: &'a [&'a str]
A list of contact URIs (like mailto:info@example.com
)
terms_of_service_agreed: bool
Whether you agree to the terms of service
only_return_existing: bool
Set to true
in order to retrieve an existing account
Setting this to false
has not been tested.
Trait Implementations§
source§impl<'a> Debug for NewAccount<'a>
impl<'a> Debug for NewAccount<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for NewAccount<'a>
impl<'a> Send for NewAccount<'a>
impl<'a> Sync for NewAccount<'a>
impl<'a> Unpin for NewAccount<'a>
impl<'a> UnwindSafe for NewAccount<'a>
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