We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbc0414 commit 90c92c2Copy full SHA for 90c92c2
postgres-types/src/serde_json_1.rs
@@ -7,7 +7,7 @@ use std::fmt::Debug;
7
use std::io::Read;
8
9
/// A wrapper type to allow arbitrary `Serialize`/`Deserialize` types to convert to Postgres JSON values.
10
-#[derive(Clone, Debug, PartialEq, Eq)]
+#[derive(Clone, Default, Debug, PartialEq, Eq)]
11
pub struct Json<T>(pub T);
12
13
impl<'a, T> FromSql<'a> for Json<T>
0 commit comments