pub struct JsonEncoder(_);Expand description
An Encoder which writes a JSON object.
Implementations
sourceimpl JsonEncoder
impl JsonEncoder
Trait Implementations
sourceimpl Clone for JsonEncoder
impl Clone for JsonEncoder
sourcefn clone(&self) -> JsonEncoder
fn clone(&self) -> JsonEncoder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for JsonEncoder
impl Debug for JsonEncoder
sourceimpl Default for JsonEncoder
impl Default for JsonEncoder
sourcefn default() -> JsonEncoder
fn default() -> JsonEncoder
Returns the “default value” for a type. Read more
sourceimpl Encode for JsonEncoder
impl Encode for JsonEncoder
sourceimpl Hash for JsonEncoder
impl Hash for JsonEncoder
sourceimpl PartialEq<JsonEncoder> for JsonEncoder
impl PartialEq<JsonEncoder> for JsonEncoder
sourcefn eq(&self, other: &JsonEncoder) -> bool
fn eq(&self, other: &JsonEncoder) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &JsonEncoder) -> bool
fn ne(&self, other: &JsonEncoder) -> bool
This method tests for !=.
impl Copy for JsonEncoder
impl Eq for JsonEncoder
impl StructuralEq for JsonEncoder
impl StructuralPartialEq for JsonEncoder
Auto Trait Implementations
impl RefUnwindSafe for JsonEncoder
impl Send for JsonEncoder
impl Sync for JsonEncoder
impl Unpin for JsonEncoder
impl UnwindSafe for JsonEncoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + Send + Sync + 'static, Global> where
T: Send + Sync,
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more