Enum serde_ignored::Path
source · [−]pub enum Path<'a> {
Root,
Seq {
parent: &'a Path<'a>,
index: usize,
},
Map {
parent: &'a Path<'a>,
key: String,
},
Some {
parent: &'a Path<'a>,
},
NewtypeStruct {
parent: &'a Path<'a>,
},
NewtypeVariant {
parent: &'a Path<'a>,
},
}
Expand description
Path to the current value in the input, like dependencies.serde.typo1
.
Variants
Root
Seq
Map
Some
Fields
parent: &'a Path<'a>
NewtypeStruct
Fields
parent: &'a Path<'a>
NewtypeVariant
Fields
parent: &'a Path<'a>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> Send for Path<'a>
impl<'a> Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnwindSafe for Path<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more