pub enum TypedMode {
Enabled,
Disabled,
}Expand description
Indicates whether typed serialization is enabled or disabled
Variants§
Enabled
Use JSON serialization when enabled
Disabled
Use dynamic, by-field serialization when disabled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypedMode
impl RefUnwindSafe for TypedMode
impl Send for TypedMode
impl Sync for TypedMode
impl Unpin for TypedMode
impl UnwindSafe for TypedMode
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