pub struct JsonCodec;Expand description
JSON codec for human-readable serialization
Uses serde_json for encoding/decoding. This format is intended for debugging, testing, and Postman support.
Trait Implementations§
Source§impl Codec for JsonCodec
impl Codec for JsonCodec
Source§fn content_type() -> ContentType
fn content_type() -> ContentType
Get the content type this codec produces
Auto Trait Implementations§
impl Freeze for JsonCodec
impl RefUnwindSafe for JsonCodec
impl Send for JsonCodec
impl Sync for JsonCodec
impl Unpin for JsonCodec
impl UnsafeUnpin for JsonCodec
impl UnwindSafe for JsonCodec
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