QueryDetails

Struct QueryDetails 

Source
pub struct QueryDetails<'a> {
Show 17 fields pub active: Option<bool>, pub audible: Option<bool>, pub auto_discardable: Option<bool>, pub cookie_store_id: Option<&'a str>, pub current_window: Option<bool>, pub discarded: Option<bool>, pub hidden: Option<bool>, pub highlighted: Option<bool>, pub index: Option<i32>, pub muted: Option<bool>, pub last_focused_window: Option<bool>, pub pinned: Option<bool>, pub status: Option<Status>, pub title: Option<&'a str>, pub url: Option<&'a str>, pub window_id: i32, pub window_type: Option<WindowType>,
}
Expand description

Fields§

§active: Option<bool>§audible: Option<bool>§auto_discardable: Option<bool>§cookie_store_id: Option<&'a str>§current_window: Option<bool>§discarded: Option<bool>§hidden: Option<bool>§highlighted: Option<bool>§index: Option<i32>§muted: Option<bool>§last_focused_window: Option<bool>§pinned: Option<bool>§status: Option<Status>§title: Option<&'a str>§url: Option<&'a str>§window_id: i32§window_type: Option<WindowType>

Trait Implementations§

Source§

impl<'a> Debug for QueryDetails<'a>

Source§

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

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

impl<'a> Serialize for QueryDetails<'a>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for QueryDetails<'a>

§

impl<'a> RefUnwindSafe for QueryDetails<'a>

§

impl<'a> Send for QueryDetails<'a>

§

impl<'a> Sync for QueryDetails<'a>

§

impl<'a> Unpin for QueryDetails<'a>

§

impl<'a> UnwindSafe for QueryDetails<'a>

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.