pub struct EncodedJsonBody { /* private fields */ }Expand description
A JSON request body serialized once into reference-counted bytes.
Clones share the encoded allocation. Internally, the body can also hold the final compressed wire bytes while retaining the original JSON only when request-body trace logging is enabled.
Implementations§
Trait Implementations§
Source§impl Clone for EncodedJsonBody
impl Clone for EncodedJsonBody
Source§fn clone(&self) -> EncodedJsonBody
fn clone(&self) -> EncodedJsonBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncodedJsonBody
impl Debug for EncodedJsonBody
impl Eq for EncodedJsonBody
Source§impl PartialEq for EncodedJsonBody
impl PartialEq for EncodedJsonBody
impl StructuralPartialEq for EncodedJsonBody
Auto Trait Implementations§
impl !Freeze for EncodedJsonBody
impl RefUnwindSafe for EncodedJsonBody
impl Send for EncodedJsonBody
impl Sync for EncodedJsonBody
impl Unpin for EncodedJsonBody
impl UnsafeUnpin for EncodedJsonBody
impl UnwindSafe for EncodedJsonBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.