pub enum FieldMatch<'a> {
KnownFirst(&'a FieldInfo),
Duplicate(&'a FieldInfo),
Unknown,
}Expand description
Result of checking a serialized field against the active resolution.
Variants§
KnownFirst(&'a FieldInfo)
Field exists in the schema and this is the first time we’ve seen it.
Duplicate(&'a FieldInfo)
Field exists but was already provided earlier (duplicate).
Unknown
Field name is not part of this resolution.
Trait Implementations§
Source§impl<'a> Clone for FieldMatch<'a>
impl<'a> Clone for FieldMatch<'a>
Source§fn clone(&self) -> FieldMatch<'a>
fn clone(&self) -> FieldMatch<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for FieldMatch<'a>
impl<'a> Debug for FieldMatch<'a>
Source§impl<'a> PartialEq for FieldMatch<'a>
impl<'a> PartialEq for FieldMatch<'a>
impl<'a> Copy for FieldMatch<'a>
impl<'a> Eq for FieldMatch<'a>
impl<'a> StructuralPartialEq for FieldMatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for FieldMatch<'a>
impl<'a> RefUnwindSafe for FieldMatch<'a>
impl<'a> Send for FieldMatch<'a>
impl<'a> Sync for FieldMatch<'a>
impl<'a> Unpin for FieldMatch<'a>
impl<'a> UnwindSafe for FieldMatch<'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