Enum rorm_declaration::hmr::annotations::DefaultValueData
source · Expand description
A column’s default value which is any non object / array json value
Variants
String(&'static str)
Use hexadecimal to represent binary data
Integer(i64)
i64 is used as it can represent any integer defined in DbType
Float(f64)
Ordered float is used as f64 does not Eq and Order which are needed for Hash
Boolean(bool)
Just a bool. Nothing interesting here.
Trait Implementations
sourceimpl AsImr for DefaultValueData
impl AsImr for DefaultValueData
DefaultValue
’s data
type Imr = DefaultValue
type Imr = DefaultValue
Imr type to convert to
Auto Trait Implementations
impl RefUnwindSafe for DefaultValueData
impl Send for DefaultValueData
impl Sync for DefaultValueData
impl Unpin for DefaultValueData
impl UnwindSafe for DefaultValueData
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