Struct rmp_serde::config::DefaultConfig
source · pub struct DefaultConfig;
Expand description
The default serializer/deserializer configuration.
This configuration:
- Writes structs as a tuple, without field names
- Writes enum variants as integers
- Writes and reads types as binary, not human-readable This is the most compact representation.
Trait Implementations§
source§impl Clone for DefaultConfig
impl Clone for DefaultConfig
source§fn clone(&self) -> DefaultConfig
fn clone(&self) -> DefaultConfig
Returns a copy of the value. Read more
1.0.0 · 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 DefaultConfig
impl Debug for DefaultConfig
impl Copy for DefaultConfig
Auto Trait Implementations§
impl Freeze for DefaultConfig
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnwindSafe for DefaultConfig
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