pub struct JsonEncoderConfig { /* private fields */ }Expand description
The JSON encoder’s configuration
Trait Implementations
sourceimpl Clone for JsonEncoderConfig
impl Clone for JsonEncoderConfig
sourcefn clone(&self) -> JsonEncoderConfig
fn clone(&self) -> JsonEncoderConfig
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 JsonEncoderConfig
impl Debug for JsonEncoderConfig
sourceimpl Default for JsonEncoderConfig
impl Default for JsonEncoderConfig
sourcefn default() -> JsonEncoderConfig
fn default() -> JsonEncoderConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JsonEncoderConfig
impl<'de> Deserialize<'de> for JsonEncoderConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for JsonEncoderConfig
impl Hash for JsonEncoderConfig
sourceimpl PartialEq<JsonEncoderConfig> for JsonEncoderConfig
impl PartialEq<JsonEncoderConfig> for JsonEncoderConfig
sourcefn eq(&self, other: &JsonEncoderConfig) -> bool
fn eq(&self, other: &JsonEncoderConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &JsonEncoderConfig) -> bool
fn ne(&self, other: &JsonEncoderConfig) -> bool
This method tests for !=.
impl Eq for JsonEncoderConfig
impl StructuralEq for JsonEncoderConfig
impl StructuralPartialEq for JsonEncoderConfig
Auto Trait Implementations
impl RefUnwindSafe for JsonEncoderConfig
impl Send for JsonEncoderConfig
impl Sync for JsonEncoderConfig
impl Unpin for JsonEncoderConfig
impl UnwindSafe for JsonEncoderConfig
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