pub struct UploadOptions {
pub files: Vec<PathBuf>,
pub raw_handling: RawHandling,
pub series: Arc<AlbumSeries<ClientAlbumSeries>>,
pub client: Arc<SmugMugClient>,
pub threads: usize,
pub dry_run: bool,
pub check_remote: bool,
pub no_cache: bool,
pub cache_path: PathBuf,
pub retry_attempts: u32,
}Fields§
§files: Vec<PathBuf>Files to upload (RAW files already selected; see select_raw_files).
raw_handling: RawHandlingHow the RAW files in files are uploaded.
series: Arc<AlbumSeries<ClientAlbumSeries>>Albums the files go into; new images claim room album by album.
client: Arc<SmugMugClient>§threads: usize§dry_run: bool§check_remote: bool§no_cache: bool§cache_path: PathBuf§retry_attempts: u32Auto Trait Implementations§
impl !RefUnwindSafe for UploadOptions
impl !UnwindSafe for UploadOptions
impl Freeze for UploadOptions
impl Send for UploadOptions
impl Sync for UploadOptions
impl Unpin for UploadOptions
impl UnsafeUnpin for UploadOptions
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