Enum google_api_proto::google::ads::admanager::v1::computed_status_enum::ComputedStatus
source · #[repr(i32)]pub enum ComputedStatus {
Unspecified = 0,
DeliveryExtended = 1,
Delivering = 2,
Ready = 3,
Paused = 4,
Inactive = 5,
PausedInventoryReleased = 6,
PendingApproval = 7,
Completed = 8,
Disapproved = 9,
Draft = 10,
Canceled = 11,
}
Expand description
Describes the computed LineItem status that is derived from the current state of the LineItem.
Variants§
Unspecified = 0
No value specified.
DeliveryExtended = 1
The LineItem has past its link LineItem#endDateTime with an auto extension, but hasn’t met its goal.
Delivering = 2
The LineItem has begun serving.
Ready = 3
The LineItem has been activated and is ready to serve.
Paused = 4
The LineItem has been paused from serving.
Inactive = 5
The LineItem is inactive. It is either caused by missing creatives or the network disabling auto-activation.
PausedInventoryReleased = 6
The LineItem has been paused and its reserved inventory has been released. The LineItem will not serve.
PendingApproval = 7
The LineItem has been submitted for approval.
Completed = 8
The LineItem has completed its run.
Disapproved = 9
The LineItem has been disapproved and is not eligible to serve.
Draft = 10
The LineItem is still being drafted.
Canceled = 11
The LineItem has been canceled and is no longer eligible to serve. This is a legacy status imported from Google Ad Manager orders.
Implementations§
source§impl ComputedStatus
impl ComputedStatus
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 ComputedStatus
impl Clone for ComputedStatus
source§fn clone(&self) -> ComputedStatus
fn clone(&self) -> ComputedStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComputedStatus
impl Debug for ComputedStatus
source§impl Default for ComputedStatus
impl Default for ComputedStatus
source§fn default() -> ComputedStatus
fn default() -> ComputedStatus
source§impl From<ComputedStatus> for i32
impl From<ComputedStatus> for i32
source§fn from(value: ComputedStatus) -> i32
fn from(value: ComputedStatus) -> i32
source§impl Hash for ComputedStatus
impl Hash for ComputedStatus
source§impl Ord for ComputedStatus
impl Ord for ComputedStatus
source§fn cmp(&self, other: &ComputedStatus) -> Ordering
fn cmp(&self, other: &ComputedStatus) -> 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 ComputedStatus
impl PartialEq for ComputedStatus
source§fn eq(&self, other: &ComputedStatus) -> bool
fn eq(&self, other: &ComputedStatus) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ComputedStatus
impl PartialOrd for ComputedStatus
source§fn partial_cmp(&self, other: &ComputedStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &ComputedStatus) -> 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 ComputedStatus
impl TryFrom<i32> for ComputedStatus
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ComputedStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<ComputedStatus, UnknownEnumValue>
impl Copy for ComputedStatus
impl Eq for ComputedStatus
impl StructuralPartialEq for ComputedStatus
Auto Trait Implementations§
impl Freeze for ComputedStatus
impl RefUnwindSafe for ComputedStatus
impl Send for ComputedStatus
impl Sync for ComputedStatus
impl Unpin for ComputedStatus
impl UnwindSafe for ComputedStatus
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