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
Seq
Fields
index: usize
Map
Fields
key: String
Enum
Fields
variant: String
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Segment
impl UnwindSafe for Segment
Blanket Implementations
Mutably borrows from an owned value. Read more