pub struct UpdateAccountRequest {Show 14 fields
pub additional_emails: Option<Vec<String>>,
pub city: Option<String>,
pub company_name: Option<String>,
pub country: Option<String>,
pub dry_run: Option<bool>,
pub email: Option<String>,
pub first_name: Option<String>,
pub job_title: Option<String>,
pub last_name: Option<String>,
pub mobile_number: Option<String>,
pub phone_number: Option<String>,
pub state_province: Option<String>,
pub vat_number: Option<String>,
pub zip_code: Option<String>,
}Fields§
§additional_emails: Option<Vec<String>>One or more additional email addresses for the account. These addresses are used for notifications only. If you already have a list of additional emails registered, you cannot add to it, only replace it. To remove all registered additional emails, specify an empty list.
city: Option<String>The new city of the account owner.
company_name: Option<String>The new name of the company for the account.
country: Option<String>The new country of the account owner.
dry_run: Option<bool>If true, checks whether you have the required permissions to perform the action.
email: Option<String>The main email address for the account. This address is used for your credentials and notifications.
first_name: Option<String>The new first name of the account owner.
job_title: Option<String>The new job title of the account owner.
last_name: Option<String>The new last name of the account owner.
mobile_number: Option<String>The new mobile phone number of the account owner.
phone_number: Option<String>The new landline phone number of the account owner.
state_province: Option<String>The new state/province of the account owner.
vat_number: Option<String>The new value added tax (VAT) number for the account.
zip_code: Option<String>The new ZIP code of the city.
Implementations§
Source§impl UpdateAccountRequest
impl UpdateAccountRequest
pub fn new() -> UpdateAccountRequest
Trait Implementations§
Source§impl Clone for UpdateAccountRequest
impl Clone for UpdateAccountRequest
Source§fn clone(&self) -> UpdateAccountRequest
fn clone(&self) -> UpdateAccountRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateAccountRequest
impl Debug for UpdateAccountRequest
Source§impl Default for UpdateAccountRequest
impl Default for UpdateAccountRequest
Source§fn default() -> UpdateAccountRequest
fn default() -> UpdateAccountRequest
Source§impl<'de> Deserialize<'de> for UpdateAccountRequest
impl<'de> Deserialize<'de> for UpdateAccountRequest
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>,
Source§impl PartialEq for UpdateAccountRequest
impl PartialEq for UpdateAccountRequest
Source§impl Serialize for UpdateAccountRequest
impl Serialize for UpdateAccountRequest
impl StructuralPartialEq for UpdateAccountRequest
Auto Trait Implementations§
impl Freeze for UpdateAccountRequest
impl RefUnwindSafe for UpdateAccountRequest
impl Send for UpdateAccountRequest
impl Sync for UpdateAccountRequest
impl Unpin for UpdateAccountRequest
impl UnwindSafe for UpdateAccountRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more