[go: up one dir, main page]

mongodb 0.3.10

A native MongoDB driver developed under MongoDB labs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[macro_use]
mod macros;

pub mod crud;
pub mod eq;
pub mod sdam;
pub mod server_selection;

use serde_json::{Map, Value};

pub trait FromValue: Sized {
    fn from_json(object: &Map<String, Value>) -> Self;
}

pub trait FromValueResult: Sized {
    fn from_json(object: &Map<String, Value>) -> Result<Self, String>;
}