pub struct TimelineTransfer {Show 16 fields
pub accounting: Option<PrefetchAccounting>,
pub cache_key: String,
pub crate_name: String,
pub direction: TransferDirection,
pub ok: bool,
pub compressed_bytes: u64,
pub original_bytes: u64,
pub started_at_ms: u64,
pub finished_at_ms: u64,
pub network_ms: u64,
pub semaphore_wait_ms: u64,
pub request_count: u32,
pub import_ms: u64,
pub attribution: TransferAttribution,
pub prefetch: Option<PrefetchOrigin>,
pub outcome: String,
}Expand description
One remote transfer attributed to the session.
Fields§
§accounting: Option<PrefetchAccounting>§cache_key: String§crate_name: String§direction: TransferDirection§ok: bool§compressed_bytes: u64§original_bytes: u64§started_at_ms: u64§finished_at_ms: u64§network_ms: u64§semaphore_wait_ms: u64§request_count: u32§import_ms: u64§attribution: TransferAttribution§prefetch: Option<PrefetchOrigin>Immutable origin captured when this candidate was scheduled. Absent on demand downloads and logs older than transfer schema 4.
outcome: StringOperation/import outcome, including neutral not_found, cancelled,
and skipped; empty for demand downloads, uploads, and old logs.
Trait Implementations§
Source§impl Clone for TimelineTransfer
impl Clone for TimelineTransfer
Source§fn clone(&self) -> TimelineTransfer
fn clone(&self) -> TimelineTransfer
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 TimelineTransfer
impl Debug for TimelineTransfer
Source§impl Default for TimelineTransfer
impl Default for TimelineTransfer
Source§fn default() -> TimelineTransfer
fn default() -> TimelineTransfer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimelineTransfer
impl<'de> Deserialize<'de> for TimelineTransfer
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 TimelineTransfer
Source§impl PartialEq for TimelineTransfer
impl PartialEq for TimelineTransfer
Source§impl Serialize for TimelineTransfer
impl Serialize for TimelineTransfer
impl StructuralPartialEq for TimelineTransfer
Auto Trait Implementations§
impl Freeze for TimelineTransfer
impl RefUnwindSafe for TimelineTransfer
impl Send for TimelineTransfer
impl Sync for TimelineTransfer
impl Unpin for TimelineTransfer
impl UnsafeUnpin for TimelineTransfer
impl UnwindSafe for TimelineTransfer
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