Skip to main content

RawArg

Trait RawArg 

Source
pub trait RawArg: Sealed {
    type Req;
}
Expand description

One ? slot of a sql!{} fragment: every expression, plus the Option a request field already holds — a slot is the one place a NULL arrives as data rather than as a written null::<..>(). A slot that isn’t one reports IntoExpr, since that is the bound this one is built on.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RawArg for Option<DateTime<Utc>>

Source§

impl RawArg for Option<Decimal>

Source§

impl RawArg for Option<NaiveDate>

Source§

impl RawArg for Option<String>

Source§

impl RawArg for Option<Uuid>

Source§

impl RawArg for Option<Vec<u8>>

Source§

impl RawArg for Option<bool>

Source§

impl RawArg for Option<f64>

Source§

impl RawArg for Option<i32>

Source§

impl RawArg for Option<i64>

Implementors§

Source§

impl<T: IntoExpr> RawArg for T

Source§

type Req = <T as IntoExpr>::Req