pub struct BackupStateV1 {
pub last_export_ms: u64,
pub digest: Hash,
pub r2_key: String,
pub last_upload_ms: u64,
}Expand description
The last consistent Worker snapshot of one partition. A zero export time and empty key mark a timer that has been seeded but has not fired yet.
Fields§
§last_export_ms: u64Export time encoded in the last uploaded snapshot, Unix milliseconds.
digest: HashBLAKE3 of the last uploaded portable export.
r2_key: StringR2 object key of the last upload.
last_upload_ms: u64Time of the last successful upload, Unix milliseconds.
Trait Implementations§
Source§impl Clone for BackupStateV1
impl Clone for BackupStateV1
Source§impl Debug for BackupStateV1
impl Debug for BackupStateV1
Source§impl<'de> Deserialize<'de> for BackupStateV1
impl<'de> Deserialize<'de> for BackupStateV1
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 BackupStateV1
Source§impl PartialEq for BackupStateV1
impl PartialEq for BackupStateV1
Source§impl Serialize for BackupStateV1
impl Serialize for BackupStateV1
impl StructuralPartialEq for BackupStateV1
Auto Trait Implementations§
impl Freeze for BackupStateV1
impl RefUnwindSafe for BackupStateV1
impl Send for BackupStateV1
impl Sync for BackupStateV1
impl Unpin for BackupStateV1
impl UnsafeUnpin for BackupStateV1
impl UnwindSafe for BackupStateV1
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