enum Nulls {
NullFirst,
NullSecond,
}
Expand description
Avro types are not nullable, with nullability instead encoded as a union where one of the variants is the null type.
To accommodate this we special case two-variant unions where one of the variants is the null type, and use this to derive arrow’s notion of nullability
Variants§
NullFirst
The nulls are encoded as the first union variant
NullSecond
The nulls are encoded as the second union variant
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nulls
impl RefUnwindSafe for Nulls
impl Send for Nulls
impl Sync for Nulls
impl Unpin for Nulls
impl UnwindSafe for Nulls
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