pub struct BrowseTab {
pub title: Option<String>,
pub server_logs_cookie: Option<Vec<u8>>,
pub list_url: Option<String>,
pub browse_link: Vec<BrowseLink>,
pub quick_link: Vec<QuickLink>,
pub quick_link_title: Option<String>,
pub categories_title: Option<String>,
pub backend_id: Option<i32>,
pub highlights_banner_url: Option<String>,
}Fields§
§title: Option<String>§list_url: Option<String>§browse_link: Vec<BrowseLink>§quick_link: Vec<QuickLink>§quick_link_title: Option<String>§categories_title: Option<String>§backend_id: Option<i32>Implementations§
Source§impl BrowseTab
impl BrowseTab
Sourcepub fn title(&self) -> &str
pub fn title(&self) -> &str
Returns the value of title, or the default value if title is unset.
Returns the value of server_logs_cookie, or the default value if server_logs_cookie is unset.
Sourcepub fn list_url(&self) -> &str
pub fn list_url(&self) -> &str
Returns the value of list_url, or the default value if list_url is unset.
Sourcepub fn quick_link_title(&self) -> &str
pub fn quick_link_title(&self) -> &str
Returns the value of quick_link_title, or the default value if quick_link_title is unset.
Sourcepub fn categories_title(&self) -> &str
pub fn categories_title(&self) -> &str
Returns the value of categories_title, or the default value if categories_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.
Returns the value of highlights_banner_url, or the default value if highlights_banner_url is unset.
Trait Implementations§
Source§impl Message for BrowseTab
impl Message for BrowseTab
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.impl StructuralPartialEq for BrowseTab
Auto Trait Implementations§
impl Freeze for BrowseTab
impl RefUnwindSafe for BrowseTab
impl Send for BrowseTab
impl Sync for BrowseTab
impl Unpin for BrowseTab
impl UnwindSafe for BrowseTab
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