pub enum SerialTypeClass {
Null,
Integer,
Float,
Zero,
One,
Reserved,
Blob,
Text,
}Expand description
Determine the serial type classification.
Variants§
Null
SQL NULL (serial type 0).
Integer
Signed integer of 1-8 bytes (serial types 1-6).
Float
IEEE 754 double (serial type 7).
Zero
Integer constant 0 (serial type 8).
One
Integer constant 1 (serial type 9).
Reserved
Reserved for future use (serial types 10, 11).
Blob
BLOB of (N-12)/2 bytes (even serial types >= 12).
Text
TEXT of (N-13)/2 bytes (odd serial types >= 13).
Trait Implementations§
Source§impl Clone for SerialTypeClass
impl Clone for SerialTypeClass
Source§fn clone(&self) -> SerialTypeClass
fn clone(&self) -> SerialTypeClass
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 SerialTypeClass
impl Debug for SerialTypeClass
Source§impl PartialEq for SerialTypeClass
impl PartialEq for SerialTypeClass
impl Copy for SerialTypeClass
impl Eq for SerialTypeClass
impl StructuralPartialEq for SerialTypeClass
Auto Trait Implementations§
impl Freeze for SerialTypeClass
impl RefUnwindSafe for SerialTypeClass
impl Send for SerialTypeClass
impl Sync for SerialTypeClass
impl Unpin for SerialTypeClass
impl UnsafeUnpin for SerialTypeClass
impl UnwindSafe for SerialTypeClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).