Skip to main content

SqlComparable

Trait SqlComparable 

Source
pub trait SqlComparable<Rhs>: Sealed<Rhs> { }
Expand description

Marks SQL value types that can be compared without discarding their base type, including nullable/non-nullable forms of the same type.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> SqlComparable<T> for Option<T>

Implementors§

Source§

impl<T> SqlComparable<Option<T>> for T

Source§

impl<T> SqlComparable<T> for T