pub(crate) enum ResolutionInfo {
Promotion(Promotion),
DefaultValue(AvroLiteral),
EnumMapping(EnumMapping),
Record(ResolvedRecord),
Union(ResolvedUnion),
}
Expand description
Contains information about how to resolve differences between a writer’s and a reader’s schema.
Variants§
Promotion(Promotion)
Indicates that the writer’s type should be promoted to the reader’s type.
DefaultValue(AvroLiteral)
Indicates that a default value should be used for a field.
EnumMapping(EnumMapping)
Provides mapping information for resolving enums.
Record(ResolvedRecord)
Provides resolution information for record fields.
Union(ResolvedUnion)
Provides mapping and shape info for resolving unions.
Trait Implementations§
Source§impl Clone for ResolutionInfo
impl Clone for ResolutionInfo
Source§fn clone(&self) -> ResolutionInfo
fn clone(&self) -> ResolutionInfo
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 ResolutionInfo
impl Debug for ResolutionInfo
Source§impl PartialEq for ResolutionInfo
impl PartialEq for ResolutionInfo
impl StructuralPartialEq for ResolutionInfo
Auto Trait Implementations§
impl Freeze for ResolutionInfo
impl RefUnwindSafe for ResolutionInfo
impl Send for ResolutionInfo
impl Sync for ResolutionInfo
impl Unpin for ResolutionInfo
impl UnwindSafe for ResolutionInfo
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