Struct google_displayvideo1::api::LineItemFlight [−][src]
Settings that control the active duration of a line item.
This type is not used in any activity, and only used as part of another schema.
Fields
date_range: Option<DateRange>
The flight start and end dates of the line item. They are resolved relative to the parent advertiser’s time zone. * Required when flight_date_type is LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM
. Output only otherwise. * When creating a new flight, both start_date
and end_date
must be in the future. * An existing flight with a start_date
in the past has a mutable end_date
but an immutable start_date
. * end_date
must be the start_date
or later, both before the year 2037.
flight_date_type: Option<String>
Required. The type of the line item’s flight dates.
trigger_id: Option<String>
The ID of the manual trigger associated with the line item. * Required when flight_date_type is LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER
. Must not be set otherwise. * When set, the line item’s flight dates are inherited from its parent insertion order. * Active line items will spend when the selected trigger is activated within the parent insertion order’s flight dates.
Trait Implementations
impl Clone for LineItemFlight
[src]
fn clone(&self) -> LineItemFlight
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LineItemFlight
[src]
impl Default for LineItemFlight
[src]
fn default() -> LineItemFlight
[src]
impl<'de> Deserialize<'de> for LineItemFlight
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for LineItemFlight
[src]
impl Serialize for LineItemFlight
[src]
Auto Trait Implementations
impl RefUnwindSafe for LineItemFlight
impl Send for LineItemFlight
impl Sync for LineItemFlight
impl Unpin for LineItemFlight
impl UnwindSafe for LineItemFlight
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,