Enum reql::Document [−][src]
pub enum Document<T: DeserializeOwned + Send> { Expected(T), Unexpected(Value), }
The JSON document returned by the server
Variants
Expected(T)
Unexpected(Value)
Trait Implementations
impl<T: Debug + DeserializeOwned + Send> Debug for Document<T>
[src]
impl<T: Debug + DeserializeOwned + Send> Debug for Document<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone + DeserializeOwned + Send> Clone for Document<T>
[src]
impl<T: Clone + DeserializeOwned + Send> Clone for Document<T>