pub struct BundleMetadata {
pub version: String,
pub created_at: DateTime<Utc>,
pub model_id: String,
pub dimension: usize,
pub count: usize,
pub categories: Vec<String>,
pub checksum: String,
}Expand description
Metadata about the embeddings bundle
Fields§
§version: StringBundle version
created_at: DateTime<Utc>When the bundle was created
model_id: StringModel used to generate embeddings
dimension: usizeEmbedding dimension
count: usizeTotal number of embeddings
categories: Vec<String>Categories included
checksum: StringChecksum of embeddings data
Trait Implementations§
Source§impl Clone for BundleMetadata
impl Clone for BundleMetadata
Source§fn clone(&self) -> BundleMetadata
fn clone(&self) -> BundleMetadata
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<'de> Deserialize<'de> for BundleMetadata
impl<'de> Deserialize<'de> for BundleMetadata
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 BundleMetadata
impl RefUnwindSafe for BundleMetadata
impl Send for BundleMetadata
impl Sync for BundleMetadata
impl Unpin for BundleMetadata
impl UnwindSafe for BundleMetadata
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