pub struct AdGroupExtensionSetting {
pub resource_name: String,
pub extension_type: i32,
pub ad_group: String,
pub extension_feed_items: Vec<String>,
pub device: i32,
}
Expand description
An ad group extension setting.
Fields§
§resource_name: String
Immutable. The resource name of the ad group extension setting. AdGroupExtensionSetting resource names have the form:
customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}
extension_type: i32
Immutable. The extension type of the ad group extension setting.
ad_group: String
Immutable. The resource name of the ad group. The linked extension feed items will serve under this ad group. AdGroup resource names have the form:
customers/{customer_id}/adGroups/{ad_group_id}
extension_feed_items: Vec<String>
The resource names of the extension feed items to serve under the ad group. 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§
Source§impl AdGroupExtensionSetting
impl AdGroupExtensionSetting
Sourcepub fn extension_type(&self) -> ExtensionType
pub fn extension_type(&self) -> ExtensionType
Returns the enum value of extension_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_extension_type(&mut self, value: ExtensionType)
pub fn set_extension_type(&mut self, value: ExtensionType)
Sets extension_type
to the provided enum value.
Sourcepub fn device(&self) -> ExtensionSettingDevice
pub fn device(&self) -> ExtensionSettingDevice
Returns the enum value of device
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_device(&mut self, value: ExtensionSettingDevice)
pub fn set_device(&mut self, value: ExtensionSettingDevice)
Sets device
to the provided enum value.
Trait Implementations§
Source§impl Clone for AdGroupExtensionSetting
impl Clone for AdGroupExtensionSetting
Source§fn clone(&self) -> AdGroupExtensionSetting
fn clone(&self) -> AdGroupExtensionSetting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdGroupExtensionSetting
impl Debug for AdGroupExtensionSetting
Source§impl Default for AdGroupExtensionSetting
impl Default for AdGroupExtensionSetting
Source§impl Message for AdGroupExtensionSetting
impl Message for AdGroupExtensionSetting
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for AdGroupExtensionSetting
impl PartialEq for AdGroupExtensionSetting
impl StructuralPartialEq for AdGroupExtensionSetting
Auto Trait Implementations§
impl Freeze for AdGroupExtensionSetting
impl RefUnwindSafe for AdGroupExtensionSetting
impl Send for AdGroupExtensionSetting
impl Sync for AdGroupExtensionSetting
impl Unpin for AdGroupExtensionSetting
impl UnwindSafe for AdGroupExtensionSetting
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request