pub struct BrowserTabRow {
pub number: u16,
pub title: String,
pub url: String,
pub owner: SessionSlot,
pub opener: Option<u16>,
pub state: BrowserTabState,
pub dialog: Option<BrowserTabDialog>,
}Expand description
One tab as a client’s browser strip draws it.
Fields§
§number: u16The host’s tab number, which frames and input already speak.
title: String§url: String§owner: SessionSlotThe session whose calls drive it.
opener: Option<u16>The tab whose page opened this one, when this is a popup. The opener is a tab number, not a page id: the surface follows a popup in and hands back on the tab that opened it.
state: BrowserTabState§dialog: Option<BrowserTabDialog>The page dialog holding this tab, when one is open.
Trait Implementations§
Source§impl Clone for BrowserTabRow
impl Clone for BrowserTabRow
Source§impl Debug for BrowserTabRow
impl Debug for BrowserTabRow
Source§impl<'de> Deserialize<'de> for BrowserTabRow
impl<'de> Deserialize<'de> for BrowserTabRow
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
impl Eq for BrowserTabRow
Source§impl PartialEq for BrowserTabRow
impl PartialEq for BrowserTabRow
Source§impl Serialize for BrowserTabRow
impl Serialize for BrowserTabRow
impl StructuralPartialEq for BrowserTabRow
Auto Trait Implementations§
impl Freeze for BrowserTabRow
impl RefUnwindSafe for BrowserTabRow
impl Send for BrowserTabRow
impl Sync for BrowserTabRow
impl Unpin for BrowserTabRow
impl UnsafeUnpin for BrowserTabRow
impl UnwindSafe for BrowserTabRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.