pub struct IsJson {
pub this: Expression,
pub json_type: Option<String>,
pub unique_keys: Option<JsonUniqueKeys>,
pub negated: bool,
}Expand description
IS JSON predicate (SQL standard) Checks if a value is valid JSON
Fields§
§this: Expression§json_type: Option<String>JSON type: VALUE, SCALAR, OBJECT, or ARRAY (None = just IS JSON)
unique_keys: Option<JsonUniqueKeys>Key uniqueness constraint
negated: boolWhether IS NOT JSON
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IsJson
impl<'de> Deserialize<'de> for IsJson
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
impl StructuralPartialEq for IsJson
Auto Trait Implementations§
impl Freeze for IsJson
impl RefUnwindSafe for IsJson
impl Send for IsJson
impl Sync for IsJson
impl Unpin for IsJson
impl UnwindSafe for IsJson
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