pub struct ToSql {Show 13 fields
pub statement: (String, Vec<Value>),
pub method: (String, Vec<Value>),
pub join: (String, Vec<Value>),
pub raw: (String, Vec<Value>),
pub sql_with: (String, Vec<Value>),
pub sql_union: (String, Vec<Value>),
pub limit: Option<usize>,
pub offset: Option<usize>,
pub group_by: Vec<String>,
pub group_by_raw: (String, Vec<Value>),
pub having: (String, Vec<Value>),
pub order_by: Vec<String>,
pub order_by_raw: (String, Vec<Value>),
}
Fields§
§statement: (String, Vec<Value>)
§method: (String, Vec<Value>)
§join: (String, Vec<Value>)
§raw: (String, Vec<Value>)
§sql_with: (String, Vec<Value>)
§sql_union: (String, Vec<Value>)
§limit: Option<usize>
§offset: Option<usize>
§group_by: Vec<String>
§group_by_raw: (String, Vec<Value>)
§having: (String, Vec<Value>)
§order_by: Vec<String>
§order_by_raw: (String, Vec<Value>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToSql
impl RefUnwindSafe for ToSql
impl Send for ToSql
impl Sync for ToSql
impl Unpin for ToSql
impl UnwindSafe for ToSql
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more