pub struct RunOptions {
pub sources: Vec<PathBuf>,
pub excludes: Vec<String>,
pub root_folder: String,
pub root_privacy: Option<&'static str>,
pub upload_threads: usize,
pub read_threads: usize,
pub dry_run: bool,
pub no_cache: bool,
pub raw_handling: RawHandling,
pub live_photo_videos: LivePhotoVideos,
pub retry_attempts: u32,
pub cache_path: PathBuf,
}Fields§
§sources: Vec<PathBuf>§excludes: Vec<String>§root_folder: StringSmugMug folder path the year folders go in, e.g. “Backup”.
root_privacy: Option<&'static str>Privacy for the root folder if it’s created (None: SmugMug’s
default). Year/month folders and day albums are always private.
upload_threads: usize§read_threads: usize§dry_run: bool§no_cache: boolIgnore the index and hash store (still checks file names and MD5s in the day albums, so nothing is uploaded twice).
raw_handling: RawHandling§live_photo_videos: LivePhotoVideos§retry_attempts: u32§cache_path: PathBufAuto Trait Implementations§
impl Freeze for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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