Skip to main content

LabelExt

Trait LabelExt 

Source
pub trait LabelExt: Sized {
    // Provided method
    fn label<K>(self, _key: K) -> Labeled<K, Self>
       where K: LabelKey { ... }
}
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>(self, _key: K) -> Labeled<K, Self>
where K: LabelKey,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

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

Source§

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

Source§

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