Enum google_api_proto::google::ads::admanager::v1::delivery_rate_type_enum::DeliveryRateType
source · #[repr(i32)]pub enum DeliveryRateType {
Unspecified = 0,
Evenly = 1,
Frontloaded = 2,
AsFastAsPossible = 3,
}
Expand description
Possible delivery rates for a line item. It dictates the manner in which the line item is served.
Variants§
Unspecified = 0
Not specified value
Evenly = 1
Line items are served as evenly as possible across the number of days specified in a line item’s [duration][LineItem.duration].
Frontloaded = 2
Line items are served more aggressively in the beginning of the flight date.
AsFastAsPossible = 3
The booked impressions may delivered well before the [end_time][google.ads.admanager.v1.LineItem.end_time]. Other lower-priority or lower-value line items will be stopped from delivering until the line item meets the number of impressions or clicks it is booked for.
Implementations§
source§impl DeliveryRateType
impl DeliveryRateType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for DeliveryRateType
impl Clone for DeliveryRateType
source§fn clone(&self) -> DeliveryRateType
fn clone(&self) -> DeliveryRateType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeliveryRateType
impl Debug for DeliveryRateType
source§impl Default for DeliveryRateType
impl Default for DeliveryRateType
source§fn default() -> DeliveryRateType
fn default() -> DeliveryRateType
source§impl From<DeliveryRateType> for i32
impl From<DeliveryRateType> for i32
source§fn from(value: DeliveryRateType) -> i32
fn from(value: DeliveryRateType) -> i32
source§impl Hash for DeliveryRateType
impl Hash for DeliveryRateType
source§impl Ord for DeliveryRateType
impl Ord for DeliveryRateType
source§fn cmp(&self, other: &DeliveryRateType) -> Ordering
fn cmp(&self, other: &DeliveryRateType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for DeliveryRateType
impl PartialEq for DeliveryRateType
source§fn eq(&self, other: &DeliveryRateType) -> bool
fn eq(&self, other: &DeliveryRateType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeliveryRateType
impl PartialOrd for DeliveryRateType
source§fn partial_cmp(&self, other: &DeliveryRateType) -> Option<Ordering>
fn partial_cmp(&self, other: &DeliveryRateType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for DeliveryRateType
impl TryFrom<i32> for DeliveryRateType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<DeliveryRateType, DecodeError>
fn try_from(value: i32) -> Result<DeliveryRateType, DecodeError>
impl Copy for DeliveryRateType
impl Eq for DeliveryRateType
impl StructuralPartialEq for DeliveryRateType
Auto Trait Implementations§
impl Freeze for DeliveryRateType
impl RefUnwindSafe for DeliveryRateType
impl Send for DeliveryRateType
impl Sync for DeliveryRateType
impl Unpin for DeliveryRateType
impl UnwindSafe for DeliveryRateType
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request