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

pub struct SharedSet {
    pub resource_name: String,
    pub id: Option<i64>,
    pub type: i32,
    pub name: Option<String>,
    pub status: i32,
    pub member_count: Option<i64>,
    pub reference_count: Option<i64>,
}

SharedSets are used for sharing criterion exclusions across multiple campaigns.

Fields

resource_name: String

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

customers/{customer_id}/sharedSets/{shared_set_id}

id: Option<i64>

Output only. The ID of this shared set. Read only.

type: i32

Immutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable.

name: Option<String>

The name of this shared set. Required. Shared Sets must have names that are unique among active shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 bytes, inclusive.

status: i32

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

member_count: Option<i64>

Output only. The number of shared criteria within this shared set. Read only.

reference_count: Option<i64>

Output only. The number of campaigns associated with this shared set. Read only.

Implementations

impl SharedSet[src]

pub fn type(&self) -> SharedSetType[src]

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

pub fn set_type(&mut self, value: SharedSetType)[src]

Sets type to the provided enum value.

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

Sets status to the provided enum value.

Trait Implementations

impl Clone for SharedSet[src]

impl Debug for SharedSet[src]

impl Default for SharedSet[src]

impl Message for SharedSet[src]

impl PartialEq<SharedSet> for SharedSet[src]

impl StructuralPartialEq for SharedSet[src]

Auto Trait Implementations

impl RefUnwindSafe for SharedSet

impl Send for SharedSet

impl Sync for SharedSet

impl Unpin for SharedSet

impl UnwindSafe for SharedSet

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]