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(&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.