Struct EmbeddingRecord
pub struct EmbeddingRecord {
pub asset_id: String,
pub task: TaskKind,
pub platform: String,
pub model_id: ModelId,
pub model_version: ModelVersion,
}Expand description
A stored embedding’s provenance (from the companion table; the vector itself stays in vec0).
Fields§
§asset_id: StringAsset the embedding was produced from.
task: TaskKindTask that produced it.
platform: StringPlatform partition discriminator.
model_id: ModelIdProducing model.
model_version: ModelVersionProducing model version.
Trait Implementations§
§impl Clone for EmbeddingRecord
impl Clone for EmbeddingRecord
§fn clone(&self) -> EmbeddingRecord
fn clone(&self) -> EmbeddingRecord
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 more§impl Debug for EmbeddingRecord
impl Debug for EmbeddingRecord
§impl PartialEq for EmbeddingRecord
impl PartialEq for EmbeddingRecord
impl StructuralPartialEq for EmbeddingRecord
Auto Trait Implementations§
impl Freeze for EmbeddingRecord
impl RefUnwindSafe for EmbeddingRecord
impl Send for EmbeddingRecord
impl Sync for EmbeddingRecord
impl Unpin for EmbeddingRecord
impl UnsafeUnpin for EmbeddingRecord
impl UnwindSafe for EmbeddingRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more