Update json.rs
This commit is contained in:
parent
8d5f908f96
commit
08539d8151
|
@ -6,6 +6,7 @@ use serde::Serialize;
|
|||
use std::ops::{Deref, DerefMut};
|
||||
|
||||
/// A scalar that can represent any JSON value.
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
|
||||
pub struct Json<T>(pub T);
|
||||
|
||||
impl<T> Deref for Json<T> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user