pub trait HasDataType {
// Required method
fn data_type(&self) -> DataType;
}Expand description
Can be bound to a single placeholder in an SQL statement.
Users usually will not utilize this trait directly.
Required Methods§
Implementations on Foreign Types§
Source§impl HasDataType for Box<dyn InputParameter>
impl HasDataType for Box<dyn InputParameter>
Source§impl HasDataType for Numeric
Numerics relational type takes precision and scale of the instance into account.
impl HasDataType for Numeric
Numerics relational type takes precision and scale of the instance into account.