[][src]Struct quaint::ast::RowNumber

pub struct RowNumber<'a> { /* fields omitted */ }

A window function that assigns a sequential integer number to each row in the query’s result set.

Methods

impl<'a> RowNumber<'a>[src]

pub fn order_by<T>(self, value: T) -> Self where
    T: IntoOrderDefinition<'a>, 
[src]

Define the order of the row number. Is the row order if not set.

pub fn partition_by<T>(self, partition: T) -> Self where
    T: Into<Column<'a>>, 
[src]

Define the partitioning of the row number

Trait Implementations

impl<'a> Clone for RowNumber<'a>[src]

impl<'a> Debug for RowNumber<'a>[src]

impl<'a> Default for RowNumber<'a>[src]

impl<'a> From<RowNumber<'a>> for Function<'a>[src]

impl<'a> From<RowNumber<'a>> for DatabaseValue<'a>[src]

impl<'a> PartialEq<RowNumber<'a>> for RowNumber<'a>[src]

impl<'a> StructuralPartialEq for RowNumber<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for RowNumber<'a>

impl<'a> Send for RowNumber<'a>

impl<'a> Sync for RowNumber<'a>

impl<'a> Unpin for RowNumber<'a>

impl<'a> UnwindSafe for RowNumber<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,