Skip to main content

Any

Struct Any 

Source
pub struct Any;
Expand description

Untyped SQL, such as a raw SQL fragment. Compatible with every SQLite marker.

Trait Implementations§

Source§

impl AggregatePolicy<SQLiteDialect> for Any

Source§

type Sum = Any

Result type of SUM.
Source§

type Avg = Real

Result type of AVG.
Source§

impl ArithmeticOutput for Any

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl ArithmeticOutput<Any> for Integer

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl ArithmeticOutput<Any> for Real

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl ArithmeticOutput<Any> for Numeric

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl ArithmeticOutput<Integer> for Any

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl ArithmeticOutput<Numeric> for Any

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl ArithmeticOutput<Real> for Any

Source§

type Output = Any

The resulting SQL type of the arithmetic expression.
Source§

type Nullability = PropagateNullability

Whether the operator itself can produce NULL even from non-NULL operands: / and % on SQLite’s Integer, Real and Numeric and on every MySQL numeric type, which return NULL for a zero divisor. PostgreSQL raises an error instead, so its operators only propagate operand nullability.
Source§

impl Assignable for Any

Source§

impl Assignable<Blob> for Any

Source§

impl Assignable<Integer> for Any

Source§

impl Assignable<Numeric> for Any

Source§

impl Assignable<Real> for Any

Source§

impl Assignable<Text> for Any

Source§

impl Clone for Any

Source§

fn clone(&self) -> Any

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Compatible for Any

Source§

impl Compatible<Any> for Integer

Source§

impl Compatible<Any> for Text

Source§

impl Compatible<Any> for Real

Source§

impl Compatible<Any> for Blob

Source§

impl Compatible<Any> for Numeric

Source§

impl Compatible<Blob> for Any

Source§

impl Compatible<Integer> for Any

Source§

impl Compatible<Numeric> for Any

Source§

impl Compatible<Placeholder> for Any

Source§

impl Compatible<Real> for Any

Source§

impl Compatible<Text> for Any

Source§

impl Copy for Any

Source§

impl DataType for Any

Source§

impl Debug for Any

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Any

Source§

fn default() -> Any

Returns the “default value” for a type. Read more
Source§

impl DefaultCastTypeName for Any

Source§

const CAST_TYPE_NAME: &'static str = "ANY"

The type name used in CAST(expr AS <name>).
Source§

impl Eq for Any

Source§

impl Hash for Any

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl LengthPolicy<SQLiteDialect> for Any

Source§

type Output = Integer

Result type of the length functions.
Source§

impl NegOutput for Any

Source§

type Output = Any

The resulting SQL type of -expr.
Source§

impl Numeric for Any

Source§

impl PartialEq for Any

Source§

fn eq(&self, other: &Any) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl SQLTypeToRust<SQLiteDialect> for Any

Source§

impl SQLiteAffinity for Any

Source§

const SQL_TYPE: &'static str = "ANY"

The affinity as written in DDL ("INTEGER", "TEXT", …).
Source§

impl StructuralPartialEq for Any

Source§

impl Textual for Any

Auto Trait Implementations§

§

impl Freeze for Any

§

impl RefUnwindSafe for Any

§

impl Send for Any

§

impl Sync for Any

§

impl Unpin for Any

§

impl UnsafeUnpin for Any

§

impl UnwindSafe for Any

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<'a, T, D> CastTarget<'a, T, D> for T

Source§

fn cast_type_name(self) -> &'a str

The SQL type name to cast to.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. 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<Joined, From> JoinKey<From, JoinReverse> for Joined
where From: Joinable<Joined> + ?Sized,

Source§

fn pairs() -> &'static [(&'static str, &'static str)]

(joined_column, from_column) pairs the ON condition matches, in key order, read through Self::pair.
Source§

fn pair(pair: &(&'static str, &'static str)) -> (&'static str, &'static str)

The (joined_column, from_column) names of pair.
Source§

impl<List> ListIncludes<Nil, ()> for List

Source§

impl<Mk> MarkerAggValidFor<()> for Mk

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.
Source§

impl<T> TypeEq<T> for T