[][src]Struct google_content2::AccountsCustomBatchRequestEntry

pub struct AccountsCustomBatchRequestEntry {
    pub batch_id: Option<u32>,
    pub account: Option<Account>,
    pub force: Option<bool>,
    pub merchant_id: Option<String>,
    pub link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>,
    pub method: Option<String>,
    pub overwrite: Option<bool>,
    pub account_id: Option<String>,
}

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.

force: Option<bool>

Whether the account should be deleted if the account has offers. Only applicable if the method is delete.

merchant_id: Option<String>

The ID of the managing account.

link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>

Details about the link request.

method: Option<String>

The method of the batch entry.

Acceptable values are:

  • "claimWebsite"
  • "delete"
  • "get"
  • "insert"
  • "link"
  • "update"
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.

account_id: Option<String>

The ID of the targeted account. Only defined if the method is not insert.

Trait Implementations

impl Clone for AccountsCustomBatchRequestEntry[src]

impl Debug for AccountsCustomBatchRequestEntry[src]

impl Default for AccountsCustomBatchRequestEntry[src]

impl<'de> Deserialize<'de> for AccountsCustomBatchRequestEntry[src]

impl Part for AccountsCustomBatchRequestEntry[src]

impl Serialize for AccountsCustomBatchRequestEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any