pub enum UuidSchema {
Bytes,
String,
Fixed(FixedSchema),
}Expand description
The inner schema of the Uuid type.
Variants§
Bytes
Schema::Bytes with size of 16.
This is not according to specification, but was what happened in 0.21.0 and earlier when
a schema with logical type uuid and inner type fixed was used.
String
Fixed(FixedSchema)
Schema::Fixed with size of 16.
Trait Implementations§
Source§impl Clone for UuidSchema
impl Clone for UuidSchema
Source§fn clone(&self) -> UuidSchema
fn clone(&self) -> UuidSchema
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 moreAuto Trait Implementations§
impl Freeze for UuidSchema
impl RefUnwindSafe for UuidSchema
impl Send for UuidSchema
impl Sync for UuidSchema
impl Unpin for UuidSchema
impl UnwindSafe for UuidSchema
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