Struct google_api_proto::google::ads::searchads360::v0::common::SearchAds360ExpandedTextAdInfo
source · pub struct SearchAds360ExpandedTextAdInfo {
pub headline: Option<String>,
pub headline2: Option<String>,
pub headline3: Option<String>,
pub description1: Option<String>,
pub description2: Option<String>,
pub path1: Option<String>,
pub path2: Option<String>,
pub ad_tracking_id: Option<i64>,
}
Expand description
A Search Ads 360 expanded text ad.
Fields§
§headline: Option<String>
The headline of the ad.
headline2: Option<String>
The second headline of the ad.
headline3: Option<String>
The third headline of the ad.
description1: Option<String>
The first line of the ad’s description.
description2: Option<String>
The second line of the ad’s description.
path1: Option<String>
Text appended to the auto-generated visible URL with a delimiter.
path2: Option<String>
Text appended to path1 with a delimiter.
ad_tracking_id: Option<i64>
The tracking id of the ad.
Implementations§
source§impl SearchAds360ExpandedTextAdInfo
impl SearchAds360ExpandedTextAdInfo
sourcepub fn headline(&self) -> &str
pub fn headline(&self) -> &str
Returns the value of headline
, or the default value if headline
is unset.
sourcepub fn headline2(&self) -> &str
pub fn headline2(&self) -> &str
Returns the value of headline2
, or the default value if headline2
is unset.
sourcepub fn headline3(&self) -> &str
pub fn headline3(&self) -> &str
Returns the value of headline3
, or the default value if headline3
is unset.
sourcepub fn description1(&self) -> &str
pub fn description1(&self) -> &str
Returns the value of description1
, or the default value if description1
is unset.
sourcepub fn description2(&self) -> &str
pub fn description2(&self) -> &str
Returns the value of description2
, or the default value if description2
is unset.
sourcepub fn path1(&self) -> &str
pub fn path1(&self) -> &str
Returns the value of path1
, or the default value if path1
is unset.
sourcepub fn path2(&self) -> &str
pub fn path2(&self) -> &str
Returns the value of path2
, or the default value if path2
is unset.
sourcepub fn ad_tracking_id(&self) -> i64
pub fn ad_tracking_id(&self) -> i64
Returns the value of ad_tracking_id
, or the default value if ad_tracking_id
is unset.
Trait Implementations§
source§impl Clone for SearchAds360ExpandedTextAdInfo
impl Clone for SearchAds360ExpandedTextAdInfo
source§fn clone(&self) -> SearchAds360ExpandedTextAdInfo
fn clone(&self) -> SearchAds360ExpandedTextAdInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for SearchAds360ExpandedTextAdInfo
impl Message for SearchAds360ExpandedTextAdInfo
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 SearchAds360ExpandedTextAdInfo
impl PartialEq for SearchAds360ExpandedTextAdInfo
source§fn eq(&self, other: &SearchAds360ExpandedTextAdInfo) -> bool
fn eq(&self, other: &SearchAds360ExpandedTextAdInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchAds360ExpandedTextAdInfo
Auto Trait Implementations§
impl Freeze for SearchAds360ExpandedTextAdInfo
impl RefUnwindSafe for SearchAds360ExpandedTextAdInfo
impl Send for SearchAds360ExpandedTextAdInfo
impl Sync for SearchAds360ExpandedTextAdInfo
impl Unpin for SearchAds360ExpandedTextAdInfo
impl UnwindSafe for SearchAds360ExpandedTextAdInfo
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