#[non_exhaustive]pub enum SqlFormat {
Csv,
Json,
Tsv,
Txt,
Yaml,
Cbor,
Smile,
Raw(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Csv
csv
Json
json
Tsv
tsv
Txt
txt
Yaml
yaml
Cbor
cbor
Smile
smile
Raw(String)
A value this version of the specification doesn’t list.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SqlFormat
impl<'de> Deserialize<'de> for SqlFormat
Source§fn deserialize<D__: Deserializer<'de>>(
deserializer: D__,
) -> Result<Self, D__::Error>
fn deserialize<D__: Deserializer<'de>>( deserializer: D__, ) -> Result<Self, D__::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SqlFormat
impl StructuralPartialEq for SqlFormat
Auto Trait Implementations§
impl Freeze for SqlFormat
impl RefUnwindSafe for SqlFormat
impl Send for SqlFormat
impl Sync for SqlFormat
impl Unpin for SqlFormat
impl UnsafeUnpin for SqlFormat
impl UnwindSafe for SqlFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.