[][src]Struct google_dfareporting3d3::DayPartTargeting

pub struct DayPartTargeting {
    pub days_of_week: Option<Vec<String>>,
    pub hours_of_day: Option<Vec<i32>>,
    pub user_local_time: Option<bool>,
}

Day Part Targeting.

This type is not used in any activity, and only used as part of another schema.

Fields

days_of_week: Option<Vec<String>>

Days of the week when the ad will serve.

Acceptable values are:

  • "SUNDAY"
  • "MONDAY"
  • "TUESDAY"
  • "WEDNESDAY"
  • "THURSDAY"
  • "FRIDAY"
  • "SATURDAY"
hours_of_day: Option<Vec<i32>>

Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.

user_local_time: Option<bool>

Whether or not to use the user's local time. If false, the America/New York time zone applies.

Trait Implementations

impl Part for DayPartTargeting[src]

impl Default for DayPartTargeting[src]

impl Clone for DayPartTargeting[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DayPartTargeting[src]

impl Serialize for DayPartTargeting[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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