pub struct PrefetchAccounting {
pub operation: PrefetchOperation,
pub bytes_complete: bool,
pub requests_complete: bool,
pub list_result_count: Option<u64>,
pub entries: Vec<PackedEntryTransfer>,
}Expand description
Accounting for one physical backend operation. Nested entries describe payload attribution; their bytes must not be added to the physical total.
Fields§
§operation: PrefetchOperation§bytes_complete: boolTrue when compressed_bytes covers the complete received body. False means partial transport bytes are unavailable (including LIST bodies).
requests_complete: boolCounts calls to the backend, not SDK retries or LIST pages.
list_result_count: Option<u64>§entries: Vec<PackedEntryTransfer>Trait Implementations§
Source§impl Clone for PrefetchAccounting
impl Clone for PrefetchAccounting
Source§fn clone(&self) -> PrefetchAccounting
fn clone(&self) -> PrefetchAccounting
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 PrefetchAccounting
impl Debug for PrefetchAccounting
Source§impl Default for PrefetchAccounting
impl Default for PrefetchAccounting
Source§fn default() -> PrefetchAccounting
fn default() -> PrefetchAccounting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefetchAccounting
impl<'de> Deserialize<'de> for PrefetchAccounting
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 PrefetchAccounting
Source§impl PartialEq for PrefetchAccounting
impl PartialEq for PrefetchAccounting
Source§impl Serialize for PrefetchAccounting
impl Serialize for PrefetchAccounting
impl StructuralPartialEq for PrefetchAccounting
Auto Trait Implementations§
impl Freeze for PrefetchAccounting
impl RefUnwindSafe for PrefetchAccounting
impl Send for PrefetchAccounting
impl Sync for PrefetchAccounting
impl Unpin for PrefetchAccounting
impl UnsafeUnpin for PrefetchAccounting
impl UnwindSafe for PrefetchAccounting
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