We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07c7ffd commit 1d3c540Copy full SHA for 1d3c540
1 file changed
tokio-postgres/src/types/serde_json_1.rs
@@ -6,6 +6,7 @@ use std::io::Read;
6
7
use crate::types::{FromSql, IsNull, ToSql, Type};
8
9
+/// A wrapper type to allow arbitrary `Serialize`/`Deserialize` types to convert to Postgres JSON values.
10
#[derive(Debug)]
11
pub struct Json<T>(pub T);
12
0 commit comments