Struct serde_yml::mapping::DuplicateKeyError
source · pub struct DuplicateKeyError<'a> {
pub entry: OccupiedEntry<'a>,
}
Expand description
Error returned when a duplicate key is encountered while deserializing a
serde_yml::Mapping
.
This error contains the key-value pair that caused the conflict.
Fields§
§entry: OccupiedEntry<'a>
The key-value pair that caused the conflict.
Trait Implementations§
source§impl<'a> Debug for DuplicateKeyError<'a>
impl<'a> Debug for DuplicateKeyError<'a>
Auto Trait Implementations§
impl<'a> Freeze for DuplicateKeyError<'a>
impl<'a> RefUnwindSafe for DuplicateKeyError<'a>
impl<'a> Send for DuplicateKeyError<'a>
impl<'a> Sync for DuplicateKeyError<'a>
impl<'a> Unpin for DuplicateKeyError<'a>
impl<'a> !UnwindSafe for DuplicateKeyError<'a>
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