pub struct EmbeddingEntry {
pub file_path: String,
pub symbol_name: String,
pub start_line: usize,
pub end_line: usize,
pub embedding: Vec<f32>,
pub content_hash: String,
}Fields§
§file_path: String§symbol_name: String§start_line: usize§end_line: usize§embedding: Vec<f32>§content_hash: StringTrait Implementations§
Source§impl Clone for EmbeddingEntry
impl Clone for EmbeddingEntry
Source§fn clone(&self) -> EmbeddingEntry
fn clone(&self) -> EmbeddingEntry
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 moreSource§impl Debug for EmbeddingEntry
impl Debug for EmbeddingEntry
Source§impl<'de> Deserialize<'de> for EmbeddingEntry
impl<'de> Deserialize<'de> for EmbeddingEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EmbeddingEntry
impl RefUnwindSafe for EmbeddingEntry
impl Send for EmbeddingEntry
impl Sync for EmbeddingEntry
impl Unpin for EmbeddingEntry
impl UnsafeUnpin for EmbeddingEntry
impl UnwindSafe for EmbeddingEntry
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