pub struct Order {Show 20 fields
pub account_id: Option<i64>,
pub advertiser_id: Option<i64>,
pub approver_user_profile_ids: Option<Vec<i64>>,
pub buyer_invoice_id: Option<String>,
pub buyer_organization_name: Option<String>,
pub comments: Option<String>,
pub contacts: Option<Vec<OrderContact>>,
pub id: Option<i64>,
pub kind: Option<String>,
pub last_modified_info: Option<LastModifiedInfo>,
pub name: Option<String>,
pub notes: Option<String>,
pub planning_term_id: Option<i64>,
pub project_id: Option<i64>,
pub seller_order_id: Option<String>,
pub seller_organization_name: Option<String>,
pub site_id: Option<Vec<i64>>,
pub site_names: Option<Vec<String>>,
pub subaccount_id: Option<i64>,
pub terms_and_conditions: Option<String>,
}
Expand description
Describes properties of a 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).
- get orders (response)
- list orders (none)
Fields§
§account_id: Option<i64>
Account ID of this order.
advertiser_id: Option<i64>
Advertiser ID of this order.
approver_user_profile_ids: Option<Vec<i64>>
IDs for users that have to approve documents created for this order.
buyer_invoice_id: Option<String>
Buyer invoice ID associated with this order.
buyer_organization_name: Option<String>
Name of the buyer organization.
comments: Option<String>
Comments in this order.
contacts: Option<Vec<OrderContact>>
Contacts for this order.
id: Option<i64>
ID of this order. This is a read-only, auto-generated field.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#order”.
last_modified_info: Option<LastModifiedInfo>
Information about the most recent modification of this order.
name: Option<String>
Name of this order.
notes: Option<String>
Notes of this order.
planning_term_id: Option<i64>
ID of the terms and conditions template used in this order.
project_id: Option<i64>
Project ID of this order.
seller_order_id: Option<String>
Seller order ID associated with this order.
seller_organization_name: Option<String>
Name of the seller organization.
site_id: Option<Vec<i64>>
Site IDs this order is associated with.
site_names: Option<Vec<String>>
Free-form site names this order is associated with.
subaccount_id: Option<i64>
Subaccount ID of this order.
terms_and_conditions: Option<String>
Terms and conditions of this order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Resource for Order
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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