pub struct JsonObjectFunc {
pub pairs: Vec<(Expression, Expression)>,
pub null_handling: Option<JsonNullHandling>,
pub with_unique_keys: bool,
pub returning_type: Option<DataType>,
pub format_json: bool,
pub encoding: Option<String>,
pub star: bool,
}Expand description
JSON_OBJECT function
Fields§
§pairs: Vec<(Expression, Expression)>§null_handling: Option<JsonNullHandling>§with_unique_keys: bool§returning_type: Option<DataType>§format_json: bool§encoding: Option<String>§star: boolFor JSON_OBJECT(*) syntax
Trait Implementations§
Source§impl Clone for JsonObjectFunc
impl Clone for JsonObjectFunc
Source§fn clone(&self) -> JsonObjectFunc
fn clone(&self) -> JsonObjectFunc
Returns a duplicate of the value. Read more
1.0.0 · 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 JsonObjectFunc
impl Debug for JsonObjectFunc
Source§impl<'de> Deserialize<'de> for JsonObjectFunc
impl<'de> Deserialize<'de> for JsonObjectFunc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsonObjectFunc
impl PartialEq for JsonObjectFunc
Source§impl Serialize for JsonObjectFunc
impl Serialize for JsonObjectFunc
impl StructuralPartialEq for JsonObjectFunc
Auto Trait Implementations§
impl Freeze for JsonObjectFunc
impl RefUnwindSafe for JsonObjectFunc
impl Send for JsonObjectFunc
impl Sync for JsonObjectFunc
impl Unpin for JsonObjectFunc
impl UnwindSafe for JsonObjectFunc
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