[][src]Struct sqlx::describe::Column

#[non_exhaustive]
pub struct Column<DB> where
    DB: Database + ?Sized
{ pub name: Option<Box<str>>, pub table_id: Option<<DB as Database>::TableId>, pub type_info: <DB as Database>::TypeInfo, }

A single column of a result set.

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
name: Option<Box<str>>table_id: Option<<DB as Database>::TableId>type_info: <DB as Database>::TypeInfo

Trait Implementations

impl<DB> Debug for Column<DB> where
    DB: Database + ?Sized,
    <DB as Database>::TableId: Debug,
    <DB as Database>::TypeInfo: Debug
[src]

Auto Trait Implementations

impl<DB: ?Sized> RefUnwindSafe for Column<DB> where
    <DB as Database>::TableId: RefUnwindSafe,
    <DB as Database>::TypeInfo: RefUnwindSafe

impl<DB: ?Sized> Send for Column<DB> where
    <DB as Database>::TableId: Send,
    <DB as Database>::TypeInfo: Send

impl<DB: ?Sized> Sync for Column<DB> where
    <DB as Database>::TableId: Sync,
    <DB as Database>::TypeInfo: Sync

impl<DB: ?Sized> Unpin for Column<DB> where
    <DB as Database>::TableId: Unpin,
    <DB as Database>::TypeInfo: Unpin

impl<DB: ?Sized> UnwindSafe for Column<DB> where
    <DB as Database>::TableId: UnwindSafe,
    <DB as Database>::TypeInfo: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<'_, T, DB> HasSqlType<&'_ T> for DB where
    DB: HasSqlType<T>,
    T: ?Sized
[src]

impl<T, DB> HasSqlType<Option<T>> for DB where
    DB: HasSqlType<T>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,