pub struct ContextDigest {
pub regions: Vec<RegionDigest>,
}Expand description
Fingerprint of a whole context window, cheap to retain per live run.
Fields§
§regions: Vec<RegionDigest>Per-region fingerprints, in snapshot order.
Trait Implementations§
Source§impl Clone for ContextDigest
impl Clone for ContextDigest
Source§fn clone(&self) -> ContextDigest
fn clone(&self) -> ContextDigest
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 ContextDigest
impl Debug for ContextDigest
Source§impl Default for ContextDigest
impl Default for ContextDigest
Source§fn default() -> ContextDigest
fn default() -> ContextDigest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContextDigest
impl PartialEq for ContextDigest
impl StructuralPartialEq for ContextDigest
Auto Trait Implementations§
impl Freeze for ContextDigest
impl RefUnwindSafe for ContextDigest
impl Send for ContextDigest
impl Sync for ContextDigest
impl Unpin for ContextDigest
impl UnsafeUnpin for ContextDigest
impl UnwindSafe for ContextDigest
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