pub struct AccountsCustomBatchRequestEntry {
pub batch_id: Option<u32>,
pub account: Option<Account>,
pub account_id: Option<String>,
pub merchant_id: Option<String>,
pub overwrite: Option<bool>,
pub method: Option<String>,
}Expand description
A batch entry encoding a single non-batch accounts request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§batch_id: Option<u32>An entry ID, unique within the batch request.
account: Option<Account>The account to create or update. Only defined if the method is insert or update.
account_id: Option<String>The ID of the targeted account. Only defined if the method is get, delete or claimwebsite.
merchant_id: Option<String>The ID of the managing account.
overwrite: Option<bool>Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict.
method: Option<String>no description provided
Trait Implementations§
source§impl Clone for AccountsCustomBatchRequestEntry
impl Clone for AccountsCustomBatchRequestEntry
source§fn clone(&self) -> AccountsCustomBatchRequestEntry
fn clone(&self) -> AccountsCustomBatchRequestEntry
Returns a copy 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 Default for AccountsCustomBatchRequestEntry
impl Default for AccountsCustomBatchRequestEntry
source§fn default() -> AccountsCustomBatchRequestEntry
fn default() -> AccountsCustomBatchRequestEntry
Returns the “default value” for a type. Read more
source§impl Deserialize for AccountsCustomBatchRequestEntry
impl Deserialize for AccountsCustomBatchRequestEntry
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
impl Part for AccountsCustomBatchRequestEntry
Auto Trait Implementations§
impl Freeze for AccountsCustomBatchRequestEntry
impl RefUnwindSafe for AccountsCustomBatchRequestEntry
impl Send for AccountsCustomBatchRequestEntry
impl Sync for AccountsCustomBatchRequestEntry
impl Unpin for AccountsCustomBatchRequestEntry
impl UnwindSafe for AccountsCustomBatchRequestEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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