Docs.rs
  • fire-postgres-0.3.0-beta.7
    • fire-postgres 0.3.0-beta.7
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • crates.io
    • Source
    • Owners
    • soerenmeier
    • Dependencies
      • base64 ^0.22 normal
      • bytes ^1.0 normal
      • chrono ^0.4.30 normal
      • fire-crypto ^0.4.3 normal optional
      • deadpool ^0.12 normal
      • deadpool-postgres ^0.13.0 normal
      • email_address ^0.2 normal optional
      • fallible-iterator ^0.2 normal
      • fire-postgres-derive ^0.3.0-alpha.2 normal
      • fire-protobuf ^0.1.2 normal optional
      • futures-util ^0.3.14 normal
      • juniper ^0.16 normal optional
      • pin-project-lite ^0.2.14 normal
      • postgres-protocol ^0.6 normal
      • postgres-types ^0.2 normal
      • rand ^0.8 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal optional
      • thiserror ^1.0.58 normal
      • tokio-postgres ^0.7 normal
      • tracing ^0.1 normal
      • fire-postgres-types ^0.1.0-alpha.1 normal
      • serde_json ^1.0 dev
    • Versions
    • 16.67% of the crate is documented
  • Go to latest stable release
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

fire_postgres0.3.0-beta.7

ColumnType

Required Methods

  • column_kind

Implementations on Foreign Types

  • &str
  • Option<T>
  • String
  • Vec<String>
  • bool
  • f32
  • f64
  • i16
  • i32
  • i64

Object Safety

Implementors

In fire_postgres::table::column

Trait fire_postgres::table::column::ColumnType

source ·
pub trait ColumnType: Sized {
    // Required method
    fn column_kind() -> ColumnKind;
}

Required Methods§

source

fn column_kind() -> ColumnKind

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ColumnType for &str

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for bool

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for f32

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for f64

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for i16

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for i32

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for i64

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for String

source§

fn column_kind() -> ColumnKind

source§

impl ColumnType for Vec<String>

source§

fn column_kind() -> ColumnKind

source§

impl<T> ColumnType for Option<T>
where T: ColumnType,

source§

fn column_kind() -> ColumnKind

Implementors§

source§

impl ColumnType for UniqueId

source§

impl ColumnType for Date

source§

impl ColumnType for DateTime

source§

impl ColumnType for Timeout