#[non_exhaustive]pub struct TurnUnqueuedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub turn_id: String,
pub command_id: String,
}Expand description
turn/unqueued params: a queued submit’s reclaim durably won; its
pre-minted turn never runs. Carries the reclaimed turnId and the
commandId of the turn/start that queued it, so a client can restore the
submission’s text exactly as for turn/retracted. No
turn/started/turn/completed is ever emitted for this turnId.
sourceRange cites the SESSION stream’s reclaim record — a reclaimed turn
never had a run stream.
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 (the session stream’s reclaim record).
turn_id: StringThe reclaimed turn: pre-minted at admission, never launched.
command_id: StringThe commandId of the turn/start that queued the reclaimed turn.
Trait Implementations§
Source§impl Clone for TurnUnqueuedParams
impl Clone for TurnUnqueuedParams
Source§impl Debug for TurnUnqueuedParams
impl Debug for TurnUnqueuedParams
Source§impl<'de> Deserialize<'de> for TurnUnqueuedParams
impl<'de> Deserialize<'de> for TurnUnqueuedParams
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 TurnUnqueuedParams
impl PartialEq for TurnUnqueuedParams
Source§impl Serialize for TurnUnqueuedParams
impl Serialize for TurnUnqueuedParams
impl StructuralPartialEq for TurnUnqueuedParams
Auto Trait Implementations§
impl Forget for TurnUnqueuedParams
impl Freeze for TurnUnqueuedParams
impl Move for TurnUnqueuedParams
impl RefUnwindSafe for TurnUnqueuedParams
impl Send for TurnUnqueuedParams
impl Sync for TurnUnqueuedParams
impl Unpin for TurnUnqueuedParams
impl UnsafeUnpin for TurnUnqueuedParams
impl UnwindSafe for TurnUnqueuedParams
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