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>,
},
}
Path to the current value in the input, like dependencies.serde.typo1
.
Variants
Root
Seq
Fields of Seq
Map
Fields of Map
Some
Fields of Some
NewtypeStruct
Fields of NewtypeStruct
NewtypeVariant
Fields of NewtypeVariant
Trait Implementations
Formats the value using the given formatter. Read more