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

pub struct CampaignAsset {
    pub resource_name: String,
    pub campaign: String,
    pub asset: String,
    pub field_type: i32,
    pub status: i32,
}

A link between a Campaign and an Asset.

Fields

resource_name: String

Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form:

customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}

campaign: String

Immutable. The campaign to which the asset is linked.

asset: String

Immutable. The asset which is linked to the campaign.

field_type: i32

Immutable. Role that the asset takes under the linked campaign. Required.

status: i32

Status of the campaign asset.

Implementations

impl CampaignAsset[src]

pub fn field_type(&self) -> AssetFieldType[src]

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

pub fn set_field_type(&mut self, value: AssetFieldType)[src]

Sets field_type to the provided enum value.

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

Sets status to the provided enum value.

Trait Implementations

impl Clone for CampaignAsset[src]

impl Debug for CampaignAsset[src]

impl Default for CampaignAsset[src]

impl Message for CampaignAsset[src]

impl PartialEq<CampaignAsset> for CampaignAsset[src]

impl StructuralPartialEq for CampaignAsset[src]

Auto Trait Implementations

impl RefUnwindSafe for CampaignAsset

impl Send for CampaignAsset

impl Sync for CampaignAsset

impl Unpin for CampaignAsset

impl UnwindSafe for CampaignAsset

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]