pub struct ChunkEmbedding {
pub chunk_hash: ChunkHash,
pub provider: EmbeddingProviderId,
pub model: String,
pub dimensions: usize,
pub vector: Vec<f32>,
}Fields§
§chunk_hash: ChunkHash§provider: EmbeddingProviderId§model: String§dimensions: usize§vector: Vec<f32>Trait Implementations§
Source§impl Clone for ChunkEmbedding
impl Clone for ChunkEmbedding
Source§fn clone(&self) -> ChunkEmbedding
fn clone(&self) -> ChunkEmbedding
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 ChunkEmbedding
impl Debug for ChunkEmbedding
Source§impl<'de> Deserialize<'de> for ChunkEmbedding
impl<'de> Deserialize<'de> for ChunkEmbedding
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
Source§impl PartialEq for ChunkEmbedding
impl PartialEq for ChunkEmbedding
Source§fn eq(&self, other: &ChunkEmbedding) -> bool
fn eq(&self, other: &ChunkEmbedding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChunkEmbedding
impl Serialize for ChunkEmbedding
impl StructuralPartialEq for ChunkEmbedding
Auto Trait Implementations§
impl Freeze for ChunkEmbedding
impl RefUnwindSafe for ChunkEmbedding
impl Send for ChunkEmbedding
impl Sync for ChunkEmbedding
impl Unpin for ChunkEmbedding
impl UnsafeUnpin for ChunkEmbedding
impl UnwindSafe for ChunkEmbedding
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