pub struct CheckpointOrigin {
pub task_id: Option<String>,
pub session_id: Option<String>,
pub message_index: Option<i64>,
}Expand description
Provenance of a checkpoint: which runtime task and (for interactive
sessions) which conversation position the checkpointed mutation belonged
to. Default = fully unanchored (manual /checkpoint, headless runs).
Fields§
§task_id: Option<String>Durable daemon task that owned the tool call, when queued.
session_id: Option<String>Conversation id of the interactive session, when any.
message_index: Option<i64>Conversation length (messages().len()) at tool dispatch. A fork at
user-message index k discards this checkpoint iff message_index > k
(strict — see CheckpointsRepo::list_for_session).
Trait Implementations§
Source§impl Clone for CheckpointOrigin
impl Clone for CheckpointOrigin
Source§fn clone(&self) -> CheckpointOrigin
fn clone(&self) -> CheckpointOrigin
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 CheckpointOrigin
impl Debug for CheckpointOrigin
Source§impl Default for CheckpointOrigin
impl Default for CheckpointOrigin
Source§fn default() -> CheckpointOrigin
fn default() -> CheckpointOrigin
Returns the “default value” for a type. Read more
impl Eq for CheckpointOrigin
Source§impl PartialEq for CheckpointOrigin
impl PartialEq for CheckpointOrigin
impl StructuralPartialEq for CheckpointOrigin
Auto Trait Implementations§
impl Freeze for CheckpointOrigin
impl RefUnwindSafe for CheckpointOrigin
impl Send for CheckpointOrigin
impl Sync for CheckpointOrigin
impl Unpin for CheckpointOrigin
impl UnsafeUnpin for CheckpointOrigin
impl UnwindSafe for CheckpointOrigin
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