Struct Select

Source
pub struct Select<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> Select<'a>

Source

pub fn new(table: Cow<'static, str>) -> Select<'a>

Trait Implementations§

Source§

impl<'a> Modifier<Select<'a>> for Condition<'a>

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Limit

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Offset

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Order

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Selection

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Conditions<'a>

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Orders

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Modifier<Select<'a>> for Selections

Source§

fn modify(self, select: &mut Select<'a>)

Modify F with self.
Source§

impl<'a> Set for Select<'a>

Source§

fn set<M>(self, modifier: M) -> Self
where M: Modifier<Self>, Self: Sized,

Modify self using the provided modifier.
Source§

fn set_mut<M>(&mut self, modifier: M) -> &mut Self
where M: Modifier<Self>,

Modify self through a mutable reference with the provided modifier.
Source§

impl<'a> Statement<'a> for Select<'a>

Source§

fn into_query(self) -> Query<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Select<'a>

§

impl<'a> !RefUnwindSafe for Select<'a>

§

impl<'a> !Send for Select<'a>

§

impl<'a> !Sync for Select<'a>

§

impl<'a> Unpin for Select<'a>

§

impl<'a> !UnwindSafe for Select<'a>

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.