#[non_exhaustive]pub struct TurnForegroundCompletedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub turn_id: String,
pub blocking_agents: Vec<String>,
}Expand description
turn/foregroundCompleted params: the turn’s foreground work is done and
named background reminder checks hold the turn open. Explicitly
non-terminal: the turn ends only at turn/completed / turn/unqueued.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe owning session.
view_cursor: StringOpaque, strictly monotonic view cursor.
source_range: SourceRangeThe durable records this event folded from, anchored at the first blocking link of the firing window.
turn_id: StringThe turn whose foreground completed.
blocking_agents: Vec<String>reminderAgentIds of the firing’s blocking set, never empty; agent
ids, never display names. Live-best-effort: reads, resume, and
replay may narrow it to the linked subset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TurnForegroundCompletedParams
impl<'de> Deserialize<'de> for TurnForegroundCompletedParams
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 StructuralPartialEq for TurnForegroundCompletedParams
Auto Trait Implementations§
impl Forget for TurnForegroundCompletedParams
impl Freeze for TurnForegroundCompletedParams
impl Move for TurnForegroundCompletedParams
impl RefUnwindSafe for TurnForegroundCompletedParams
impl Send for TurnForegroundCompletedParams
impl Sync for TurnForegroundCompletedParams
impl Unpin for TurnForegroundCompletedParams
impl UnsafeUnpin for TurnForegroundCompletedParams
impl UnwindSafe for TurnForegroundCompletedParams
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