Skip to main content

LabelExt

Trait LabelExt 

Source
pub trait LabelExt: Sized {
    // Provided method
    fn label<K: LabelKey>(self, _key: K) -> Labeled<K, Self> { ... }
}
Expand description

Files a selected item under a declared name: the way to select the same expression twice, and the way out of two tables’ same-named columns colliding.

Provided Methods§

Source

fn label<K: LabelKey>(self, _key: K) -> Labeled<K, Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<C: ColumnKey> LabelExt for Column<C>

Source§

impl<K, Req, S: SqlType> LabelExt for Keyed<K, Req, S>

Source§

impl<Req, S: SqlType> LabelExt for Expr<Req, S>