pub struct RunStats {Show 25 fields
pub scanned: usize,
pub unsupported: usize,
pub scan_errors: Vec<String>,
pub raw_rendered: usize,
pub raw_skipped: usize,
pub raw_skipped_with_sibling: usize,
pub live_photo_videos_skipped: usize,
pub unchanged: usize,
pub previously_refused: usize,
pub to_process: usize,
pub bytes_to_process: u64,
pub touched: usize,
pub uploaded: usize,
pub replaced: usize,
pub linked: usize,
pub collected: usize,
pub failed: usize,
pub refused: usize,
pub bytes_uploaded: u64,
pub albums_created: usize,
pub date_sources: BTreeMap<String, usize>,
pub days: BTreeMap<NaiveDate, usize>,
pub errors: Vec<String>,
pub duration_secs: u64,
pub interrupted: bool,
}Expand description
How a run went. Serialized as the backup’s last_run.json.
Fields§
§scanned: usizeSupported files found (after exclusions and RAW/Live Photo choices).
unsupported: usize§scan_errors: Vec<String>§raw_rendered: usize§raw_skipped: usize§raw_skipped_with_sibling: usize§live_photo_videos_skipped: usize§unchanged: usizeSame size and modification time as last time: not read.
previously_refused: usizeUnchanged files SmugMug refused before (not retried).
to_process: usizeNew or changed files (read, or on a dry run, dated).
bytes_to_process: u64§touched: usizeChanged size or time but not content (or not rendered JPEG).
uploaded: usize§replaced: usize§linked: usizeAlready in its day album (an identical copy uploaded before).
collected: usizeAlready on SmugMug in another album; added to its day album.
failed: usize§refused: usizeRefused by SmugMug (too big, unsupported); not retried until the file changes.
bytes_uploaded: u64§albums_created: usize§date_sources: BTreeMap<String, usize>How the processed files were dated.
days: BTreeMap<NaiveDate, usize>Processed files per capture day.
errors: Vec<String>The first few failures.
duration_secs: u64§interrupted: boolStopped early (signal).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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