pub enum DefaultValueType {
None,
Value(Value),
Expression(Box<dyn Expression>),
}Variants§
Implementations§
Trait Implementations§
Source§impl Debug for DefaultValueType
impl Debug for DefaultValueType
Source§impl Default for DefaultValueType
impl Default for DefaultValueType
Source§fn default() -> DefaultValueType
fn default() -> DefaultValueType
Returns the “default value” for a type. Read more
Source§impl Expression for DefaultValueType
impl Expression for DefaultValueType
Source§impl From<&'static str> for DefaultValueType
impl From<&'static str> for DefaultValueType
Source§fn from(value: &'static str) -> DefaultValueType
fn from(value: &'static str) -> DefaultValueType
Converts to this type from the input type.
Source§impl From<Value> for DefaultValueType
impl From<Value> for DefaultValueType
Source§fn from(value: Value) -> DefaultValueType
fn from(value: Value) -> DefaultValueType
Converts to this type from the input type.
Source§impl From<bool> for DefaultValueType
impl From<bool> for DefaultValueType
Source§fn from(value: bool) -> DefaultValueType
fn from(value: bool) -> DefaultValueType
Converts to this type from the input type.
Source§impl From<i64> for DefaultValueType
impl From<i64> for DefaultValueType
Source§fn from(value: i64) -> DefaultValueType
fn from(value: i64) -> DefaultValueType
Converts to this type from the input type.
Source§impl OpPrecedence for DefaultValueType
impl OpPrecedence for DefaultValueType
Source§fn precedence(&self, writer: &dyn SqlWriter) -> i32
fn precedence(&self, writer: &dyn SqlWriter) -> i32
Lower numbers bind weaker, writers parenthesize when child precedence <= operator precedence.
Auto Trait Implementations§
impl Freeze for DefaultValueType
impl !RefUnwindSafe for DefaultValueType
impl Send for DefaultValueType
impl Sync for DefaultValueType
impl Unpin for DefaultValueType
impl !UnwindSafe for DefaultValueType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more