#[repr(u32)]
pub enum ucl_duplicate_strategy {
UCL_DUPLICATE_APPEND,
UCL_DUPLICATE_MERGE,
UCL_DUPLICATE_REWRITE,
UCL_DUPLICATE_ERROR,
}
Expand description
Duplicate policy types
Variants§
UCL_DUPLICATE_APPEND
< Default policy to merge based on priorities
UCL_DUPLICATE_MERGE
< Merge new object with old one
UCL_DUPLICATE_REWRITE
< Rewrite old keys
UCL_DUPLICATE_ERROR
< Stop parsing on duplicate found
Trait Implementations§
source§impl Clone for ucl_duplicate_strategy
impl Clone for ucl_duplicate_strategy
source§fn clone(&self) -> ucl_duplicate_strategy
fn clone(&self) -> ucl_duplicate_strategy
Returns a copy 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 moresource§impl Debug for ucl_duplicate_strategy
impl Debug for ucl_duplicate_strategy
source§impl Hash for ucl_duplicate_strategy
impl Hash for ucl_duplicate_strategy
source§impl PartialEq<ucl_duplicate_strategy> for ucl_duplicate_strategy
impl PartialEq<ucl_duplicate_strategy> for ucl_duplicate_strategy
source§fn eq(&self, other: &ucl_duplicate_strategy) -> bool
fn eq(&self, other: &ucl_duplicate_strategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ucl_duplicate_strategy
impl Eq for ucl_duplicate_strategy
impl StructuralEq for ucl_duplicate_strategy
impl StructuralPartialEq for ucl_duplicate_strategy
Auto Trait Implementations§
impl RefUnwindSafe for ucl_duplicate_strategy
impl Send for ucl_duplicate_strategy
impl Sync for ucl_duplicate_strategy
impl Unpin for ucl_duplicate_strategy
impl UnwindSafe for ucl_duplicate_strategy
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