pub struct PendingEntry {
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,
pub version_id: Option<String>,
pub base_version_id: Option<String>,
pub staged_unix: u64,
}Expand description
One staged-but-uncited generation.
Fields§
§key: String§etag: String§crc64_b64: StringThe publisher’s CRC over the bytes it staged (see
LeanEntry::crc64_b64).
size: u64§mode: u32§mtime_unix: i64§generation: u64§epoch: u64§version_id: Option<String>The version this staging PUT created.
base_version_id: Option<String>The version the BASELINE cited when we staged (D7’s re-validation guard). If the baseline’s version has moved by citation time, a HITL consume or sync landed after staging, and installing our staged version would UNCITE the foreign bytes.
staged_unix: u64Trait Implementations§
Source§impl Clone for PendingEntry
impl Clone for PendingEntry
Source§fn clone(&self) -> PendingEntry
fn clone(&self) -> PendingEntry
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 PendingEntry
impl Debug for PendingEntry
Source§impl<'de> Deserialize<'de> for PendingEntry
impl<'de> Deserialize<'de> for PendingEntry
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
Auto Trait Implementations§
impl Freeze for PendingEntry
impl RefUnwindSafe for PendingEntry
impl Send for PendingEntry
impl Sync for PendingEntry
impl Unpin for PendingEntry
impl UnsafeUnpin for PendingEntry
impl UnwindSafe for PendingEntry
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