pub struct DbExportConfig {Show 14 fields
pub database_definition: bool,
pub users: bool,
pub accesses: bool,
pub params: bool,
pub functions: bool,
pub analyzers: bool,
pub apis: bool,
pub buckets: bool,
pub modules: bool,
pub configs: bool,
pub tables: TableConfig,
pub versions: bool,
pub records: bool,
pub sequences: bool,
}Fields§
§database_definition: boolWhether the database’s own definition — its STRICT flag, COMMENT and
CHANGEFEED — is carried.
Restoring it rewrites those clauses on the target database, so a selective export turns it off along with every other section it did not ask for.
users: bool§accesses: bool§params: bool§functions: bool§analyzers: bool§apis: bool§buckets: bool§modules: bool§configs: bool§tables: TableConfig§versions: bool§records: bool§sequences: boolTrait Implementations§
Source§impl SurrealValue for Config
impl SurrealValue for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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