Struct google_content2::api::AccountsCustomBatchRequestEntry[][src]

pub struct AccountsCustomBatchRequestEntry {
    pub account: Option<Account>,
    pub account_id: Option<String>,
    pub batch_id: Option<u32>,
    pub force: Option<bool>,
    pub label_ids: Option<Vec<String>>,
    pub link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>,
    pub merchant_id: Option<String>,
    pub method: Option<String>,
    pub overwrite: Option<bool>,
}
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

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 not insert.

batch_id: Option<u32>

An entry ID, unique within the batch request.

force: Option<bool>

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

label_ids: Option<Vec<String>>

Label IDs for the ‘updatelabels’ request.

link_request: Option<AccountsCustomBatchRequestEntryLinkRequest>

Details about the link request.

merchant_id: Option<String>

The ID of the managing account.

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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.