pub struct DumpOutcome {
pub path: PathBuf,
pub bytes: u64,
pub cleaned_up: bool,
pub reused: bool,
pub created_at: Option<DateTime<Utc>>,
}Expand description
Final result of a completed dump, passed from the action layer to the
Renderer.
Fields§
§path: PathBufFilesystem path where the dump file was written.
bytes: u64Number of bytes written.
cleaned_up: booltrue when the server-side dump was deleted after download
(i.e. --cleanup succeeded).
reused: booltrue when an existing server-side dump was adopted (idempotent
re-download) rather than a fresh dump being triggered.
created_at: Option<DateTime<Utc>>When the server-side dump was originally created, if known.
May be None if the server omitted createdAt or the timestamp
failed to parse.
Auto Trait Implementations§
impl Freeze for DumpOutcome
impl RefUnwindSafe for DumpOutcome
impl Send for DumpOutcome
impl Sync for DumpOutcome
impl Unpin for DumpOutcome
impl UnsafeUnpin for DumpOutcome
impl UnwindSafe for DumpOutcome
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