pub struct EmbeddingModelRecord {
pub id: Uuid,
pub engine_name: String,
pub model_id: String,
pub key_version: String,
pub dim: u32,
pub output_dim: Option<u32>,
pub status: EmbeddingModelStatus,
pub activated_at: Option<i64>,
pub superseded_at: Option<i64>,
pub superseded_by: Option<Uuid>,
pub canonical_key: Vec<u8>,
pub created_at: i64,
}Expand description
One persisted embedding model identity and its lifecycle history.
Registry reads preserve the stored UUID, canonical key and timestamp values; they do not reconstruct identity or fill in missing history.
Fields§
§id: Uuid§engine_name: String§model_id: String§key_version: String§dim: u32§output_dim: Option<u32>§status: EmbeddingModelStatus§activated_at: Option<i64>§superseded_at: Option<i64>§superseded_by: Option<Uuid>§canonical_key: Vec<u8>§created_at: i64Trait Implementations§
Source§impl Clone for EmbeddingModelRecord
impl Clone for EmbeddingModelRecord
Source§impl Debug for EmbeddingModelRecord
impl Debug for EmbeddingModelRecord
Source§impl<'de> Deserialize<'de> for EmbeddingModelRecord
impl<'de> Deserialize<'de> for EmbeddingModelRecord
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 EmbeddingModelRecord
impl RefUnwindSafe for EmbeddingModelRecord
impl Send for EmbeddingModelRecord
impl Sync for EmbeddingModelRecord
impl Unpin for EmbeddingModelRecord
impl UnsafeUnpin for EmbeddingModelRecord
impl UnwindSafe for EmbeddingModelRecord
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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