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

pub struct FeedItemTarget {
    pub resource_name: String,
    pub feed_item: String,
    pub feed_item_target_type: i32,
    pub feed_item_target_id: i64,
    pub status: i32,
    pub target: Option<Target>,
}

A feed item target.

Fields

resource_name: String

Immutable. The resource name of the feed item target. Feed item target resource names have the form: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}

feed_item: String

Immutable. The feed item to which this feed item target belongs.

feed_item_target_type: i32

Output only. The target type of this feed item target. This field is read-only.

feed_item_target_id: i64

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

status: i32

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

target: Option<Target>

The targeted resource.

Implementations

impl FeedItemTarget[src]

pub fn feed_item_target_type(&self) -> FeedItemTargetType[src]

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

pub fn set_feed_item_target_type(&mut self, value: FeedItemTargetType)[src]

Sets feed_item_target_type to the provided enum value.

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

Sets status to the provided enum value.

Trait Implementations

impl Clone for FeedItemTarget[src]

impl Debug for FeedItemTarget[src]

impl Default for FeedItemTarget[src]

impl Message for FeedItemTarget[src]

impl PartialEq<FeedItemTarget> for FeedItemTarget[src]

impl StructuralPartialEq for FeedItemTarget[src]

Auto Trait Implementations

impl RefUnwindSafe for FeedItemTarget

impl Send for FeedItemTarget

impl Sync for FeedItemTarget

impl Unpin for FeedItemTarget

impl UnwindSafe for FeedItemTarget

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]