pub enum QueryParamType {
Bool,
I64,
F64,
F32,
String,
Bytes,
Value,
Object,
Array(Box<QueryParamType>),
}Expand description
Declared shape of a registered query parameter.
Variants§
Bool
Boolean parameter.
I64
64-bit signed integer parameter.
F64
64-bit floating point parameter.
F32
32-bit floating point parameter.
String
UTF-8 string parameter.
Bytes
Raw bytes parameter.
Value
Any nested PropertyValue payload.
Object
Object/map payload.
Array(Box<QueryParamType>)
Array payload whose elements have the given shape.
Trait Implementations§
Source§impl Clone for QueryParamType
impl Clone for QueryParamType
Source§fn clone(&self) -> QueryParamType
fn clone(&self) -> QueryParamType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryParamType
impl Debug for QueryParamType
Source§impl<'de> Deserialize<'de> for QueryParamType
impl<'de> Deserialize<'de> for QueryParamType
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
Source§impl PartialEq for QueryParamType
impl PartialEq for QueryParamType
Source§impl Serialize for QueryParamType
impl Serialize for QueryParamType
impl Eq for QueryParamType
impl StructuralPartialEq for QueryParamType
Auto Trait Implementations§
impl Freeze for QueryParamType
impl RefUnwindSafe for QueryParamType
impl Send for QueryParamType
impl Sync for QueryParamType
impl Unpin for QueryParamType
impl UnsafeUnpin for QueryParamType
impl UnwindSafe for QueryParamType
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