pub struct ContextVersionMeta {
pub version: u64,
pub turn: u64,
pub timestamp: u64,
pub message_count: usize,
pub has_summary: bool,
}Expand description
Metadata for a stored context version (returned by list_versions).
Fields§
§version: u64Version number.
turn: u64Turn number when created.
timestamp: u64Unix timestamp when created.
message_count: usizeNumber of messages in this version.
has_summary: boolWhether a summary is available.
Trait Implementations§
Source§impl Clone for ContextVersionMeta
impl Clone for ContextVersionMeta
Source§fn clone(&self) -> ContextVersionMeta
fn clone(&self) -> ContextVersionMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 ContextVersionMeta
impl RefUnwindSafe for ContextVersionMeta
impl Send for ContextVersionMeta
impl Sync for ContextVersionMeta
impl Unpin for ContextVersionMeta
impl UnsafeUnpin for ContextVersionMeta
impl UnwindSafe for ContextVersionMeta
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