Struct google_api_proto::google::ads::googleads::v17::common::LegacyAppInstallAdInfo
source · pub struct LegacyAppInstallAdInfo {
pub app_id: Option<String>,
pub app_store: i32,
pub headline: Option<String>,
pub description1: Option<String>,
pub description2: Option<String>,
}
Expand description
A legacy app install ad that only can be used by a few select customers.
Fields§
§app_id: Option<String>
The ID of the mobile app.
app_store: i32
The app store the mobile app is available in.
headline: Option<String>
The headline of the ad.
description1: Option<String>
The first description line of the ad.
description2: Option<String>
The second description line of the ad.
Implementations§
source§impl LegacyAppInstallAdInfo
impl LegacyAppInstallAdInfo
sourcepub fn app_store(&self) -> LegacyAppInstallAdAppStore
pub fn app_store(&self) -> LegacyAppInstallAdAppStore
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: LegacyAppInstallAdAppStore)
pub fn set_app_store(&mut self, value: LegacyAppInstallAdAppStore)
Sets app_store
to the provided enum value.
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 headline(&self) -> &str
pub fn headline(&self) -> &str
Returns the value of headline
, or the default value if headline
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.
Trait Implementations§
source§impl Clone for LegacyAppInstallAdInfo
impl Clone for LegacyAppInstallAdInfo
source§fn clone(&self) -> LegacyAppInstallAdInfo
fn clone(&self) -> LegacyAppInstallAdInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LegacyAppInstallAdInfo
impl Debug for LegacyAppInstallAdInfo
source§impl Default for LegacyAppInstallAdInfo
impl Default for LegacyAppInstallAdInfo
source§impl Message for LegacyAppInstallAdInfo
impl Message for LegacyAppInstallAdInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for LegacyAppInstallAdInfo
impl PartialEq for LegacyAppInstallAdInfo
source§fn eq(&self, other: &LegacyAppInstallAdInfo) -> bool
fn eq(&self, other: &LegacyAppInstallAdInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LegacyAppInstallAdInfo
Auto Trait Implementations§
impl Freeze for LegacyAppInstallAdInfo
impl RefUnwindSafe for LegacyAppInstallAdInfo
impl Send for LegacyAppInstallAdInfo
impl Sync for LegacyAppInstallAdInfo
impl Unpin for LegacyAppInstallAdInfo
impl UnwindSafe for LegacyAppInstallAdInfo
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request