pub enum Schema {
Show 14 variants
Null,
Boolean,
Int,
Long,
Float,
Double,
Bytes,
String,
Record(RecordSchema),
Enum(EnumSchema),
Array(Box<SchemaRef>),
Map(Box<SchemaRef>),
Union(Vec<SchemaRef>),
Fixed(FixedSchema),
}Variants§
Null
Boolean
Int
Long
Float
Double
Bytes
String
Record(RecordSchema)
Enum(EnumSchema)
Array(Box<SchemaRef>)
Map(Box<SchemaRef>)
Union(Vec<SchemaRef>)
Fixed(FixedSchema)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
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