Fix serde docs

This commit is contained in:
Steven Fackler 2019-03-04 21:26:10 -08:00
parent 07c7ffdac6
commit 1d3c540dd9

View File

@ -6,6 +6,7 @@ use std::io::Read;
use crate::types::{FromSql, IsNull, ToSql, Type};
/// A wrapper type to allow arbitrary `Serialize`/`Deserialize` types to convert to Postgres JSON values.
#[derive(Debug)]
pub struct Json<T>(pub T);