pub struct PatternVector {
pub key: BlockKey,
pub embedding: Vec<f32>,
pub score: f32,
}Expand description
A block’s access-pattern embedding for similarity search.
Fields§
§key: BlockKeyThe block this vector represents.
embedding: Vec<f32>Access-pattern embedding (typically 4 dimensions).
score: f32Tiering score at the time of insertion.
Trait Implementations§
Source§impl Clone for PatternVector
impl Clone for PatternVector
Source§fn clone(&self) -> PatternVector
fn clone(&self) -> PatternVector
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 PatternVector
impl RefUnwindSafe for PatternVector
impl Send for PatternVector
impl Sync for PatternVector
impl Unpin for PatternVector
impl UnsafeUnpin for PatternVector
impl UnwindSafe for PatternVector
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