Enum partiql_extension_ion::Encoding
source · pub enum Encoding {
Ion,
PartiqlEncodedAsIon,
}
Expand description
The encoding to use when decoding/encoding Ion to/from PartiQL partiql_value::Value
Variants§
Ion
‘Unlifted’/‘Unlowered’ Ion to/from PartiQL partiql_value::Value
. partiql_value::Value
s that do not have a direct
Ion analog will result in an error (e.g. PartiQL partiql_value::Value
has a ‘bag’ type, but Ion does not,
so attempting to encode a ‘bag’ results in an error).
PartiqlEncodedAsIon
PartiQL encoded into Ion as supported by partiql-tests
and by other implementations.
(e.g., a PartiQL bag is encoded as an Ion list annotated with “$bag”).
Trait Implementations§
source§impl PartialEq<Encoding> for Encoding
impl PartialEq<Encoding> for Encoding
impl Copy for Encoding
impl Eq for Encoding
impl StructuralEq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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