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

pub struct Feed {
    pub resource_name: String,
    pub id: Option<i64>,
    pub name: Option<String>,
    pub attributes: Vec<FeedAttribute>,
    pub attribute_operations: Vec<FeedAttributeOperation>,
    pub origin: i32,
    pub status: i32,
    pub system_feed_generation_data: Option<SystemFeedGenerationData>,
}

A feed.

Fields

resource_name: String

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

customers/{customer_id}/feeds/{feed_id}

id: Option<i64>

Output only. The ID of the feed. This field is read-only.

name: Option<String>

Immutable. Name of the feed. Required.

attributes: Vec<FeedAttribute>

The Feed’s attributes. Required on CREATE, unless system_feed_generation_data is provided, in which case Google Ads will update the feed with the correct attributes. Disallowed on UPDATE. Use attribute_operations to add new attributes.

attribute_operations: Vec<FeedAttributeOperation>

The list of operations changing the feed attributes. Attributes can only be added, not removed.

origin: i32

Immutable. Specifies who manages the FeedAttributes for the Feed.

status: i32

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

system_feed_generation_data: Option<SystemFeedGenerationData>

The system data for the Feed. This data specifies information for generating the feed items of the system generated feed.

Implementations

impl Feed[src]

pub fn origin(&self) -> FeedOrigin[src]

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

pub fn set_origin(&mut self, value: FeedOrigin)[src]

Sets origin to the provided enum value.

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

Sets status to the provided enum value.

Trait Implementations

impl Clone for Feed[src]

impl Debug for Feed[src]

impl Default for Feed[src]

impl Message for Feed[src]

impl PartialEq<Feed> for Feed[src]

impl StructuralPartialEq for Feed[src]

Auto Trait Implementations

impl RefUnwindSafe for Feed

impl Send for Feed

impl Sync for Feed

impl Unpin for Feed

impl UnwindSafe for Feed

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]