pub struct JsonTable {
pub context: Expr,
pub passing: Vec<(String, Expr)>,
pub on_error: JsonBehaviorKind,
pub plan: JsonTablePlan,
pub columns: Vec<JsonTableColumn>,
}Expand description
TableFunc of the kind TFT_JSON_TABLE: the call of JSON_TABLE.
Fields§
§context: Exprdocexpr: the context item as a jsonb value.
passing: Vec<(String, Expr)>The names and the values of the PASSING clause.
on_error: JsonBehaviorKindThe top ON ERROR clause: ERROR, EMPTY or EMPTY ARRAY.
plan: JsonTablePlanThe plan that gives the rows.
columns: Vec<JsonTableColumn>The columns, with no NESTED parts, in the order of the result.
Implementations§
Trait Implementations§
impl StructuralPartialEq for JsonTable
Auto Trait Implementations§
impl Freeze for JsonTable
impl RefUnwindSafe for JsonTable
impl Send for JsonTable
impl Sync for JsonTable
impl Unpin for JsonTable
impl UnsafeUnpin for JsonTable
impl UnwindSafe for JsonTable
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