[−][src]Enum quaint::ast::DatabaseValue
A value we can compare and use in database queries.
Variants
Parameterized(ParameterizedValue<'a>)
Anything that we must parameterize before querying
A database column
Row(Row<'a>)
Data in a row form, e.g. (1, 2, 3)
A nested SELECT
statement
Function(Function<'a>)
A database function call
A qualified asterisk to a table
An operation: sum, sub, mul or div.
Trait Implementations
impl<'a> Add<DatabaseValue<'a>> for DatabaseValue<'a>
[src]
type Output = DatabaseValue<'a>
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<'a> Clone for DatabaseValue<'a>
[src]
fn clone(&self) -> DatabaseValue<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Comparable<'a> for DatabaseValue<'a>
[src]
fn equals<T>(self, comparison: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn not_equals<T>(self, comparison: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn less_than<T>(self, comparison: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn less_than_or_equals<T>(self, comparison: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn greater_than<T>(self, comparison: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn greater_than_or_equals<T>(self, comparison: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn in_selection<T>(self, selection: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn not_in_selection<T>(self, selection: T) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
fn like<T>(self, pattern: T) -> Compare<'a> where
T: Into<Cow<'a, str>>,
[src]
T: Into<Cow<'a, str>>,
fn not_like<T>(self, pattern: T) -> Compare<'a> where
T: Into<Cow<'a, str>>,
[src]
T: Into<Cow<'a, str>>,
fn begins_with<T>(self, pattern: T) -> Compare<'a> where
T: Into<Cow<'a, str>>,
[src]
T: Into<Cow<'a, str>>,
fn not_begins_with<T>(self, pattern: T) -> Compare<'a> where
T: Into<Cow<'a, str>>,
[src]
T: Into<Cow<'a, str>>,
fn ends_into<T>(self, pattern: T) -> Compare<'a> where
T: Into<Cow<'a, str>>,
[src]
T: Into<Cow<'a, str>>,
fn not_ends_into<T>(self, pattern: T) -> Compare<'a> where
T: Into<Cow<'a, str>>,
[src]
T: Into<Cow<'a, str>>,
fn is_null(self) -> Compare<'a>
[src]
fn is_not_null(self) -> Compare<'a>
[src]
fn between<T, V>(self, left: T, right: V) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
V: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
V: Into<DatabaseValue<'a>>,
fn not_between<T, V>(self, left: T, right: V) -> Compare<'a> where
T: Into<DatabaseValue<'a>>,
V: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
V: Into<DatabaseValue<'a>>,
impl<'a> Debug for DatabaseValue<'a>
[src]
impl<'a> Div<DatabaseValue<'a>> for DatabaseValue<'a>
[src]
type Output = DatabaseValue<'a>
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl<'a> From<AggregateToString<'a>> for DatabaseValue<'a>
[src]
fn from(f: AggregateToString<'a>) -> Self
[src]
impl<'a> From<Column<'a>> for DatabaseValue<'a>
[src]
impl<'a> From<Count<'a>> for DatabaseValue<'a>
[src]
impl<'a> From<Function<'a>> for DatabaseValue<'a>
[src]
impl<'a> From<Row<'a>> for DatabaseValue<'a>
[src]
impl<'a> From<RowNumber<'a>> for DatabaseValue<'a>
[src]
impl<'a> From<Select<'a>> for DatabaseValue<'a>
[src]
fn from(sel: Select<'a>) -> DatabaseValue<'a>
[src]
impl<'a> From<SqlOp<'a>> for DatabaseValue<'a>
[src]
impl<'a, T> From<T> for DatabaseValue<'a> where
T: Into<ParameterizedValue<'a>>,
[src]
T: Into<ParameterizedValue<'a>>,
impl<'a, T> From<Vec<T>> for DatabaseValue<'a> where
T: Into<DatabaseValue<'a>>,
[src]
T: Into<DatabaseValue<'a>>,
impl<'a> Mul<DatabaseValue<'a>> for DatabaseValue<'a>
[src]
type Output = DatabaseValue<'a>
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl<'a> PartialEq<DatabaseValue<'a>> for DatabaseValue<'a>
[src]
fn eq(&self, other: &DatabaseValue<'a>) -> bool
[src]
fn ne(&self, other: &DatabaseValue<'a>) -> bool
[src]
impl<'a> Rem<DatabaseValue<'a>> for DatabaseValue<'a>
[src]
type Output = DatabaseValue<'a>
The resulting type after applying the %
operator.
fn rem(self, other: Self) -> Self
[src]
impl<'a> StructuralPartialEq for DatabaseValue<'a>
[src]
impl<'a> Sub<DatabaseValue<'a>> for DatabaseValue<'a>
[src]
type Output = DatabaseValue<'a>
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for DatabaseValue<'a>
impl<'a> Send for DatabaseValue<'a>
impl<'a> Sync for DatabaseValue<'a>
impl<'a> Unpin for DatabaseValue<'a>
impl<'a> UnwindSafe for DatabaseValue<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,