Struct gapi_grpc::google::ads::googleads::v7::resources::FeedMapping[][src]

pub struct FeedMapping {
    pub resource_name: String,
    pub feed: String,
    pub attribute_field_mappings: Vec<AttributeFieldMapping>,
    pub status: i32,
    pub target: Option<Target>,
}

A feed mapping.

Fields

resource_name: String

Immutable. The resource name of the feed mapping. Feed mapping resource names have the form:

customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}

feed: String

Immutable. The feed of this feed mapping.

attribute_field_mappings: Vec<AttributeFieldMapping>

Immutable. Feed attributes to field mappings. These mappings are a one-to-many relationship meaning that 1 feed attribute can be used to populate multiple placeholder fields, but 1 placeholder field can only draw data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder field can be mapped to multiple feed attributes. Required.

status: i32

Output only. Status of the feed mapping. This field is read-only.

target: Option<Target>

Feed mapping target. Can be either a placeholder or a criterion. For a given feed, the active FeedMappings must have unique targets. Required.

Implementations

impl FeedMapping[src]

pub fn status(&self) -> FeedMappingStatus[src]

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

pub fn set_status(&mut self, value: FeedMappingStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for FeedMapping[src]

impl Debug for FeedMapping[src]

impl Default for FeedMapping[src]

impl Message for FeedMapping[src]

impl PartialEq<FeedMapping> for FeedMapping[src]

impl StructuralPartialEq for FeedMapping[src]

Auto Trait Implementations

impl RefUnwindSafe for FeedMapping

impl Send for FeedMapping

impl Sync for FeedMapping

impl Unpin for FeedMapping

impl UnwindSafe for FeedMapping

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]