Tab

Struct Tab 

Source
pub struct Tab {
Show 20 fields pub active: bool, pub audible: Option<bool>, pub auto_discardable: bool, pub discarded: bool, pub fav_icon_url: Option<String>, pub group_id: i32, pub height: Option<u32>, pub highlighted: bool, pub id: Option<TabId>, pub incognito: bool, pub index: u32, pub opener_tab_id: Option<TabId>, pub pending_url: Option<String>, pub pinned: bool, pub session_id: Option<String>, pub status: Option<Status>, pub title: Option<String>, pub url: Option<String>, pub width: Option<u32>, pub window_id: i32,
}
Expand description

Fields§

§active: bool§audible: Option<bool>§auto_discardable: bool§discarded: bool§fav_icon_url: Option<String>§group_id: i32§height: Option<u32>§highlighted: bool§id: Option<TabId>§incognito: bool§index: u32§opener_tab_id: Option<TabId>§pending_url: Option<String>§pinned: bool§session_id: Option<String>§status: Option<Status>§title: Option<String>§url: Option<String>§width: Option<u32>§window_id: i32

Trait Implementations§

Source§

impl Debug for Tab

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Tab

Source§

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 From<Tab> for Tab

Source§

fn from(info: Tab) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Tab

Source§

fn eq(&self, other: &Tab) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for Tab

Source§

impl StructuralPartialEq for Tab

Auto Trait Implementations§

§

impl Freeze for Tab

§

impl RefUnwindSafe for Tab

§

impl Send for Tab

§

impl Sync for Tab

§

impl Unpin for Tab

§

impl UnwindSafe for Tab

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,