pub struct RetirementReceipt {
pub artifact: String,
pub bytes_shipped: u64,
pub digest_hex: String,
pub verified_at_destination: bool,
pub local_copy_removed: bool,
}Expand description
What a completed retirement reports. Every field is about the archive that moved; nothing here describes an index, because a sealed archive carries its own and no index is shipped separately.
Fields§
§artifact: StringThe name the generation was filed under at the destination.
bytes_shipped: u64§digest_hex: StringThe archive’s digest, as computed locally and as confirmed by holger. They are the same value or the retirement failed.
verified_at_destination: boolHolger read the archive back and it verified. Never false on success —
the local copy is not removed until this is true.
local_copy_removed: boolWhether the local file was unlinked afterwards.
Trait Implementations§
Source§impl Clone for RetirementReceipt
impl Clone for RetirementReceipt
Source§fn clone(&self) -> RetirementReceipt
fn clone(&self) -> RetirementReceipt
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 RetirementReceipt
impl Debug for RetirementReceipt
impl Eq for RetirementReceipt
Source§impl PartialEq for RetirementReceipt
impl PartialEq for RetirementReceipt
impl StructuralPartialEq for RetirementReceipt
Auto Trait Implementations§
impl Freeze for RetirementReceipt
impl RefUnwindSafe for RetirementReceipt
impl Send for RetirementReceipt
impl Sync for RetirementReceipt
impl Unpin for RetirementReceipt
impl UnsafeUnpin for RetirementReceipt
impl UnwindSafe for RetirementReceipt
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.