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

pub struct CustomerExtensionSetting {
    pub resource_name: String,
    pub extension_type: i32,
    pub extension_feed_items: Vec<String>,
    pub device: i32,
}

A customer extension setting.

Fields

resource_name: String

Immutable. The resource name of the customer extension setting. CustomerExtensionSetting resource names have the form:

customers/{customer_id}/customerExtensionSettings/{extension_type}

extension_type: i32

Immutable. The extension type of the customer extension setting.

extension_feed_items: Vec<String>

The resource names of the extension feed items to serve under the customer. ExtensionFeedItem resource names have the form:

customers/{customer_id}/extensionFeedItems/{feed_item_id}

device: i32

The device for which the extensions will serve. Optional.

Implementations

impl CustomerExtensionSetting[src]

pub fn extension_type(&self) -> ExtensionType[src]

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

pub fn set_extension_type(&mut self, value: ExtensionType)[src]

Sets extension_type to the provided enum value.

pub fn device(&self) -> ExtensionSettingDevice[src]

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

pub fn set_device(&mut self, value: ExtensionSettingDevice)[src]

Sets device to the provided enum value.

Trait Implementations

impl Clone for CustomerExtensionSetting[src]

impl Debug for CustomerExtensionSetting[src]

impl Default for CustomerExtensionSetting[src]

impl Message for CustomerExtensionSetting[src]

impl PartialEq<CustomerExtensionSetting> for CustomerExtensionSetting[src]

impl StructuralPartialEq for CustomerExtensionSetting[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomerExtensionSetting

impl Send for CustomerExtensionSetting

impl Sync for CustomerExtensionSetting

impl Unpin for CustomerExtensionSetting

impl UnwindSafe for CustomerExtensionSetting

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]