pub struct BaselineEntry {
pub etag: String,
pub generation: u64,
pub size: u64,
pub mtime_unix: i64,
pub mtime_nanos: Option<u32>,
pub crc64_b64: 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§mtime_nanos: Option<u32>Sub-second mtime, when this entry was written by a syncer that
stamps it; None compares as “unknown” (scan::stat_changed).
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.
Trait Implementations§
Source§impl Clone for BaselineEntry
impl Clone for BaselineEntry
Source§fn clone(&self) -> BaselineEntry
fn clone(&self) -> BaselineEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaselineEntry
impl Debug for BaselineEntry
Source§impl<'de> Deserialize<'de> for BaselineEntry
impl<'de> Deserialize<'de> for BaselineEntry
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 BaselineEntry
Source§impl PartialEq for BaselineEntry
impl PartialEq for BaselineEntry
Source§impl Serialize for BaselineEntry
impl Serialize for BaselineEntry
impl StructuralPartialEq for BaselineEntry
Auto Trait Implementations§
impl Freeze for BaselineEntry
impl RefUnwindSafe for BaselineEntry
impl Send for BaselineEntry
impl Sync for BaselineEntry
impl Unpin for BaselineEntry
impl UnsafeUnpin for BaselineEntry
impl UnwindSafe for BaselineEntry
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