[][src]Struct google_adexchangebuyer1d4::EditAllOrderDealsRequest

pub struct EditAllOrderDealsRequest {
    pub deals: Option<Vec<MarketplaceDeal>>,
    pub proposal: Option<Proposal>,
    pub proposal_revision_number: Option<String>,
    pub update_action: Option<String>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

deals: Option<Vec<MarketplaceDeal>>

List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.

proposal: Option<Proposal>

If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction.

proposal_revision_number: Option<String>

The last known revision number for the proposal.

update_action: Option<String>

Indicates an optional action to take on the proposal

Trait Implementations

impl Clone for EditAllOrderDealsRequest[src]

impl Debug for EditAllOrderDealsRequest[src]

impl Default for EditAllOrderDealsRequest[src]

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

impl RequestValue for EditAllOrderDealsRequest[src]

impl Serialize for EditAllOrderDealsRequest[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