Skip to main content

UBigInt

Struct UBigInt 

Source
pub struct UBigInt;
Expand description

SQL 64-bit unsigned integer type.

Trait Implementations§

Source§

impl AsExpression<UBigInt> for u64

Source§

type Expression<'e> = TypedParam<'e, UBigInt, u64> where u64: 'e

Concrete expression type returned for a borrowed value.
Source§

fn as_expression<'e>(&'e self) -> <u64 as AsExpression<UBigInt>>::Expression<'e>

Borrows self as a typed expression.
Source§

impl Nullability for UBigInt

Source§

type Null = NotNull

Nullability marker for the type.
Source§

impl TypeCast for UBigInt

Source§

type From = u64

Rust type commonly used for this SQL type.
Source§

type Inner = u64

Stored parameter representation after interning.
Source§

fn as_cast<'a>( value: &'a <UBigInt as TypeCast>::From, ) -> <UBigInt as TypeMeta>::Repr<'a>

Borrows a Rust value as this SQL type’s runtime representation.
Source§

fn from_db_value( value: DbValue, ) -> Result<<UBigInt as TypeMeta>::Repr<'static>, Error>

Decodes a driver-neutral value into this SQL type’s representation.
Source§

impl TypeMeta for UBigInt

Source§

type Repr<'a> = u64

Borrowed or owned representation used while binding or decoding values.
Source§

impl Comparable for UBigInt

Source§

impl Compatible<UBigInt> for u64

Source§

impl Numeric for UBigInt

Source§

impl Orderable for UBigInt

Source§

impl Required for UBigInt

Auto Trait Implementations§

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<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<Key> RelationForeignKey<Key> for Key

Source§

fn from_relation_key(key: Key) -> Key

Source§

impl<Key, T> RelationForeignKeyRef<Key> for T
where Key: Clone, T: RelationForeignKey<Key>,

Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.