pub struct OdbcTypeInfo { /* private fields */ }
Available on crate feature
odbc
only.Expand description
Type information for an ODBC type.
Implementationsยง
Sourceยงimpl OdbcTypeInfo
impl OdbcTypeInfo
Sourceยงimpl OdbcTypeInfo
impl OdbcTypeInfo
pub const BIGINT: OdbcTypeInfo
pub const BIT: OdbcTypeInfo
pub const DATE: OdbcTypeInfo
pub const DOUBLE: OdbcTypeInfo
pub const INTEGER: OdbcTypeInfo
pub const REAL: OdbcTypeInfo
pub const SMALLINT: OdbcTypeInfo
pub const TINYINT: OdbcTypeInfo
pub const UNKNOWN: OdbcTypeInfo
pub const TIME: OdbcTypeInfo
pub const TIMESTAMP: OdbcTypeInfo
pub const fn varchar(length: Option<NonZero<usize>>) -> OdbcTypeInfo
pub const fn varbinary(length: Option<NonZero<usize>>) -> OdbcTypeInfo
pub const fn char(length: Option<NonZero<usize>>) -> OdbcTypeInfo
pub const fn binary(length: Option<NonZero<usize>>) -> OdbcTypeInfo
pub const fn float(precision: usize) -> OdbcTypeInfo
pub const fn decimal(precision: usize, scale: i16) -> OdbcTypeInfo
pub const fn numeric(precision: usize, scale: i16) -> OdbcTypeInfo
pub const fn time(precision: i16) -> OdbcTypeInfo
pub const fn timestamp(precision: i16) -> OdbcTypeInfo
Trait Implementationsยง
Sourceยงimpl Clone for OdbcTypeInfo
impl Clone for OdbcTypeInfo
Sourceยงfn clone(&self) -> OdbcTypeInfo
fn clone(&self) -> OdbcTypeInfo
Returns a duplicate 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 OdbcTypeInfo
impl Debug for OdbcTypeInfo
Sourceยงimpl Display for OdbcTypeInfo
impl Display for OdbcTypeInfo
Sourceยงimpl From<OdbcTypeInfo> for AnyTypeInfo
impl From<OdbcTypeInfo> for AnyTypeInfo
Sourceยงfn from(info: OdbcTypeInfo) -> AnyTypeInfo
fn from(info: OdbcTypeInfo) -> AnyTypeInfo
Converts to this type from the input type.
Sourceยงimpl PartialEq for OdbcTypeInfo
impl PartialEq for OdbcTypeInfo
impl Eq for OdbcTypeInfo
impl StructuralPartialEq for OdbcTypeInfo
Auto Trait Implementationsยง
impl Freeze for OdbcTypeInfo
impl RefUnwindSafe for OdbcTypeInfo
impl Send for OdbcTypeInfo
impl Sync for OdbcTypeInfo
impl Unpin for OdbcTypeInfo
impl UnwindSafe for OdbcTypeInfo
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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ยง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.Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more