Enum sqlx_postgres::any::AnyTypeInfoKind
source · pub enum AnyTypeInfoKind {
Null,
Bool,
SmallInt,
Integer,
BigInt,
Real,
Double,
Text,
Blob,
}
Variants§
Implementations§
source§impl AnyTypeInfoKind
impl AnyTypeInfoKind
pub fn is_integer(&self) -> bool
Trait Implementations§
source§impl Clone for AnyTypeInfoKind
impl Clone for AnyTypeInfoKind
source§fn clone(&self) -> AnyTypeInfoKind
fn clone(&self) -> AnyTypeInfoKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnyTypeInfoKind
impl Debug for AnyTypeInfoKind
source§impl PartialEq for AnyTypeInfoKind
impl PartialEq for AnyTypeInfoKind
source§fn eq(&self, other: &AnyTypeInfoKind) -> bool
fn eq(&self, other: &AnyTypeInfoKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AnyTypeInfoKind
impl Eq for AnyTypeInfoKind
impl StructuralEq for AnyTypeInfoKind
impl StructuralPartialEq for AnyTypeInfoKind
Auto Trait Implementations§
impl RefUnwindSafe for AnyTypeInfoKind
impl Send for AnyTypeInfoKind
impl Sync for AnyTypeInfoKind
impl Unpin for AnyTypeInfoKind
impl UnwindSafe for AnyTypeInfoKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.