pub struct PlanningScreen {
pub active_app: String,
pub window: String,
pub summary: Option<String>,
pub url: Option<String>,
}Expand description
Compact screen-level summary written by perception.
Fields§
§active_app: StringFrontmost application name (e.g. “Google Chrome”, “Numbers”).
window: StringActive window title.
summary: Option<String>One-paragraph natural-language summary of what is on screen. Optional — builders may leave empty for the deterministic path.
url: Option<String>Current URL when the active app is a browser with CDP bound.
Trait Implementations§
Source§impl Clone for PlanningScreen
impl Clone for PlanningScreen
Source§fn clone(&self) -> PlanningScreen
fn clone(&self) -> PlanningScreen
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 PlanningScreen
impl Debug for PlanningScreen
Source§impl Default for PlanningScreen
impl Default for PlanningScreen
Source§fn default() -> PlanningScreen
fn default() -> PlanningScreen
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlanningScreen
impl<'de> Deserialize<'de> for PlanningScreen
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
Auto Trait Implementations§
impl Freeze for PlanningScreen
impl RefUnwindSafe for PlanningScreen
impl Send for PlanningScreen
impl Sync for PlanningScreen
impl Unpin for PlanningScreen
impl UnsafeUnpin for PlanningScreen
impl UnwindSafe for PlanningScreen
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