pub struct percent;
Trait Implementations
sourceimpl<Rhs> Add<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Add>::Rhs>,
impl<Rhs> Add<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Add>::Rhs>,
type Output = Add<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Add>::Rhs>>::Expression>
type Output = Add<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Add>::Rhs>>::Expression>
The resulting type after applying the +
operator.
sourceimpl<Rhs> Div<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Div>::Rhs>,
impl<Rhs> Div<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Div>::Rhs>,
type Output = Div<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Div>::Rhs>>::Expression>
type Output = Div<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Div>::Rhs>>::Expression>
The resulting type after applying the /
operator.
sourceimpl Expression for percent
impl Expression for percent
sourceimpl<Rhs> Mul<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Mul>::Rhs>,
impl<Rhs> Mul<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Mul>::Rhs>,
type Output = Mul<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Mul>::Rhs>>::Expression>
type Output = Mul<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Mul>::Rhs>>::Expression>
The resulting type after applying the *
operator.
sourceimpl<DB> QueryFragment<DB> for percent where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for percent where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
sourcefn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>
fn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>
Walk over this QueryFragment
for all passes. Read more
sourcefn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
Converts this QueryFragment
to its SQL representation. Read more
sourcefn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
sourceimpl QueryId for percent
impl QueryId for percent
sourceconst HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
sourceimpl<Rhs> Sub<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Sub>::Rhs>,
impl<Rhs> Sub<Rhs> for percent where
Rhs: AsExpression<<<percent as Expression>::SqlType as Sub>::Rhs>,
type Output = Sub<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Sub>::Rhs>>::Expression>
type Output = Sub<percent, <Rhs as AsExpression<<<percent as Expression>::SqlType as Sub>::Rhs>>::Expression>
The resulting type after applying the -
operator.
impl<QS> AppearsOnTable<QS> for percent where
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for percent
impl NonAggregate for percent
impl SelectableExpression<table> for percent
Auto Trait Implementations
impl RefUnwindSafe for percent
impl Send for percent
impl Sync for percent
impl Unpin for percent
impl UnwindSafe for percent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Convert self
to an expression for Diesel’s query builder. Read more
sourcefn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
sourceimpl<T> NullableExpressionMethods for T where
T: Expression,
impl<T> NullableExpressionMethods for T where
T: Expression,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more