Trait sql::Typable
[−]
[src]
pub trait Typable where Self: Sized { type Output; fn kind(self, value: Type) -> Self::Output; fn binary(self) -> Self::Output { ... } fn float(self) -> Self::Output { ... } fn integer(self) -> Self::Output { ... } fn string(self) -> Self::Output { ... } }
An object that can be assigend a type.
Associated Types
type Output
The type produced after setting a type.
Required Methods
Provided Methods
fn binary(self) -> Self::Output
Set the type to Binary.
fn float(self) -> Self::Output
Set the type to Float.
fn integer(self) -> Self::Output
Set the type to Integer.
fn string(self) -> Self::Output
Set the type to String.