pub struct HavingNode<'a> { /* private fields */ }Implementations§
Source§impl<'a> HavingNode<'a>
impl<'a> HavingNode<'a>
pub fn new<N, T>(prev_node: N, expr: T) -> HavingNode<'a>
pub fn offset<T>(self, expr: T) -> OffsetNode<'a>
pub fn limit<T>(self, expr: T) -> LimitNode<'a>
pub fn project<T>(self, select_items: T) -> ProjectNode<'a>where
T: Into<SelectItemList<'a>>,
pub fn order_by<T>(self, expr_list: T) -> OrderByNode<'a>where
T: Into<OrderByExprList<'a>>,
pub fn alias_as(self, table_alias: &'a str) -> TableFactorNode<'a>
Trait Implementations§
Source§impl<'a> Clone for HavingNode<'a>
impl<'a> Clone for HavingNode<'a>
Source§fn clone(&self) -> HavingNode<'a>
fn clone(&self) -> HavingNode<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for HavingNode<'a>
impl<'a> Debug for HavingNode<'a>
Source§impl<'a> From<HavingNode<'a>> for QueryNode<'a>
impl<'a> From<HavingNode<'a>> for QueryNode<'a>
Source§fn from(node: HavingNode<'a>) -> QueryNode<'a>
fn from(node: HavingNode<'a>) -> QueryNode<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for HavingNode<'a>
impl<'a> RefUnwindSafe for HavingNode<'a>
impl<'a> Send for HavingNode<'a>
impl<'a> Sync for HavingNode<'a>
impl<'a> Unpin for HavingNode<'a>
impl<'a> UnwindSafe for HavingNode<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q> DbExecutable for Q
impl<Q> DbExecutable for Q
fn exec<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Payload, Error>> + Send + 'async_trait>>where
Q: 'async_trait,
fn rows<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<Value>>, Error>> + Send + 'async_trait>>where
Q: 'async_trait,
fn values<'async_trait, T>(
self,
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, Error>> + Send + 'async_trait>>where
T: 'async_trait + Table,
Q: 'async_trait,
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