Trait diesel::query_source::SizeRestrictedColumn

source ·
pub trait SizeRestrictedColumn: 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§


const MAX_LENGTH: usize

Max length of that column

Object Safety§

This trait is not object safe.