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

pub struct CampaignSharedSet {
    pub resource_name: String,
    pub campaign: String,
    pub shared_set: String,
    pub status: i32,
}

CampaignSharedSets are used for managing the shared sets associated with a campaign.

Fields

resource_name: String

Immutable. The resource name of the campaign shared set. Campaign shared set resource names have the form:

customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}

campaign: String

Immutable. The campaign to which the campaign shared set belongs.

shared_set: String

Immutable. The shared set associated with the campaign. This may be a negative keyword shared set of another customer. This customer should be a manager of the other customer, otherwise the campaign shared set will exist but have no serving effect. Only negative keyword shared sets can be associated with Shopping campaigns. Only negative placement shared sets can be associated with Display mobile app campaigns.

status: i32

Output only. The status of this campaign shared set. Read only.

Implementations

impl CampaignSharedSet[src]

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

Sets status to the provided enum value.

Trait Implementations

impl Clone for CampaignSharedSet[src]

impl Debug for CampaignSharedSet[src]

impl Default for CampaignSharedSet[src]

impl Message for CampaignSharedSet[src]

impl PartialEq<CampaignSharedSet> for CampaignSharedSet[src]

impl StructuralPartialEq for CampaignSharedSet[src]

Auto Trait Implementations

impl RefUnwindSafe for CampaignSharedSet

impl Send for CampaignSharedSet

impl Sync for CampaignSharedSet

impl Unpin for CampaignSharedSet

impl UnwindSafe for CampaignSharedSet

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]