pub struct SQLNull;Expand description
Explicit SQL NULL marker.
Trait Implementations§
Source§impl<'a, V: SQLParam + 'a> ToSQL<'a, V> for SQLNull
impl<'a, V: SQLParam + 'a> ToSQL<'a, V> for SQLNull
fn to_sql(&self) -> SQL<'a, V>
Source§fn into_sql(self) -> SQL<'a, V>where
Self: Sized,
fn into_sql(self) -> SQL<'a, V>where
Self: Sized,
Consume self and return SQL without cloning.
Default delegates to
to_sql() (which clones). Types that own their SQL
(like SQL and SQLExpr) override this to avoid the clone.fn alias(&self, alias: &'static str) -> SQL<'a, V>
impl Copy for SQLNull
Auto Trait Implementations§
impl Freeze for SQLNull
impl RefUnwindSafe for SQLNull
impl Send for SQLNull
impl Sync for SQLNull
impl Unpin for SQLNull
impl UnwindSafe for SQLNull
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