pub struct BaselineEntry {
pub etag: String,
pub generation: u64,
pub size: u64,
pub mtime_unix: i64,
pub crc64_b64: Option<String>,
pub version_id: Option<String>,
}Expand description
One published path as this syncer last knew it: the recognized ETag is the If-Match guard for the next publish and the HEAD-guard for GC.
Fields§
§etag: String§generation: u64§size: u64§mtime_unix: i64§crc64_b64: Option<String>CRC-64/NVME (wire form) of the object bytes this syncer integrated at this path — computed from the bytes it wrote or uploaded, never from a HEAD. A citation repair cites it, which is what lets the manifest carry a CRC for an object whose backend returns none (Ozone) or whose HITL uploader sent none.
None only on the consume-dirty sentinel (size == u64::MAX):
the bytes on disk are the LOCAL edit, about to publish under a
CRC of its own, and the sentinel never repairs.
version_id: Option<String>The version the manifest cites for this path, when the bucket is versioned (boundary-verbs plan D7). Carried so a gated citation can re-validate its staging base: if this moved between staging and citation, a HITL consume or sync landed in between and installing the staged version would UNCITE the foreign bytes.
Trait Implementations§
Source§impl Clone for BaselineEntry
impl Clone for BaselineEntry
Source§fn clone(&self) -> BaselineEntry
fn clone(&self) -> BaselineEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more