pub(crate) enum ResolvedField {
ToReader(usize),
Skip(AvroDataType),
}Expand description
Resolution information for record fields in the writer schema.
Variants§
ToReader(usize)
Resolves to a field indexed in the reader schema.
Skip(AvroDataType)
For fields present in the writer’s schema but not the reader’s, this stores their data type. This is needed to correctly skip over these fields during deserialization.
Trait Implementations§
Source§impl Clone for ResolvedField
impl Clone for ResolvedField
Source§fn clone(&self) -> ResolvedField
fn clone(&self) -> ResolvedField
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 Debug for ResolvedField
impl Debug for ResolvedField
Source§impl PartialEq for ResolvedField
impl PartialEq for ResolvedField
impl StructuralPartialEq for ResolvedField
Auto Trait Implementations§
impl Freeze for ResolvedField
impl RefUnwindSafe for ResolvedField
impl Send for ResolvedField
impl Sync for ResolvedField
impl Unpin for ResolvedField
impl UnsafeUnpin for ResolvedField
impl UnwindSafe for ResolvedField
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