pub struct WindowSummary {
pub id: u32,
pub title: String,
pub title_prefix: Option<String>,
pub is_focused: bool,
pub state: WindowState,
pub tabs: Vec<TabSummary>,
}Expand description
A summary of a browser window including its tabs.
Fields§
§id: u32The window’s unique identifier within the browser.
title: StringThe full window title as displayed in the title bar.
title_prefix: Option<String>An optional prefix prepended to the window title (Firefox-only, via titlePreface).
is_focused: boolWhether this window currently has input focus.
state: WindowStateThe current visual state of the window.
tabs: Vec<TabSummary>Brief summaries of the tabs open in this window.
Trait Implementations§
Source§impl Clone for WindowSummary
impl Clone for WindowSummary
Source§fn clone(&self) -> WindowSummary
fn clone(&self) -> WindowSummary
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 WindowSummary
impl Debug for WindowSummary
Source§impl<'de> Deserialize<'de> for WindowSummary
impl<'de> Deserialize<'de> for WindowSummary
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 WindowSummary
impl PartialEq for WindowSummary
Source§impl Serialize for WindowSummary
impl Serialize for WindowSummary
impl Eq for WindowSummary
impl StructuralPartialEq for WindowSummary
Auto Trait Implementations§
impl Freeze for WindowSummary
impl RefUnwindSafe for WindowSummary
impl Send for WindowSummary
impl Sync for WindowSummary
impl Unpin for WindowSummary
impl UnsafeUnpin for WindowSummary
impl UnwindSafe for WindowSummary
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