pub struct SpaceBackupOptions {Show 14 fields
pub space_id: String,
pub backup_dir: PathBuf,
pub filename_prefix: String,
pub object_ids: Vec<String>,
pub format: ExportFormat,
pub zip: bool,
pub include_nested: bool,
pub include_files: bool,
pub is_json: bool,
pub include_archived: bool,
pub no_progress: bool,
pub include_backlinks: bool,
pub include_space: bool,
pub md_include_properties_and_schema: bool,
}Expand description
Options for a space backup request.
Fields§
§space_id: StringTarget space ID.
backup_dir: PathBufDestination folder for backup output.
filename_prefix: StringPrefix used in generated target name.
object_ids: Vec<String>Object IDs to export. Empty means full space export.
format: ExportFormatExport format.
zip: boolAsk server to produce a zip archive.
include_nested: boolInclude linked objects.
include_files: boolInclude attached files.
is_json: boolFor protobuf export, produce JSON payload format.
include_archived: boolInclude archived objects (default false).
no_progress: boolDisable export progress events.
include_backlinks: boolInclude backlinks.
include_space: boolInclude space metadata.
md_include_properties_and_schema: boolInclude properties frontmatter and schema for markdown export.
Implementations§
Trait Implementations§
Source§impl Clone for SpaceBackupOptions
impl Clone for SpaceBackupOptions
Source§fn clone(&self) -> SpaceBackupOptions
fn clone(&self) -> SpaceBackupOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpaceBackupOptions
impl RefUnwindSafe for SpaceBackupOptions
impl Send for SpaceBackupOptions
impl Sync for SpaceBackupOptions
impl Unpin for SpaceBackupOptions
impl UnsafeUnpin for SpaceBackupOptions
impl UnwindSafe for SpaceBackupOptions
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request