Struct google_api_proto::google::ads::googleads::v17::resources::FeedItemValidationError
source · pub struct FeedItemValidationError {
pub validation_error: i32,
pub description: Option<String>,
pub feed_attribute_ids: Vec<i64>,
pub extra_info: Option<String>,
}
Expand description
Stores a validation error and the set of offending feed attributes which together are responsible for causing a feed item validation error.
Fields§
§validation_error: i32
Output only. Error code indicating what validation error was triggered. The description of the error can be found in the ‘description’ field.
description: Option<String>
Output only. The description of the validation error.
feed_attribute_ids: Vec<i64>
Output only. Set of feed attributes in the feed item flagged during validation. If empty, no specific feed attributes can be associated with the error (for example, error across the entire feed item).
extra_info: Option<String>
Output only. Any extra information related to this error which is not captured by validation_error and feed_attribute_id (for example, placeholder field IDs when feed_attribute_id is not mapped). Note that extra_info is not localized.
Implementations§
source§impl FeedItemValidationError
impl FeedItemValidationError
sourcepub fn validation_error(&self) -> FeedItemValidationError
pub fn validation_error(&self) -> FeedItemValidationError
Returns the enum value of validation_error
, or the default if the field is set to an invalid enum value.
sourcepub fn set_validation_error(&mut self, value: FeedItemValidationError)
pub fn set_validation_error(&mut self, value: FeedItemValidationError)
Sets validation_error
to the provided enum value.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description
, or the default value if description
is unset.
sourcepub fn extra_info(&self) -> &str
pub fn extra_info(&self) -> &str
Returns the value of extra_info
, or the default value if extra_info
is unset.
Trait Implementations§
source§impl Clone for FeedItemValidationError
impl Clone for FeedItemValidationError
source§fn clone(&self) -> FeedItemValidationError
fn clone(&self) -> FeedItemValidationError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeedItemValidationError
impl Debug for FeedItemValidationError
source§impl Default for FeedItemValidationError
impl Default for FeedItemValidationError
source§impl Message for FeedItemValidationError
impl Message for FeedItemValidationError
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 FeedItemValidationError
impl PartialEq for FeedItemValidationError
source§fn eq(&self, other: &FeedItemValidationError) -> bool
fn eq(&self, other: &FeedItemValidationError) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FeedItemValidationError
Auto Trait Implementations§
impl Freeze for FeedItemValidationError
impl RefUnwindSafe for FeedItemValidationError
impl Send for FeedItemValidationError
impl Sync for FeedItemValidationError
impl Unpin for FeedItemValidationError
impl UnwindSafe for FeedItemValidationError
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