#[non_exhaustive]pub struct TurnRetractedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub turn_id: String,
pub command_id: String,
pub outcome: Option<RetractOutcome>,
}Expand description
turn/retracted params: an interrupt-paired retract durably settled,
accepted or declined. On "accepted" the retracted user-message item is
re-emitted via item/updated with retracted: true; on "declined" the
client folds the legacy declined rollback instead and no item is re-emitted.
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.
turn_id: StringThe turn whose submission was retracted.
command_id: StringThe retracted submission’s command id.
outcome: Option<RetractOutcome>The retract settlement outcome. Additive-optional: absent reads as
"accepted" — pre-feature hosts emit the event only for accepted
retracts — and so does an unrecognized value.
Trait Implementations§
Source§impl Clone for TurnRetractedParams
impl Clone for TurnRetractedParams
Source§impl Debug for TurnRetractedParams
impl Debug for TurnRetractedParams
Source§impl<'de> Deserialize<'de> for TurnRetractedParams
impl<'de> Deserialize<'de> for TurnRetractedParams
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 TurnRetractedParams
impl PartialEq for TurnRetractedParams
Source§impl Serialize for TurnRetractedParams
impl Serialize for TurnRetractedParams
impl StructuralPartialEq for TurnRetractedParams
Auto Trait Implementations§
impl Forget for TurnRetractedParams
impl Freeze for TurnRetractedParams
impl Move for TurnRetractedParams
impl RefUnwindSafe for TurnRetractedParams
impl Send for TurnRetractedParams
impl Sync for TurnRetractedParams
impl Unpin for TurnRetractedParams
impl UnsafeUnpin for TurnRetractedParams
impl UnwindSafe for TurnRetractedParams
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