pub struct Path { /* private fields */ }
Expand description
Path to the error value in the input, like dependencies.serde.typo1
.
Use path.to_string()
to get a string representation of the path with
segments separated by periods, or use path.iter()
to iterate over
individual segments of the path.
Returns an iterator with element type &Segment
.
Formats the value using the given formatter.
Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
Converts the given value to a
String
.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.