pub struct JsonValue {
pub raw: Expr,
pub formatted: Expr,
pub format: JsonFormat,
}Expand description
JsonValueExpr: an input of a SQL/JSON function. The executor reads formatted, and the deparser shows raw and the format.
Fields§
§raw: ExprThe input as the query wrote it.
formatted: ExprThe input as a value of json or jsonb, or as text for an input of bytea.
format: JsonFormatTrait Implementations§
impl StructuralPartialEq for JsonValue
Auto Trait Implementations§
impl Freeze for JsonValue
impl RefUnwindSafe for JsonValue
impl Send for JsonValue
impl Sync for JsonValue
impl Unpin for JsonValue
impl UnsafeUnpin for JsonValue
impl UnwindSafe for JsonValue
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