pub struct Observation {
pub frame_id: u64,
pub captured_at: String,
pub width: u16,
pub height: u16,
pub cursor: Cursor,
pub active_window: String,
pub png_base64: Option<String>,
pub opened_screen: Option<u8>,
}Expand description
Reply to POST /sessions/{id}/observe.
Fields§
§frame_id: u64Changes whenever the screen content changed since the previous frame.
captured_at: StringCapture time as an RFC 3339 UTC timestamp.
width: u16§height: u16§cursor: Cursor§active_window: StringTitle of the focused window, empty when there is none.
png_base64: Option<String>Base64 PNG of the screen. None when the frame is the one the session saw last.
opened_screen: Option<u8>Screen number this call opened for the session, set on a reply to observe and never inside an ActReply.
Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§impl Debug for Observation
impl Debug for Observation
Source§impl<'de> Deserialize<'de> for Observation
impl<'de> Deserialize<'de> for Observation
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 Observation
Source§impl PartialEq for Observation
impl PartialEq for Observation
Source§impl Serialize for Observation
impl Serialize for Observation
impl StructuralPartialEq for Observation
Auto Trait Implementations§
impl Freeze for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
impl UnwindSafe for Observation
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