Skip to main content

KeyField

Trait KeyField 

Source
pub trait KeyField { }
Expand description

The Rust types a key column can have: non-null scalars.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl KeyField for DateTime<Utc>

Source§

impl KeyField for NaiveDate

Source§

impl KeyField for String

Source§

impl KeyField for bool

Source§

impl KeyField for i8

Source§

impl KeyField for i16

Source§

impl KeyField for i32

Source§

impl KeyField for i64

Source§

impl KeyField for u8

Source§

impl KeyField for u16

Source§

impl KeyField for u32

Implementors§

Source§

impl<const P: u8, const S: u8> KeyField for Numeric<P, S>