Trait rocket_db_pools::diesel::prelude::_

source ·
pub trait _: Column {
    const MAX_LENGTH: usize;
}
Expand description

Max length for columns of type Char/Varchar…

If a given column has a such constraint, this trait will be implemented and specify that length.

Required Associated Constants§

source

const MAX_LENGTH: usize

Max length of that column

Object Safety§

This trait is not object safe.

Implementors§