pub struct SemanticVec {
pub model: String,
pub vec: Vec<u8>,
}Expand description
A query phrase’s embedding: the model whose cache to read and the vector as a float32 little-endian blob.
Fields§
§model: String§vec: Vec<u8>Trait Implementations§
Source§impl Clone for SemanticVec
impl Clone for SemanticVec
Source§impl Debug for SemanticVec
impl Debug for SemanticVec
Source§impl PartialEq for SemanticVec
impl PartialEq for SemanticVec
impl StructuralPartialEq for SemanticVec
Auto Trait Implementations§
impl Freeze for SemanticVec
impl RefUnwindSafe for SemanticVec
impl Send for SemanticVec
impl Sync for SemanticVec
impl Unpin for SemanticVec
impl UnsafeUnpin for SemanticVec
impl UnwindSafe for SemanticVec
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