pub struct SnapshotCreateOptions {
pub fail_fast: Option<bool>,
pub upload_limit_mb: Option<i64>,
pub description: Option<String>,
}Expand description
Options for kopia snapshot create (M4 flag sweep, issue #216 category
sweep). All-default reproduces kopia’s own defaults / today’s argv:
fail_fast: None (kopia default: keep going past per-file errors, subject
to the errorHandling.ignore*Errors policy knobs), upload_limit_mb: None
(kopia default: unlimited), description: None (kopia default: empty).
Fields§
§fail_fast: Option<bool>--[no-]fail-fast: abort the snapshot at the first error instead of
collecting and continuing (kopia default: false — collect and continue).
upload_limit_mb: Option<i64>--upload-limit-mb: abort the snapshot once this many MB have been
uploaded (kopia default: 0 — unlimited).
description: Option<String>--description: free-form text recorded on the snapshot manifest
(kopia default: empty).
Trait Implementations§
Source§impl Clone for SnapshotCreateOptions
impl Clone for SnapshotCreateOptions
Source§fn clone(&self) -> SnapshotCreateOptions
fn clone(&self) -> SnapshotCreateOptions
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 SnapshotCreateOptions
impl Debug for SnapshotCreateOptions
Source§impl Default for SnapshotCreateOptions
impl Default for SnapshotCreateOptions
Source§fn default() -> SnapshotCreateOptions
fn default() -> SnapshotCreateOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for SnapshotCreateOptions
impl PartialEq for SnapshotCreateOptions
Source§fn eq(&self, other: &SnapshotCreateOptions) -> bool
fn eq(&self, other: &SnapshotCreateOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SnapshotCreateOptions
impl StructuralPartialEq for SnapshotCreateOptions
Auto Trait Implementations§
impl Freeze for SnapshotCreateOptions
impl RefUnwindSafe for SnapshotCreateOptions
impl Send for SnapshotCreateOptions
impl Sync for SnapshotCreateOptions
impl Unpin for SnapshotCreateOptions
impl UnsafeUnpin for SnapshotCreateOptions
impl UnwindSafe for SnapshotCreateOptions
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