pub struct WirePresentation {
pub revision: u64,
pub owner: WireOwner,
pub current_action: Option<String>,
pub pending_signin: Option<String>,
pub blackout_active: bool,
pub tabs: Vec<WireTab>,
pub active_tab: Option<String>,
pub url: Option<String>,
pub title: Option<String>,
}Expand description
Everything the drawer renders except the picture itself.
Fields§
§revision: u64Advances only when something actually changed (see
browser_control::PresentationState). Distinct from the subscription
cursor, which counts EVENTS including frames.
owner: WireOwner§current_action: Option<String>What the agent is doing right now, in plain words, or null.
pending_signin: Option<String>The sign-in strip’s plain-words prompt while one is pending.
blackout_active: boolWhile true, no page observation reaches the model and no frame
reaches browser_record’s output — the drawer keeps streaming.
tabs: Vec<WireTab>§active_tab: Option<String>Convenience projections of the active tab, so a client does not have
to scan tabs to render the nav bar.
url: Option<String>§title: Option<String>Trait Implementations§
Source§impl Clone for WirePresentation
impl Clone for WirePresentation
Source§fn clone(&self) -> WirePresentation
fn clone(&self) -> WirePresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WirePresentation
impl Debug for WirePresentation
Source§impl<'de> Deserialize<'de> for WirePresentation
impl<'de> Deserialize<'de> for WirePresentation
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 From<&Presentation> for WirePresentation
impl From<&Presentation> for WirePresentation
Source§fn from(p: &Presentation) -> Self
fn from(p: &Presentation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WirePresentation
impl PartialEq for WirePresentation
Source§impl Serialize for WirePresentation
impl Serialize for WirePresentation
impl StructuralPartialEq for WirePresentation
Auto Trait Implementations§
impl Freeze for WirePresentation
impl RefUnwindSafe for WirePresentation
impl Send for WirePresentation
impl Sync for WirePresentation
impl Unpin for WirePresentation
impl UnsafeUnpin for WirePresentation
impl UnwindSafe for WirePresentation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more