pub struct VecProfile {
pub model_identity: String,
pub model_version: Option<String>,
pub dimensions: u32,
pub active_at: Option<i64>,
pub created_at: i64,
}Expand description
Stored vector embedding profile (global, kind-agnostic).
Created and updated by AdminService::set_vec_profile.
Fields§
§model_identity: StringIdentifier for the embedding model (e.g. "openai/text-embedding-3-small").
model_version: Option<String>Optional version string for the model.
dimensions: u32Number of dimensions produced by the model.
active_at: Option<i64>Unix timestamp when the profile was last activated, or None if never.
created_at: i64Unix timestamp when the profile row was first created.
Trait Implementations§
Source§impl Clone for VecProfile
impl Clone for VecProfile
Source§fn clone(&self) -> VecProfile
fn clone(&self) -> VecProfile
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 VecProfile
impl Debug for VecProfile
Source§impl<'de> Deserialize<'de> for VecProfile
impl<'de> Deserialize<'de> for VecProfile
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 VecProfile
impl PartialEq for VecProfile
Source§impl Serialize for VecProfile
impl Serialize for VecProfile
impl Eq for VecProfile
impl StructuralPartialEq for VecProfile
Auto Trait Implementations§
impl Freeze for VecProfile
impl RefUnwindSafe for VecProfile
impl Send for VecProfile
impl Sync for VecProfile
impl Unpin for VecProfile
impl UnsafeUnpin for VecProfile
impl UnwindSafe for VecProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.