Struct typed_sql::types::field::Then

source ·
pub struct Then<H, T> { /* private fields */ }

Implementations§

source§

impl<H, T> Then<H, T>

source

pub fn then<T2>(self, next: T2) -> Then<Self, T2>

Trait Implementations§

source§

impl<H, T> GroupOrder for Then<H, T>where H: GroupOrder, T: GroupOrder,

source§

fn write_columns(&self, sql: &mut String)

source§

impl<H: Order, T: Order> Order for Then<H, T>

source§

fn write_order(&self, sql: &mut String)

Auto Trait Implementations§

§

impl<H, T> RefUnwindSafe for Then<H, T>where H: RefUnwindSafe, T: RefUnwindSafe,

§

impl<H, T> Send for Then<H, T>where H: Send, T: Send,

§

impl<H, T> Sync for Then<H, T>where H: Sync, T: Sync,

§

impl<H, T> Unpin for Then<H, T>where H: Unpin, T: Unpin,

§

impl<H, T> UnwindSafe for Then<H, T>where H: UnwindSafe, T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Query for T

source§

fn prepare<F, S>(name: &str, f: F) -> Prepare<'_, Self, S>where Self: Binding, F: FnOnce(Self::Bindings) -> S, S: ToSql,

Examples Read more
source§

fn select(self) -> SelectStatement<Self, WildCard>where Self: Selectable,

Examples Read more
source§

fn query<Q>(self, query: Q) -> SelectStatement<Self, Q>where Self: Selectable, Q: WriteQueryable,

Examples Read more
source§

fn count<F, T>(self, f: F) -> SelectStatement<Self, Count<T>>where Self: Selectable, F: FnOnce(Self::Fields) -> T, Count<T>: WriteQueryable,

Examples Read more
source§

fn insert<I>(self, value: I) -> InsertStatement<Self::Table, I>where Self: TableQueryable, I: Insertable,

source§

fn insert_values<I>(self, values: I) -> InsertStatement<Self::Table, Values<I>>where Self: TableQueryable, I: IntoIterator + Clone, I::Item: Insertable,

source§

fn insert_select<S, I>( self, select: S ) -> InsertStatement<Self::Table, InsertSelect<S, I>>where Self: TableQueryable, S: Select, I: Insertable,

source§

fn update<F, S>(self, f: F) -> Update<Self::Table, S>where Self: TableQueryable, F: FnOnce(<Self::Table as Table>::Fields) -> S, S: UpdateSet,

source§

fn delete(self) -> Delete<Self::Table>where Self: TableQueryable,

source§

fn filter<F, P>(self, f: F) -> Filter<Self, P>where Self: Filterable, F: FnOnce(Self::Fields) -> P,

source§

fn and<P>(self, predicate: P) -> And<Self, P>where Self: Predicate, P: Predicate,

source§

fn or<P>(self, predicate: P) -> Or<Self, P>where Self: Predicate, P: Predicate,

source§

fn group_by<F, O>(self, f: F) -> GroupBy<Self, O>where Self: Select, F: FnOnce(<Self::Selectable as Selectable>::Fields) -> O, O: GroupOrder,

Examples Read more
source§

fn order_by<F, O>(self, f: F) -> OrderBy<Self, O>where Self: Select, F: FnOnce(<Self::Selectable as Selectable>::Fields) -> O, O: Order,

Examples Read more
source§

fn limit(self, limit: usize) -> Limit<Self>where Self: Select,

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.