Skip to main content

Value

Trait Value 

Source
pub trait Value:
    Into<Value>
    + SqlxValueIfEnabled
    + IsNullable { }
Expand description

This trait represents values we know to encode and decode from their database type.

Depending on features, this will have supertraits of the encode/decode traits of the backends.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> Value for T
where T: Into<Value> + Value + IsNullable,