#[non_exhaustive]pub struct ValueMeta<'a> { /* private fields */ }Expand description
Metadata associated with a value being deserialized.
This includes documentation comments and type tags from formats that support them (like Styx). For formats that don’t provide metadata (like JSON), these will be empty/none.
Use ValueMeta::builder() to construct instances.
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a ValueMeta<'a>> for MetaSource<'a>
impl<'a> From<&'a ValueMeta<'a>> for MetaSource<'a>
Source§impl<'a> From<ValueMeta<'a>> for MetaSource<'a>
impl<'a> From<ValueMeta<'a>> for MetaSource<'a>
impl<'a> Eq for ValueMeta<'a>
impl<'a> StructuralPartialEq for ValueMeta<'a>
Auto Trait Implementations§
impl<'a> Freeze for ValueMeta<'a>
impl<'a> RefUnwindSafe for ValueMeta<'a>
impl<'a> Send for ValueMeta<'a>
impl<'a> Sync for ValueMeta<'a>
impl<'a> Unpin for ValueMeta<'a>
impl<'a> UnsafeUnpin for ValueMeta<'a>
impl<'a> UnwindSafe for ValueMeta<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.