pub struct Snapshot {
pub id: String,
pub collection_name: String,
pub created_at: DateTime<Utc>,
pub vectors_count: usize,
pub checksum: String,
pub size_bytes: u64,
}Expand description
Snapshot metadata and information
Fields§
§id: StringUnique snapshot identifier
collection_name: StringName of the collection this snapshot represents
created_at: DateTime<Utc>Timestamp when the snapshot was created
vectors_count: usizeNumber of vectors in the snapshot
checksum: StringSHA-256 checksum of the snapshot data
size_bytes: u64Size of the snapshot in bytes (compressed)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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 Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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