Struct google_api_proto::google::ads::googleads::v17::common::AppFeedItem
source · pub struct AppFeedItem {
pub link_text: Option<String>,
pub app_id: Option<String>,
pub app_store: i32,
pub final_urls: Vec<String>,
pub final_mobile_urls: Vec<String>,
pub tracking_url_template: Option<String>,
pub url_custom_parameters: Vec<CustomParameter>,
pub final_url_suffix: Option<String>,
}
Expand description
Represents an App extension.
Fields§
§link_text: Option<String>
The visible text displayed when the link is rendered in an ad. This string must not be empty, and the length of this string should be between 1 and 25, inclusive.
app_id: Option<String>
The store-specific ID for the target application. This string must not be empty.
app_store: i32
The application store that the target application belongs to. This field is required.
final_urls: Vec<String>
A list of possible final URLs after all cross domain redirects. This list must not be empty.
final_mobile_urls: Vec<String>
A list of possible final mobile URLs after all cross domain redirects.
tracking_url_template: Option<String>
URL template for constructing a tracking URL. Default value is “{lpurl}”.
url_custom_parameters: Vec<CustomParameter>
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
final_url_suffix: Option<String>
URL template for appending params to landing page URLs served with parallel tracking.
Implementations§
source§impl AppFeedItem
impl AppFeedItem
sourcepub fn app_store(&self) -> AppStore
pub fn app_store(&self) -> AppStore
Returns the enum value of app_store
, or the default if the field is set to an invalid enum value.
sourcepub fn set_app_store(&mut self, value: AppStore)
pub fn set_app_store(&mut self, value: AppStore)
Sets app_store
to the provided enum value.
sourcepub fn link_text(&self) -> &str
pub fn link_text(&self) -> &str
Returns the value of link_text
, or the default value if link_text
is unset.
sourcepub fn app_id(&self) -> &str
pub fn app_id(&self) -> &str
Returns the value of app_id
, or the default value if app_id
is unset.
sourcepub fn tracking_url_template(&self) -> &str
pub fn tracking_url_template(&self) -> &str
Returns the value of tracking_url_template
, or the default value if tracking_url_template
is unset.
sourcepub fn final_url_suffix(&self) -> &str
pub fn final_url_suffix(&self) -> &str
Returns the value of final_url_suffix
, or the default value if final_url_suffix
is unset.
Trait Implementations§
source§impl Clone for AppFeedItem
impl Clone for AppFeedItem
source§fn clone(&self) -> AppFeedItem
fn clone(&self) -> AppFeedItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AppFeedItem
impl Debug for AppFeedItem
source§impl Default for AppFeedItem
impl Default for AppFeedItem
source§impl Message for AppFeedItem
impl Message for AppFeedItem
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 AppFeedItem
impl PartialEq for AppFeedItem
source§fn eq(&self, other: &AppFeedItem) -> bool
fn eq(&self, other: &AppFeedItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AppFeedItem
Auto Trait Implementations§
impl Freeze for AppFeedItem
impl RefUnwindSafe for AppFeedItem
impl Send for AppFeedItem
impl Sync for AppFeedItem
impl Unpin for AppFeedItem
impl UnwindSafe for AppFeedItem
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