pub enum JsonTableOnBehavior {
Null,
Error,
Default(Box<Expr>),
}Expand description
v7.39 (round 205) — a JSON_TABLE column’s ON EMPTY / ON ERROR clause.
Variants§
Null
Default: the column value is NULL.
Error
ERROR ON {EMPTY|ERROR} — raise PG’s error.
Default(Box<Expr>)
DEFAULT <expr> ON {EMPTY|ERROR} — the given value.
Trait Implementations§
Source§impl Clone for JsonTableOnBehavior
impl Clone for JsonTableOnBehavior
Source§fn clone(&self) -> JsonTableOnBehavior
fn clone(&self) -> JsonTableOnBehavior
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonTableOnBehavior
impl Debug for JsonTableOnBehavior
Source§impl PartialEq for JsonTableOnBehavior
impl PartialEq for JsonTableOnBehavior
impl StructuralPartialEq for JsonTableOnBehavior
Auto Trait Implementations§
impl Freeze for JsonTableOnBehavior
impl RefUnwindSafe for JsonTableOnBehavior
impl Send for JsonTableOnBehavior
impl Sync for JsonTableOnBehavior
impl Unpin for JsonTableOnBehavior
impl UnsafeUnpin for JsonTableOnBehavior
impl UnwindSafe for JsonTableOnBehavior
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