pub struct CompletedUploadReceipt { /* private fields */ }Expand description
Everything a receipt attests, read out of a durable upload session that was observed in its terminal completed state.
The type has no public constructor on purpose. The only way to hold one is for the upload protocol to have loaded a completed session from the object store, so a receipt can never be minted from an in-memory expectation, a provider response, or a completion still in flight.
Implementations§
Source§impl CompletedUploadReceipt
impl CompletedUploadReceipt
Sourcepub fn content_ref(&self) -> &ContentRef
pub fn content_ref(&self) -> &ContentRef
Returns the completed session’s verified content reference.
Trait Implementations§
Source§impl Clone for CompletedUploadReceipt
impl Clone for CompletedUploadReceipt
Source§fn clone(&self) -> CompletedUploadReceipt
fn clone(&self) -> CompletedUploadReceipt
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 CompletedUploadReceipt
impl Debug for CompletedUploadReceipt
impl Eq for CompletedUploadReceipt
Source§impl PartialEq for CompletedUploadReceipt
impl PartialEq for CompletedUploadReceipt
impl StructuralPartialEq for CompletedUploadReceipt
Auto Trait Implementations§
impl Freeze for CompletedUploadReceipt
impl RefUnwindSafe for CompletedUploadReceipt
impl Send for CompletedUploadReceipt
impl Sync for CompletedUploadReceipt
impl Unpin for CompletedUploadReceipt
impl UnsafeUnpin for CompletedUploadReceipt
impl UnwindSafe for CompletedUploadReceipt
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
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more