pub struct InboxEntry {
pub path: String,
pub etag: String,
pub author: String,
pub added_unix: u64,
pub crc64_b64: Option<String>,
}Fields§
§path: String§etag: StringThe object ETag the write produced — what consume fetches If-Match (a superseded entry is dropped, not an error).
Who wrote it (user identity from the gateway; audit surface).
added_unix: u64§crc64_b64: Option<String>CRC-64/NVME (wire form) of the bytes the write produced, computed
by the writer over what it sent — the gateway over the request
body, a merge-preserved entry from the manifest it came from.
Consume verifies the fetched bytes against it before they are
written, which is the only verification a backend that attests
no checksum (Ozone) gets. None when the writer had no bytes in
hand (a draft promote is a server-side copy).
Trait Implementations§
Source§impl Clone for InboxEntry
impl Clone for InboxEntry
Source§fn clone(&self) -> InboxEntry
fn clone(&self) -> InboxEntry
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 InboxEntry
impl Debug for InboxEntry
Source§impl<'de> Deserialize<'de> for InboxEntry
impl<'de> Deserialize<'de> for InboxEntry
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 InboxEntry
Source§impl PartialEq for InboxEntry
impl PartialEq for InboxEntry
Source§impl Serialize for InboxEntry
impl Serialize for InboxEntry
impl StructuralPartialEq for InboxEntry
Auto Trait Implementations§
impl Freeze for InboxEntry
impl RefUnwindSafe for InboxEntry
impl Send for InboxEntry
impl Sync for InboxEntry
impl Unpin for InboxEntry
impl UnsafeUnpin for InboxEntry
impl UnwindSafe for InboxEntry
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