#[non_exhaustive]#[repr(u16)]pub enum QueryFormat {
RawBinary = 0,
JsonPointer = 1,
}Expand description
Reserved Query formats (0..=4095 reserved for REPE)
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.
Trait Implementations§
Source§impl Clone for QueryFormat
impl Clone for QueryFormat
Source§fn clone(&self) -> QueryFormat
fn clone(&self) -> QueryFormat
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 QueryFormat
Source§impl Debug for QueryFormat
impl Debug for QueryFormat
Source§impl<'de> Deserialize<'de> for QueryFormat
impl<'de> Deserialize<'de> for QueryFormat
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 QueryFormat
Source§impl From<QueryFormat> for u16
impl From<QueryFormat> for u16
Source§fn from(v: QueryFormat) -> Self
fn from(v: QueryFormat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QueryFormat
impl PartialEq for QueryFormat
Source§impl Serialize for QueryFormat
impl Serialize for QueryFormat
impl StructuralPartialEq for QueryFormat
Auto Trait Implementations§
impl Freeze for QueryFormat
impl RefUnwindSafe for QueryFormat
impl Send for QueryFormat
impl Sync for QueryFormat
impl Unpin for QueryFormat
impl UnsafeUnpin for QueryFormat
impl UnwindSafe for QueryFormat
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