Enum serde_path_to_error::Segment [−][src]
pub enum Segment {
Seq {
index: usize,
},
Map {
key: String,
},
Enum {
variant: String,
},
Unknown,
}
Expand description
Single segment of a path.
Variants
Fields of Seq
index: usize
Fields of Map
key: String
Fields of Enum
variant: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Segment
impl UnwindSafe for Segment
Blanket Implementations
Mutably borrows from an owned value. Read more