Struct gapi_grpc::google::ads::googleads::v6::resources::CustomerFeed[][src]

pub struct CustomerFeed {
    pub resource_name: String,
    pub feed: String,
    pub placeholder_types: Vec<i32>,
    pub matching_function: Option<MatchingFunction>,
    pub status: i32,
}

A customer feed.

Fields

resource_name: String

Immutable. The resource name of the customer feed. Customer feed resource names have the form:

customers/{customer_id}/customerFeeds/{feed_id}

feed: String

Immutable. The feed being linked to the customer.

placeholder_types: Vec<i32>

Indicates which placeholder types the feed may populate under the connected customer. Required.

matching_function: Option<MatchingFunction>

Matching function associated with the CustomerFeed. The matching function is used to filter the set of feed items selected. Required.

status: i32

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

Implementations

impl CustomerFeed[src]

pub fn placeholder_types(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<PlaceholderType>>
[src]

Returns an iterator which yields the valid enum values contained in placeholder_types.

pub fn push_placeholder_types(&mut self, value: PlaceholderType)[src]

Appends the provided enum value to placeholder_types.

pub fn status(&self) -> FeedLinkStatus[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: FeedLinkStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for CustomerFeed[src]

impl Debug for CustomerFeed[src]

impl Default for CustomerFeed[src]

impl Message for CustomerFeed[src]

impl PartialEq<CustomerFeed> for CustomerFeed[src]

impl StructuralPartialEq for CustomerFeed[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomerFeed

impl Send for CustomerFeed

impl Sync for CustomerFeed

impl Unpin for CustomerFeed

impl UnwindSafe for CustomerFeed

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]