Struct google_api_proto::google::ads::googleads::v17::resources::CustomerExtensionSetting
source · pub struct CustomerExtensionSetting {
pub resource_name: String,
pub extension_type: i32,
pub extension_feed_items: Vec<String>,
pub device: i32,
}
Expand description
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§
source§impl CustomerExtensionSetting
impl CustomerExtensionSetting
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 CustomerExtensionSetting
impl Clone for CustomerExtensionSetting
source§fn clone(&self) -> CustomerExtensionSetting
fn clone(&self) -> CustomerExtensionSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerExtensionSetting
impl Debug for CustomerExtensionSetting
source§impl Default for CustomerExtensionSetting
impl Default for CustomerExtensionSetting
source§impl Message for CustomerExtensionSetting
impl Message for CustomerExtensionSetting
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CustomerExtensionSetting
impl PartialEq for CustomerExtensionSetting
source§fn eq(&self, other: &CustomerExtensionSetting) -> bool
fn eq(&self, other: &CustomerExtensionSetting) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerExtensionSetting
Auto Trait Implementations§
impl Freeze for CustomerExtensionSetting
impl RefUnwindSafe for CustomerExtensionSetting
impl Send for CustomerExtensionSetting
impl Sync for CustomerExtensionSetting
impl Unpin for CustomerExtensionSetting
impl UnwindSafe for CustomerExtensionSetting
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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