pub struct FeedItemValidationError {
pub validation_error: i32,
pub description: String,
pub feed_attribute_ids: Vec<i64>,
pub extra_info: 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: 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: 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.
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for FeedItemValidationError
impl PartialEq for FeedItemValidationError
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
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> 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