Struct googleplay_protobuf::googleplay::BrowseResponse
source · pub struct BrowseResponse {Show 14 fields
pub contents_url: Option<String>,
pub promo_url: Option<String>,
pub category: Vec<BrowseLink>,
pub breadcrumb: Vec<BrowseLink>,
pub quick_link: Vec<QuickLink>,
pub server_logs_cookie: Option<Vec<u8>>,
pub title: Option<String>,
pub backend_id: Option<i32>,
pub browse_tab: Option<BrowseTab>,
pub landing_tab_index: Option<i32>,
pub quick_link_tab_index: Option<i32>,
pub quick_link_fallback_tab_index: Option<i32>,
pub is_family_safe: Option<bool>,
pub share_url: Option<String>,
}
Fields§
§contents_url: Option<String>
§promo_url: Option<String>
§category: Vec<BrowseLink>
§quick_link: Vec<QuickLink>
§title: Option<String>
§backend_id: Option<i32>
§browse_tab: Option<BrowseTab>
§landing_tab_index: Option<i32>
§quick_link_tab_index: Option<i32>
§quick_link_fallback_tab_index: Option<i32>
§is_family_safe: Option<bool>
Implementations§
source§impl BrowseResponse
impl BrowseResponse
sourcepub fn contents_url(&self) -> &str
pub fn contents_url(&self) -> &str
Returns the value of contents_url
, or the default value if contents_url
is unset.
sourcepub fn promo_url(&self) -> &str
pub fn promo_url(&self) -> &str
Returns the value of promo_url
, or the default value if promo_url
is unset.
Returns the value of server_logs_cookie
, or the default value if server_logs_cookie
is unset.
sourcepub fn title(&self) -> &str
pub fn title(&self) -> &str
Returns the value of title
, or the default value if title
is unset.
sourcepub fn backend_id(&self) -> i32
pub fn backend_id(&self) -> i32
Returns the value of backend_id
, or the default value if backend_id
is unset.
sourcepub fn landing_tab_index(&self) -> i32
pub fn landing_tab_index(&self) -> i32
Returns the value of landing_tab_index
, or the default value if landing_tab_index
is unset.
sourcepub fn quick_link_tab_index(&self) -> i32
pub fn quick_link_tab_index(&self) -> i32
Returns the value of quick_link_tab_index
, or the default value if quick_link_tab_index
is unset.
sourcepub fn quick_link_fallback_tab_index(&self) -> i32
pub fn quick_link_fallback_tab_index(&self) -> i32
Returns the value of quick_link_fallback_tab_index
, or the default value if quick_link_fallback_tab_index
is unset.
sourcepub fn is_family_safe(&self) -> bool
pub fn is_family_safe(&self) -> bool
Returns the value of is_family_safe
, or the default value if is_family_safe
is unset.
Returns the value of share_url
, or the default value if share_url
is unset.
Trait Implementations§
source§impl Clone for BrowseResponse
impl Clone for BrowseResponse
source§fn clone(&self) -> BrowseResponse
fn clone(&self) -> BrowseResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BrowseResponse
impl Debug for BrowseResponse
source§impl Default for BrowseResponse
impl Default for BrowseResponse
source§impl Message for BrowseResponse
impl Message for BrowseResponse
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 BrowseResponse
impl PartialEq for BrowseResponse
source§fn eq(&self, other: &BrowseResponse) -> bool
fn eq(&self, other: &BrowseResponse) -> bool
self
and other
values to be equal, and is used
by ==
.