pub struct SessionHistoryTruncateResult {
pub checkpoint_cleanup_error: Option<String>,
pub checkpoint_cleanup_failed: Option<bool>,
pub events_removed: i64,
}Expand description
Number of events that were removed by the truncation.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§checkpoint_cleanup_error: Option<String>Failure detail when checkpointCleanupFailed is true.
checkpoint_cleanup_failed: Option<bool>True when conversation truncation succeeded but post-truncation workspace checkpoint cleanup failed. History is already truncated; callers may still prune snapshots but should report a checkpoint-cleanup rather than a truncation failure.
events_removed: i64Number of events that were removed
Trait Implementations§
Source§impl Clone for SessionHistoryTruncateResult
impl Clone for SessionHistoryTruncateResult
Source§fn clone(&self) -> SessionHistoryTruncateResult
fn clone(&self) -> SessionHistoryTruncateResult
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 SessionHistoryTruncateResult
impl Debug for SessionHistoryTruncateResult
Source§impl Default for SessionHistoryTruncateResult
impl Default for SessionHistoryTruncateResult
Source§fn default() -> SessionHistoryTruncateResult
fn default() -> SessionHistoryTruncateResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionHistoryTruncateResult
impl<'de> Deserialize<'de> for SessionHistoryTruncateResult
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
Auto Trait Implementations§
impl Freeze for SessionHistoryTruncateResult
impl RefUnwindSafe for SessionHistoryTruncateResult
impl Send for SessionHistoryTruncateResult
impl Sync for SessionHistoryTruncateResult
impl Unpin for SessionHistoryTruncateResult
impl UnsafeUnpin for SessionHistoryTruncateResult
impl UnwindSafe for SessionHistoryTruncateResult
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