Skip to main content

IntoSqlValue

Trait IntoSqlValue 

Source
pub trait IntoSqlValue {
    // Required method
    fn into_sql_value(self) -> SqlValue;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoSqlValue for &str

Source§

impl IntoSqlValue for DateTime<Utc>

Source§

impl IntoSqlValue for Decimal

Source§

impl IntoSqlValue for String

Source§

impl IntoSqlValue for Uuid

Source§

impl IntoSqlValue for Value

Source§

impl IntoSqlValue for bool

Source§

impl IntoSqlValue for f64

Source§

impl IntoSqlValue for i64

Implementors§