pub struct Snapshot {
pub id: String,
pub tenant_id: String,
pub workspace_id: String,
pub digest: String,
pub source_version: u64,
pub size_bytes: u64,
pub file_count: usize,
pub created_at_ms: u64,
pub expires_at_ms: u64,
pub request_digest: String,
pub object_ref: Option<SnapshotObjectRef>,
}Fields§
§id: String§tenant_id: String§workspace_id: String§digest: String§source_version: u64§size_bytes: u64§file_count: usize§created_at_ms: u64§expires_at_ms: u64§request_digest: String§object_ref: Option<SnapshotObjectRef>Durable object-store reference. Legacy rows can omit this while they are migrated from the former inline SQL blob representation.
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
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin 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