pub struct DeliverySchedule {
pub priority: Option<String>,
pub hard_cutoff: Option<bool>,
pub frequency_cap: Option<FrequencyCap>,
pub impression_ratio: Option<String>,
}Expand description
Delivery Schedule.
This type is not used in any activity, and only used as part of another schema.
Fields§
§priority: Option<String>Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
hard_cutoff: Option<bool>Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
frequency_cap: Option<FrequencyCap>Limit on the number of times an individual user can be served the ad within a specified period of time.
impression_ratio: Option<String>Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
Trait Implementations§
Source§impl Clone for DeliverySchedule
impl Clone for DeliverySchedule
Source§fn clone(&self) -> DeliverySchedule
fn clone(&self) -> DeliverySchedule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeliverySchedule
impl Debug for DeliverySchedule
Source§impl Default for DeliverySchedule
impl Default for DeliverySchedule
Source§fn default() -> DeliverySchedule
fn default() -> DeliverySchedule
Source§impl<'de> Deserialize<'de> for DeliverySchedule
impl<'de> Deserialize<'de> for DeliverySchedule
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>,
Source§impl Serialize for DeliverySchedule
impl Serialize for DeliverySchedule
impl Part for DeliverySchedule
Auto Trait Implementations§
impl Freeze for DeliverySchedule
impl RefUnwindSafe for DeliverySchedule
impl Send for DeliverySchedule
impl Sync for DeliverySchedule
impl Unpin for DeliverySchedule
impl UnwindSafe for DeliverySchedule
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> 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