[][src]Struct google_adexchangebuyer2_v2_beta1::DayPart

pub struct DayPart {
    pub day_of_week: Option<String>,
    pub end_time: Option<TimeOfDay>,
    pub start_time: Option<TimeOfDay>,
}

Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.

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

Fields

day_of_week: Option<String>

The day of the week to target. If unspecified, applicable to all days.

end_time: Option<TimeOfDay>

The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.

start_time: Option<TimeOfDay>

The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.

Trait Implementations

impl Part for DayPart[src]

impl Default for DayPart[src]

impl Clone for DayPart[src]

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

Performs copy-assignment from source. Read more

impl Debug for DayPart[src]

impl Serialize for DayPart[src]

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

Auto Trait Implementations

impl Send for DayPart

impl Unpin for DayPart

impl Sync for DayPart

impl UnwindSafe for DayPart

impl RefUnwindSafe for DayPart

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]