Struct marked_yaml::loader::DuplicateKeyInner
source · pub struct DuplicateKeyInner {
pub prev_key: MarkedScalarNode,
pub key: MarkedScalarNode,
}
Expand description
An error indicating that a duplicate key was detected in a mapping
Fields§
§prev_key: MarkedScalarNode
The first key
key: MarkedScalarNode
The second key
Trait Implementations§
source§impl Debug for DuplicateKeyInner
impl Debug for DuplicateKeyInner
source§impl PartialEq for DuplicateKeyInner
impl PartialEq for DuplicateKeyInner
source§fn eq(&self, other: &DuplicateKeyInner) -> bool
fn eq(&self, other: &DuplicateKeyInner) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DuplicateKeyInner
impl StructuralPartialEq for DuplicateKeyInner
Auto Trait Implementations§
impl Freeze for DuplicateKeyInner
impl RefUnwindSafe for DuplicateKeyInner
impl Send for DuplicateKeyInner
impl Sync for DuplicateKeyInner
impl Unpin for DuplicateKeyInner
impl UnwindSafe for DuplicateKeyInner
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