pub struct Proposal {
Show 23 fields 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<i64>, pub revision_time_ms: Option<i64>, pub seller: Option<Seller>, pub seller_contacts: Option<Vec<ContactInformation>>,
}
Expand description

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<i64>

The revision number for the proposal (readonly).

§revision_time_ms: Option<i64>

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§

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more