pub enum ShowType {
Never,
IfNeeded,
Always,
}Expand description
The showtype argument of PostgreSQL’s get_const_expr.
Variants§
Never
Omit the type and collation because the enclosing coercion supplies them.
IfNeeded
Label constants whose literal syntax does not preserve their type and modifier.
Always
Label every constant, including booleans and positive integers.
Trait Implementations§
impl Copy for ShowType
impl Eq for ShowType
impl StructuralPartialEq for ShowType
Auto Trait Implementations§
impl Forget for ShowType
impl Freeze for ShowType
impl Move for ShowType
impl RefUnwindSafe for ShowType
impl Send for ShowType
impl Sync for ShowType
impl Unpin for ShowType
impl UnsafeUnpin for ShowType
impl UnwindSafe for ShowType
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