Trait serde_query::DeserializeQuery [−][src]
pub trait DeserializeQuery<'de> where
Self: From<Self::Query>,
Self::Query: Deserialize<'de> + Deref<Target = Self> + DerefMut, {
type Query;
}
Expand description
A data structure that can be deserialized with a query.
The Query
type is a #[repr(transparent)]
wrapper automatically generated by
the proc macro, and can be converted to the implementor
(the type with #[derive(DeserializeQuery)
]) after deserializing from the document
using Deserialize
implementation of the query type.