Struct google_api_proto::google::ads::searchads360::v0::common::UnifiedSitelinkAsset
source · pub struct UnifiedSitelinkAsset {
pub link_text: String,
pub description1: String,
pub description2: String,
pub start_date: String,
pub end_date: String,
pub ad_schedule_targets: Vec<AdScheduleInfo>,
pub tracking_id: i64,
pub use_searcher_time_zone: bool,
pub mobile_preferred: bool,
}
Expand description
A unified sitelink asset.
Fields§
§link_text: String
URL display text for the sitelink. The length of this string should be between 1 and 25, inclusive.
description1: String
First line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description2 must also be set.
description2: String
Second line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description1 must also be set.
start_date: String
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
end_date: String
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
ad_schedule_targets: Vec<AdScheduleInfo>
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
tracking_id: i64
ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan only field.
use_searcher_time_zone: bool
Whether to show the sitelink asset in search user’s time zone. Applies to Microsoft Ads.
mobile_preferred: bool
Whether the preference is for the sitelink asset to be displayed on mobile devices. Applies to Microsoft Ads.
Trait Implementations§
source§impl Clone for UnifiedSitelinkAsset
impl Clone for UnifiedSitelinkAsset
source§fn clone(&self) -> UnifiedSitelinkAsset
fn clone(&self) -> UnifiedSitelinkAsset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnifiedSitelinkAsset
impl Debug for UnifiedSitelinkAsset
source§impl Default for UnifiedSitelinkAsset
impl Default for UnifiedSitelinkAsset
source§impl Message for UnifiedSitelinkAsset
impl Message for UnifiedSitelinkAsset
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 UnifiedSitelinkAsset
impl PartialEq for UnifiedSitelinkAsset
source§fn eq(&self, other: &UnifiedSitelinkAsset) -> bool
fn eq(&self, other: &UnifiedSitelinkAsset) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnifiedSitelinkAsset
Auto Trait Implementations§
impl Freeze for UnifiedSitelinkAsset
impl RefUnwindSafe for UnifiedSitelinkAsset
impl Send for UnifiedSitelinkAsset
impl Sync for UnifiedSitelinkAsset
impl Unpin for UnifiedSitelinkAsset
impl UnwindSafe for UnifiedSitelinkAsset
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