[][src]Enum uclicious_libucl_sys::ucl_duplicate_strategy

#[repr(u32)]pub enum ucl_duplicate_strategy {
    UCL_DUPLICATE_APPEND,
    UCL_DUPLICATE_MERGE,
    UCL_DUPLICATE_REWRITE,
    UCL_DUPLICATE_ERROR,
}

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

impl Clone for ucl_duplicate_strategy[src]

impl Copy for ucl_duplicate_strategy[src]

impl Debug for ucl_duplicate_strategy[src]

impl Eq for ucl_duplicate_strategy[src]

impl Hash for ucl_duplicate_strategy[src]

impl PartialEq<ucl_duplicate_strategy> for ucl_duplicate_strategy[src]

impl StructuralEq for ucl_duplicate_strategy[src]

impl StructuralPartialEq for ucl_duplicate_strategy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.