Struct config_it::storage::ImportOptions
source · pub struct ImportOptions {
pub merge_onto_cache: bool,
pub apply_as_patch: bool,
}Fields§
§merge_onto_cache: boolIf set this to true, the imported config will be merged onto existing cache. Usually turning this on is useful to prevent unsaved archive entity from being overwritten.
apply_as_patch: boolIf this option is enabled, imported setting will be converted into ‘patch’ before applied. Otherwise, the imported setting will be applied directly, and will affect to all properties that are included in the archive even if there is no actual change on archive content.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ImportOptions
impl Send for ImportOptions
impl Sync for ImportOptions
impl Unpin for ImportOptions
impl UnwindSafe for ImportOptions
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