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: boolWhether you agree to the terms of service
only_return_existing: boolSet 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> Freeze for NewAccount<'a>
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