pub struct SitelinkFeedItem {
pub link_text: String,
pub line1: String,
pub line2: String,
pub final_urls: Vec<String>,
pub final_mobile_urls: Vec<String>,
pub tracking_url_template: String,
pub url_custom_parameters: Vec<CustomParameter>,
pub final_url_suffix: String,
}
Expand description
Represents a sitelink.
Fields§
§link_text: String
URL display text for the sitelink. The length of this string should be between 1 and 25, inclusive.
line1: String
First line of the description for the sitelink. If this value is set, line2 must also be set. The length of this string should be between 0 and 35, inclusive.
line2: String
Second line of the description for the sitelink. If this value is set, line1 must also be set. The length of this string should be between 0 and 35, inclusive.
final_urls: Vec<String>
A list of possible final URLs after all cross domain redirects.
final_mobile_urls: Vec<String>
A list of possible final mobile URLs after all cross domain redirects.
tracking_url_template: String
URL template for constructing a tracking URL.
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: String
Final URL suffix to be appended to landing page URLs served with parallel tracking.
Trait Implementations§
Source§impl Clone for SitelinkFeedItem
impl Clone for SitelinkFeedItem
Source§fn clone(&self) -> SitelinkFeedItem
fn clone(&self) -> SitelinkFeedItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SitelinkFeedItem
impl Debug for SitelinkFeedItem
Source§impl Default for SitelinkFeedItem
impl Default for SitelinkFeedItem
Source§impl Message for SitelinkFeedItem
impl Message for SitelinkFeedItem
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for SitelinkFeedItem
impl PartialEq for SitelinkFeedItem
impl StructuralPartialEq for SitelinkFeedItem
Auto Trait Implementations§
impl Freeze for SitelinkFeedItem
impl RefUnwindSafe for SitelinkFeedItem
impl Send for SitelinkFeedItem
impl Sync for SitelinkFeedItem
impl Unpin for SitelinkFeedItem
impl UnwindSafe for SitelinkFeedItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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