Struct eventually::serde::Json
source · pub struct Json<T>(/* private fields */)
where
for<'d> T: Serialize + Send + Sync + Deserialize<'d>;
Expand description
Implements the Serializer and Deserializer traits, which use the serde crate to serialize and deserialize a message into JSON.
Trait Implementations§
source§impl<T> Deserializer<T> for Json<T>
impl<T> Deserializer<T> for Json<T>
source§impl<T> Serializer<T> for Json<T>
impl<T> Serializer<T> for Json<T>
impl<T> Copy for Json<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Json<T>where
T: RefUnwindSafe,
impl<T> Send for Json<T>
impl<T> Sync for Json<T>
impl<T> Unpin for Json<T>where
T: Unpin,
impl<T> UnwindSafe for Json<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more