ColumnTrait

Trait ColumnTrait 

Source
pub trait ColumnTrait {
    // Required method
    fn name(&self) -> &'static str;

    // Provided methods
    fn column_type(&self) -> ColumnType { ... }
    fn translation_key(&self) -> Option<&'static str> { ... }
}

Required Methods§

Source

fn name(&self) -> &'static str

Provided Methods§

Source

fn column_type(&self) -> ColumnType

Source

fn translation_key(&self) -> Option<&'static str>

Implementors§