Struct google_api_proto::google::ads::googleads::v17::common::AssetLinkPrimaryStatusDetails
source · pub struct AssetLinkPrimaryStatusDetails {
pub reason: Option<i32>,
pub status: Option<i32>,
pub details: Option<Details>,
}
Expand description
Provides the detail of a PrimaryStatus. Each asset link has a PrimaryStatus value (e.g. NOT_ELIGIBLE, meaning not serving), and list of corroborating PrimaryStatusReasons (e.g. [ASSET_DISAPPROVED]). Each reason may have some additional details annotated with it. For instance, when the reason is ASSET_DISAPPROVED, the details field will contain additional information about the offline evaluation errors which led to the asset being disapproved.
Fields§
§reason: Option<i32>
Provides the reason of this PrimaryStatus.
status: Option<i32>
Provides the PrimaryStatus of this status detail.
details: Option<Details>
Provides the details associated with the asset link primary status.
Implementations§
source§impl AssetLinkPrimaryStatusDetails
impl AssetLinkPrimaryStatusDetails
sourcepub fn reason(&self) -> AssetLinkPrimaryStatusReason
pub fn reason(&self) -> AssetLinkPrimaryStatusReason
Returns the enum value of reason
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_reason(&mut self, value: AssetLinkPrimaryStatusReason)
pub fn set_reason(&mut self, value: AssetLinkPrimaryStatusReason)
Sets reason
to the provided enum value.
sourcepub fn status(&self) -> AssetLinkPrimaryStatus
pub fn status(&self) -> AssetLinkPrimaryStatus
Returns the enum value of status
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_status(&mut self, value: AssetLinkPrimaryStatus)
pub fn set_status(&mut self, value: AssetLinkPrimaryStatus)
Sets status
to the provided enum value.
Trait Implementations§
source§impl Clone for AssetLinkPrimaryStatusDetails
impl Clone for AssetLinkPrimaryStatusDetails
source§fn clone(&self) -> AssetLinkPrimaryStatusDetails
fn clone(&self) -> AssetLinkPrimaryStatusDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for AssetLinkPrimaryStatusDetails
impl Message for AssetLinkPrimaryStatusDetails
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AssetLinkPrimaryStatusDetails
impl PartialEq for AssetLinkPrimaryStatusDetails
source§fn eq(&self, other: &AssetLinkPrimaryStatusDetails) -> bool
fn eq(&self, other: &AssetLinkPrimaryStatusDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetLinkPrimaryStatusDetails
Auto Trait Implementations§
impl Freeze for AssetLinkPrimaryStatusDetails
impl RefUnwindSafe for AssetLinkPrimaryStatusDetails
impl Send for AssetLinkPrimaryStatusDetails
impl Sync for AssetLinkPrimaryStatusDetails
impl Unpin for AssetLinkPrimaryStatusDetails
impl UnwindSafe for AssetLinkPrimaryStatusDetails
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<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