pub struct DurableConversationCommit {
pub namespace: MemoryNamespace,
pub append: ConversationAppend,
pub checkpoint: Checkpoint,
pub expected_checkpoint_revision: u64,
}Expand description
Final state of one durable conversational Agent turn.
Implementations must validate both optimistic preconditions and commit the transcript append and checkpoint replacement in one storage transaction.
Fields§
§namespace: MemoryNamespaceNamespace owning the conversation.
append: ConversationAppendCanonical messages produced by the single Agent execution.
checkpoint: CheckpointCompleted checkpoint revision to persist with the transcript.
expected_checkpoint_revision: u64Checkpoint revision observed immediately before the final commit.
Trait Implementations§
Source§impl Clone for DurableConversationCommit
impl Clone for DurableConversationCommit
Source§fn clone(&self) -> DurableConversationCommit
fn clone(&self) -> DurableConversationCommit
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 moreAuto Trait Implementations§
impl Freeze for DurableConversationCommit
impl RefUnwindSafe for DurableConversationCommit
impl Send for DurableConversationCommit
impl Sync for DurableConversationCommit
impl Unpin for DurableConversationCommit
impl UnsafeUnpin for DurableConversationCommit
impl UnwindSafe for DurableConversationCommit
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