pub struct WriteOutcome {
pub bytes_written: Option<u64>,
pub etag: Option<String>,
pub diagnostics: Metadata,
}Expand description
Outcome returned when a writer is committed.
Fields§
§bytes_written: Option<u64>Number of bytes written when known.
etag: Option<String>Provider version or HTTP-style ETag when known.
diagnostics: MetadataProvider-native diagnostics.
Implementations§
Trait Implementations§
Source§impl Clone for WriteOutcome
impl Clone for WriteOutcome
Source§fn clone(&self) -> WriteOutcome
fn clone(&self) -> WriteOutcome
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 WriteOutcome
impl Debug for WriteOutcome
Source§impl Default for WriteOutcome
impl Default for WriteOutcome
Source§impl PartialEq for WriteOutcome
impl PartialEq for WriteOutcome
Source§fn eq(&self, other: &WriteOutcome) -> bool
fn eq(&self, other: &WriteOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WriteOutcome
Auto Trait Implementations§
impl Freeze for WriteOutcome
impl RefUnwindSafe for WriteOutcome
impl Send for WriteOutcome
impl Sync for WriteOutcome
impl Unpin for WriteOutcome
impl UnsafeUnpin for WriteOutcome
impl UnwindSafe for WriteOutcome
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<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.