Struct rorm_declaration::hmr::annotations::MaxLength
source · pub struct MaxLength(pub i32);
Expand description
Only for VARCHAR. Specifies the maximum length of the column’s content.
Tuple Fields
0: i32
The annotation’s data
Trait Implementations
sourceimpl AsImr for MaxLength
impl AsImr for MaxLength
type Imr = Annotation
type Imr = Annotation
Imr type to convert to
sourcefn as_imr(&self) -> Annotation
fn as_imr(&self) -> Annotation
Convert to imr type
Auto Trait Implementations
impl RefUnwindSafe for MaxLength
impl Send for MaxLength
impl Sync for MaxLength
impl Unpin for MaxLength
impl UnwindSafe for MaxLength
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more