pub struct LeanEntry {
pub key: String,
pub etag: String,
pub crc64_b64: String,
pub size: u64,
pub mode: u32,
pub mtime_unix: i64,
pub generation: u64,
pub epoch: u64,
}Fields§
§key: StringObject key (under <prefix>/files/).
etag: String§crc64_b64: StringFull-object CRC-64/NVME of the cited bytes, in wire (base64) form — computed by the flint client that MOVED the bytes (the publisher over what it uploaded, a consume or checkout over what it wrote), never copied from a backend header. It is the one integrity check that holds on every backend: S3 attests a checksum on the wire, Ozone attests none, and the manifest’s value describes the bytes either way. Every reader verifies a fresh fetch against it before the file becomes visible.
size: u64§mode: u32§mtime_unix: i64§generation: u64§epoch: u64The publishing writer’s lease epoch (0 = a gateway/HITL write).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LeanEntry
impl<'de> Deserialize<'de> for LeanEntry
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 LeanEntry
impl StructuralPartialEq for LeanEntry
Auto Trait Implementations§
impl Freeze for LeanEntry
impl RefUnwindSafe for LeanEntry
impl Send for LeanEntry
impl Sync for LeanEntry
impl Unpin for LeanEntry
impl UnsafeUnpin for LeanEntry
impl UnwindSafe for LeanEntry
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