pub struct BackupCreateArgs {Show 15 fields
pub space: String,
pub objects: Option<String>,
pub format: ExportFormatArg,
pub mode: BackupModeArg,
pub since: Option<String>,
pub since_mode: SinceModeArg,
pub types: Option<Vec<String>>,
pub dir: Option<PathBuf>,
pub dest: Option<PathBuf>,
pub prefix: Option<String>,
pub include_nested: bool,
pub include_files: bool,
pub include_archived: bool,
pub include_backlinks: bool,
pub include_properties: bool,
}Fields§
§space: StringSpace name or id. Name must be unambiguous.
objects: Option<String>Object IDs source path, or ‘-’ to read from stdin. Omit for full-space backup.
format: ExportFormatArgExport format
mode: BackupModeArgBackup mode
since: Option<String>Incremental lower bound timestamp.
Accepts RFC3339 with timezone/offset, or no-timezone local time (assumed local timezone).
Example UTC values: 2026-01-12T10:11:22Z, 2026-01-12 10:11:22 UTC, 2026-01-12T10:11:22+00:00.
since_mode: SinceModeArgIncremental window mode
types: Option<Vec<String>>Include only these object types (comma-separated keys and/or ids)
dir: Option<PathBuf>Parent directory where the archive will be created (default: current directory)
dest: Option<PathBuf>Output archive path to create
prefix: Option<String>Archive name prefix used with –dir/default parent; ignored when –dest is used
include_nested: boolInclude linked (nested) objects in export payload
include_files: boolInclude file objects and file binaries in export payload
include_archived: boolInclude archived objects in backup selection
include_backlinks: boolInclude backlinks in export payload
include_properties: boolInclude properties and schema in markdown export output
Trait Implementations§
Source§impl Args for BackupCreateArgs
impl Args for BackupCreateArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for BackupCreateArgs
impl Debug for BackupCreateArgs
Source§impl FromArgMatches for BackupCreateArgs
impl FromArgMatches for BackupCreateArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for BackupCreateArgs
impl RefUnwindSafe for BackupCreateArgs
impl Send for BackupCreateArgs
impl Sync for BackupCreateArgs
impl Unpin for BackupCreateArgs
impl UnsafeUnpin for BackupCreateArgs
impl UnwindSafe for BackupCreateArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<K, Q> Comparable<Q> for K
impl<K, Q> Comparable<Q> for K
Source§impl<K, Q> Equivalent<Q> for K
impl<K, Q> Equivalent<Q> for K
Source§fn equivalent(&self, key: &Q) -> bool
fn equivalent(&self, key: &Q) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request