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
Auto 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