pub struct InventorySourceStatus {
pub config_status: Option<String>,
pub entity_pause_reason: Option<String>,
pub entity_status: Option<String>,
pub seller_pause_reason: Option<String>,
pub seller_status: Option<String>,
}
Expand description
The status related settings of the inventory source.
This type is not used in any activity, and only used as part of another schema.
Fields§
§config_status: Option<String>
Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory sources. Acceptable values are INVENTORY_SOURCE_CONFIG_STATUS_PENDING
and INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED
. An inventory source must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve.
entity_pause_reason: Option<String>
The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable when entity_status is set to ENTITY_STATUS_PAUSED
.
entity_status: Option<String>
Whether or not the inventory source is servable. Acceptable values are ENTITY_STATUS_ACTIVE
, ENTITY_STATUS_ARCHIVED
, and ENTITY_STATUS_PAUSED
. Default value is ENTITY_STATUS_ACTIVE
.
seller_pause_reason: Option<String>
Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory sources synced directly from the publishers and when seller_status is set to ENTITY_STATUS_PAUSED
.
seller_status: Option<String>
Output only. The status set by the seller for the inventory source. Only applicable for inventory sources synced directly from the publishers. Acceptable values are ENTITY_STATUS_ACTIVE
and ENTITY_STATUS_PAUSED
.
Trait Implementations§
Source§impl Clone for InventorySourceStatus
impl Clone for InventorySourceStatus
Source§fn clone(&self) -> InventorySourceStatus
fn clone(&self) -> InventorySourceStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InventorySourceStatus
impl Debug for InventorySourceStatus
Source§impl Default for InventorySourceStatus
impl Default for InventorySourceStatus
Source§fn default() -> InventorySourceStatus
fn default() -> InventorySourceStatus
Source§impl<'de> Deserialize<'de> for InventorySourceStatus
impl<'de> Deserialize<'de> for InventorySourceStatus
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 InventorySourceStatus
impl Serialize for InventorySourceStatus
impl Part for InventorySourceStatus
Auto Trait Implementations§
impl Freeze for InventorySourceStatus
impl RefUnwindSafe for InventorySourceStatus
impl Send for InventorySourceStatus
impl Sync for InventorySourceStatus
impl Unpin for InventorySourceStatus
impl UnwindSafe for InventorySourceStatus
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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