Struct google_api_proto::google::ads::googleads::v17::resources::KeywordThemeConstant
source · pub struct KeywordThemeConstant {
pub resource_name: String,
pub country_code: Option<String>,
pub language_code: Option<String>,
pub display_name: Option<String>,
}
Expand description
A Smart Campaign keyword theme constant.
Fields§
§resource_name: String
Output only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form:
keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}
country_code: Option<String>
Output only. The ISO-3166 Alpha-2 country code of the constant, eg. “US”. To display and query matching purpose, the keyword theme needs to be localized.
language_code: Option<String>
Output only. The ISO-639-1 language code with 2 letters of the constant, eg. “en”. To display and query matching purpose, the keyword theme needs to be localized.
display_name: Option<String>
Output only. The display name of the keyword theme or sub keyword theme.
Implementations§
source§impl KeywordThemeConstant
impl KeywordThemeConstant
sourcepub fn country_code(&self) -> &str
pub fn country_code(&self) -> &str
Returns the value of country_code
, or the default value if country_code
is unset.
sourcepub fn language_code(&self) -> &str
pub fn language_code(&self) -> &str
Returns the value of language_code
, or the default value if language_code
is unset.
sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
Returns the value of display_name
, or the default value if display_name
is unset.
Trait Implementations§
source§impl Clone for KeywordThemeConstant
impl Clone for KeywordThemeConstant
source§fn clone(&self) -> KeywordThemeConstant
fn clone(&self) -> KeywordThemeConstant
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeywordThemeConstant
impl Debug for KeywordThemeConstant
source§impl Default for KeywordThemeConstant
impl Default for KeywordThemeConstant
source§impl Message for KeywordThemeConstant
impl Message for KeywordThemeConstant
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 KeywordThemeConstant
impl PartialEq for KeywordThemeConstant
source§fn eq(&self, other: &KeywordThemeConstant) -> bool
fn eq(&self, other: &KeywordThemeConstant) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeywordThemeConstant
Auto Trait Implementations§
impl Freeze for KeywordThemeConstant
impl RefUnwindSafe for KeywordThemeConstant
impl Send for KeywordThemeConstant
impl Sync for KeywordThemeConstant
impl Unpin for KeywordThemeConstant
impl UnwindSafe for KeywordThemeConstant
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