[−][src]Struct verify::serde::KeySpans
This is supported on
feature="serde"
only.KeySpans associates nested values with their full path from the first value as a Vec of Strings.
Sequence indices are also turned into strings.
Keys that cannot be represented as strings will be replaced by ???
.
Trait Implementations
impl Clone for KeySpans
[src]
impl Default for KeySpans
[src]
impl Spans for KeySpans
[src]
type Span = Keys
This is supported on
feature="serde"
only.The span type that is associated with each value.
fn key<S: ?Sized + Serialize>(&mut self, key: &S) -> NewSpan<Self::Span>
[src]
fn value<S: ?Sized + Serialize>(&mut self, _value: &S) -> NewSpan<Self::Span>
[src]
fn unit(&mut self) -> NewSpan<Self::Span>
[src]
fn map_start(&mut self) -> NewSpan<Self::Span>
[src]
fn map_end(&mut self) -> NewSpan<Self::Span>
[src]
fn seq_start(&mut self) -> NewSpan<Self::Span>
[src]
fn seq_end(&mut self) -> NewSpan<Self::Span>
[src]
fn descend(&self) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeySpans
impl Send for KeySpans
impl Sync for KeySpans
impl Unpin for KeySpans
impl UnwindSafe for KeySpans
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,