Trait Aliasable

Source
pub trait Aliasable<'a> {
    type Target;

    // Required method
    fn alias<T>(self, alias: T) -> Self::Target
       where T: Into<Cow<'a, str>>;
}
Expand description

An object that can be aliased.

Required Associated Types§

Required Methods§

Source

fn alias<T>(self, alias: T) -> Self::Target
where T: Into<Cow<'a, str>>,

Alias table for usage elsewhere in the query.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> Aliasable<'a> for Column<'a>

Source§

impl<'a> Aliasable<'a> for Expression<'a>

Source§

impl<'a> Aliasable<'a> for Function<'a>

Source§

impl<'a> Aliasable<'a> for Table<'a>