pub struct WatchSession {
pub active: bool,
pub muted: bool,
pub last_interjection_ms: i64,
pub last_scene_phash: u64,
pub consent: Consent,
}Expand description
Persisted proactive-watch session state. Written by the MCP watch_* tools
(via mur-core) and read by the runtime WatchScheduler.
Fields§
§active: bool§muted: bool§last_interjection_ms: i64§last_scene_phash: u64§consent: ConsentTrait Implementations§
Source§impl Clone for WatchSession
impl Clone for WatchSession
Source§fn clone(&self) -> WatchSession
fn clone(&self) -> WatchSession
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 WatchSession
impl Debug for WatchSession
Source§impl Default for WatchSession
impl Default for WatchSession
Source§fn default() -> WatchSession
fn default() -> WatchSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WatchSession
impl<'de> Deserialize<'de> for WatchSession
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 PartialEq for WatchSession
impl PartialEq for WatchSession
Source§fn eq(&self, other: &WatchSession) -> bool
fn eq(&self, other: &WatchSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WatchSession
impl Serialize for WatchSession
impl StructuralPartialEq for WatchSession
Auto Trait Implementations§
impl Freeze for WatchSession
impl RefUnwindSafe for WatchSession
impl Send for WatchSession
impl Sync for WatchSession
impl Unpin for WatchSession
impl UnsafeUnpin for WatchSession
impl UnwindSafe for WatchSession
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