Struct gapi_grpc::google::ads::googleads::v4::resources::FeedItemValidationError[][src]

pub struct FeedItemValidationError {
    pub validation_error: i32,
    pub description: Option<String>,
    pub feed_attribute_ids: Vec<i64>,
    pub extra_info: Option<String>,
}

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 (e.g. 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 (e.g. placeholder field IDs when feed_attribute_id is not mapped). Note that extra_info is not localized.

Implementations

impl FeedItemValidationError[src]

pub fn validation_error(&self) -> FeedItemValidationError[src]

Returns the enum value of validation_error, or the default if the field is set to an invalid enum value.

pub fn set_validation_error(&mut self, value: FeedItemValidationError)[src]

Sets validation_error to the provided enum value.

Trait Implementations

impl Clone for FeedItemValidationError[src]

impl Debug for FeedItemValidationError[src]

impl Default for FeedItemValidationError[src]

impl Message for FeedItemValidationError[src]

impl PartialEq<FeedItemValidationError> for FeedItemValidationError[src]

impl StructuralPartialEq for FeedItemValidationError[src]

Auto Trait Implementations

impl RefUnwindSafe for FeedItemValidationError

impl Send for FeedItemValidationError

impl Sync for FeedItemValidationError

impl Unpin for FeedItemValidationError

impl UnwindSafe for FeedItemValidationError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]