pub enum JsonEncoding {
Utf8,
Utf16,
Utf32,
}Expand description
A SQL/JSON ENCODING name — the closed set PostgreSQL accepts at raw parse.
Variants§
Trait Implementations§
Source§impl Clone for JsonEncoding
impl Clone for JsonEncoding
Source§fn clone(&self) -> JsonEncoding
fn clone(&self) -> JsonEncoding
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 moreimpl Copy for JsonEncoding
Source§impl Debug for JsonEncoding
impl Debug for JsonEncoding
Source§impl<'de> Deserialize<'de> for JsonEncoding
impl<'de> Deserialize<'de> for JsonEncoding
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 Eq for JsonEncoding
Source§impl Hash for JsonEncoding
impl Hash for JsonEncoding
Source§impl PartialEq for JsonEncoding
impl PartialEq for JsonEncoding
Source§impl Render for JsonEncoding
impl Render for JsonEncoding
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for JsonEncoding
impl Serialize for JsonEncoding
impl StructuralPartialEq for JsonEncoding
Auto Trait Implementations§
impl Freeze for JsonEncoding
impl RefUnwindSafe for JsonEncoding
impl Send for JsonEncoding
impl Sync for JsonEncoding
impl Unpin for JsonEncoding
impl UnsafeUnpin for JsonEncoding
impl UnwindSafe for JsonEncoding
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