pub enum ImportMergeMode {
Replace,
Merge,
}Expand description
How to handle conflicts during import.
Variants§
Replace
Replace the entire config at the target layer.
Merge
Deep merge the imported config into the existing config.
Trait Implementations§
Source§impl Clone for ImportMergeMode
impl Clone for ImportMergeMode
Source§fn clone(&self) -> ImportMergeMode
fn clone(&self) -> ImportMergeMode
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 ImportMergeMode
impl Debug for ImportMergeMode
Source§impl PartialEq for ImportMergeMode
impl PartialEq for ImportMergeMode
Source§fn eq(&self, other: &ImportMergeMode) -> bool
fn eq(&self, other: &ImportMergeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ImportMergeMode
impl Eq for ImportMergeMode
impl StructuralPartialEq for ImportMergeMode
Auto Trait Implementations§
impl Freeze for ImportMergeMode
impl RefUnwindSafe for ImportMergeMode
impl Send for ImportMergeMode
impl Sync for ImportMergeMode
impl Unpin for ImportMergeMode
impl UnsafeUnpin for ImportMergeMode
impl UnwindSafe for ImportMergeMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.