[][src]Struct serde_path_to_error::Path

pub struct Path { /* fields omitted */ }

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.

Methods

impl Path[src]

Important traits for Segments<'a>
pub fn iter(&self) -> Segments[src]

Returns an iterator with element type &Segment.

Trait Implementations

impl<'a> IntoIterator for &'a Path[src]

type Item = &'a Segment

The type of the elements being iterated over.

type IntoIter = Segments<'a>

Which kind of iterator are we turning this into?

impl Clone for Path[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Path[src]

impl Display for Path[src]

Auto Trait Implementations

impl Unpin for Path

impl Send for Path

impl Sync for Path

impl RefUnwindSafe for Path

impl UnwindSafe for Path

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]