Order

Struct Order 

Source
pub struct Order {
Show 20 fields pub terms_and_conditions: Option<String>, pub buyer_organization_name: Option<String>, pub advertiser_id: Option<String>, pub site_id: Option<Vec<String>>, pub buyer_invoice_id: Option<String>, pub planning_term_id: Option<String>, pub id: Option<String>, pub account_id: Option<String>, pub kind: Option<String>, pub subaccount_id: Option<String>, pub name: Option<String>, pub contacts: Option<Vec<OrderContact>>, pub last_modified_info: Option<LastModifiedInfo>, pub notes: Option<String>, pub seller_organization_name: Option<String>, pub comments: Option<String>, pub approver_user_profile_ids: Option<Vec<String>>, pub seller_order_id: Option<String>, pub project_id: Option<String>, pub site_names: Option<Vec<String>>,
}
Expand description

Describes properties of a DoubleClick Planning order.

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

§terms_and_conditions: Option<String>

Terms and conditions of this order.

§buyer_organization_name: Option<String>

Name of the buyer organization.

§advertiser_id: Option<String>

Advertiser ID of this order.

§site_id: Option<Vec<String>>

Site IDs this order is associated with.

§buyer_invoice_id: Option<String>

Buyer invoice ID associated with this order.

§planning_term_id: Option<String>

ID of the terms and conditions template used in this order.

§id: Option<String>

ID of this order. This is a read-only, auto-generated field.

§account_id: Option<String>

Account ID of this order.

§kind: Option<String>

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

§subaccount_id: Option<String>

Subaccount ID of this order.

§name: Option<String>

Name of this order.

§contacts: Option<Vec<OrderContact>>

Contacts for this order.

§last_modified_info: Option<LastModifiedInfo>

Information about the most recent modification of this order.

§notes: Option<String>

Notes of this order.

§seller_organization_name: Option<String>

Name of the seller organization.

§comments: Option<String>

Comments in this order.

§approver_user_profile_ids: Option<Vec<String>>

IDs for users that have to approve documents created for this order.

§seller_order_id: Option<String>

Seller order ID associated with this order.

§project_id: Option<String>

Project ID of this order.

§site_names: Option<Vec<String>>

Free-form site names this order is associated with.

Trait Implementations§

Source§

impl Clone for Order

Source§

fn clone(&self) -> Order

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Order

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Order

Source§

fn default() -> Order

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

impl<'de> Deserialize<'de> for Order

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Order

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Resource for Order

Source§

impl ResponseResult for Order

Auto Trait Implementations§

§

impl Freeze for Order

§

impl RefUnwindSafe for Order

§

impl Send for Order

§

impl Sync for Order

§

impl Unpin for Order

§

impl UnwindSafe for Order

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Typeable for T
where T: Any,

Source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
Source§

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