pub struct TabSummary {
pub index: u32,
pub title: String,
pub url: String,
pub is_active: bool,
}Expand description
A brief summary of a tab, suitable for embedding in window listings.
Fields§
§index: u32Zero-based position of the tab within its window.
title: StringThe tab’s title.
url: StringThe URL currently loaded in the tab.
is_active: boolWhether this is the currently active (focused) tab in its window.
Trait Implementations§
Source§impl Clone for TabSummary
impl Clone for TabSummary
Source§fn clone(&self) -> TabSummary
fn clone(&self) -> TabSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TabSummary
impl Debug for TabSummary
Source§impl<'de> Deserialize<'de> for TabSummary
impl<'de> Deserialize<'de> for TabSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TabSummary
impl PartialEq for TabSummary
Source§impl Serialize for TabSummary
impl Serialize for TabSummary
impl Eq for TabSummary
impl StructuralPartialEq for TabSummary
Auto Trait Implementations§
impl Freeze for TabSummary
impl RefUnwindSafe for TabSummary
impl Send for TabSummary
impl Sync for TabSummary
impl Unpin for TabSummary
impl UnsafeUnpin for TabSummary
impl UnwindSafe for TabSummary
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