Struct google_adexchangebuyer1d4::api::Proposal[][src]

pub struct Proposal {
    pub billed_buyer: Option<Buyer>,
    pub buyer: Option<Buyer>,
    pub buyer_contacts: Option<Vec<ContactInformation>>,
    pub buyer_private_data: Option<PrivateData>,
    pub dbm_advertiser_ids: Option<Vec<String>>,
    pub has_buyer_signed_off: Option<bool>,
    pub has_seller_signed_off: Option<bool>,
    pub inventory_source: Option<String>,
    pub is_renegotiating: Option<bool>,
    pub is_setup_complete: Option<bool>,
    pub kind: Option<String>,
    pub labels: Option<Vec<MarketplaceLabel>>,
    pub last_updater_or_commentor_role: Option<String>,
    pub name: Option<String>,
    pub negotiation_id: Option<String>,
    pub originator_role: Option<String>,
    pub private_auction_id: Option<String>,
    pub proposal_id: Option<String>,
    pub proposal_state: Option<String>,
    pub revision_number: Option<String>,
    pub revision_time_ms: Option<String>,
    pub seller: Option<Seller>,
    pub seller_contacts: Option<Vec<ContactInformation>>,
}

Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:

(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.

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

billed_buyer: Option<Buyer>

Reference to the buyer that will get billed for this proposal. (readonly)

buyer: Option<Buyer>

Reference to the buyer on the proposal. (readonly, except on create)

buyer_contacts: Option<Vec<ContactInformation>>

Optional contact information of the buyer. (seller-readonly)

buyer_private_data: Option<PrivateData>

Private data for buyer. (hidden from seller).

dbm_advertiser_ids: Option<Vec<String>>

IDs of DBM advertisers permission to this proposal.

has_buyer_signed_off: Option<bool>

When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)

has_seller_signed_off: Option<bool>

When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)

inventory_source: Option<String>

What exchange will provide this inventory (readonly, except on create).

is_renegotiating: Option<bool>

True if the proposal is being renegotiated (readonly).

is_setup_complete: Option<bool>

True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “adexchangebuyer#proposal”.

labels: Option<Vec<MarketplaceLabel>>

List of labels associated with the proposal. (readonly)

last_updater_or_commentor_role: Option<String>

The role of the last user that either updated the proposal or left a comment. (readonly)

name: Option<String>

The name for the proposal (updatable)

negotiation_id: Option<String>

Optional negotiation id if this proposal is a preferred deal proposal.

originator_role: Option<String>

Indicates whether the buyer/seller created the proposal.(readonly)

private_auction_id: Option<String>

Optional private auction id if this proposal is a private auction proposal.

proposal_id: Option<String>

The unique id of the proposal. (readonly).

proposal_state: Option<String>

The current state of the proposal. (readonly)

revision_number: Option<String>

The revision number for the proposal (readonly).

revision_time_ms: Option<String>

The time (ms since epoch) when the proposal was last revised (readonly).

seller: Option<Seller>

Reference to the seller on the proposal. (readonly, except on create)

seller_contacts: Option<Vec<ContactInformation>>

Optional contact information of the seller (buyer-readonly).

Trait Implementations

impl Clone for Proposal[src]

impl Debug for Proposal[src]

impl Default for Proposal[src]

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

impl RequestValue for Proposal[src]

impl Resource for Proposal[src]

impl ResponseResult for Proposal[src]

impl Serialize for Proposal[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> Instrument 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.