pub enum SqlTy {
Boolean,
Bigint,
Double,
Text,
}Expand description
The four SQL types a Beck scalar maps onto.
Deliberately four. Every one of them is a type OID a Postgres client already knows, so a driver
never has to ask the catalogue what it just received — which matters more than breadth here,
because there is no catalogue to ask (Schema::CATALOGUE is what stands in for one).
Variants§
Implementations§
Trait Implementations§
impl Copy for SqlTy
impl Eq for SqlTy
impl StructuralPartialEq for SqlTy
Auto Trait Implementations§
impl Freeze for SqlTy
impl RefUnwindSafe for SqlTy
impl Send for SqlTy
impl Sync for SqlTy
impl Unpin for SqlTy
impl UnwindSafe for SqlTy
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