Struct marked_yaml::LoaderOptions
source · pub struct LoaderOptions {
pub error_on_duplicate_keys: bool,
}
Expand description
Options for loading YAML
Fields§
§error_on_duplicate_keys: bool
If true, duplicate keys in mappings will cause an error. If false, the last key will be used.
Trait Implementations§
source§impl Debug for LoaderOptions
impl Debug for LoaderOptions
source§impl Default for LoaderOptions
impl Default for LoaderOptions
source§fn default() -> LoaderOptions
fn default() -> LoaderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoaderOptions
impl RefUnwindSafe for LoaderOptions
impl Send for LoaderOptions
impl Sync for LoaderOptions
impl Unpin for LoaderOptions
impl UnwindSafe for LoaderOptions
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