Struct preserves::value::domain::DebugDomainEncode
source · pub struct DebugDomainEncode;
Expand description
Convenience codec: use this as embedded codec for encoding (only) when embedded values
should be serialized as Preserves String
s holding their Rust std::fmt::Debug
representation.
Trait Implementations§
source§impl<D: Embeddable> DomainEncode<D> for DebugDomainEncode
impl<D: Embeddable> DomainEncode<D> for DebugDomainEncode
Auto Trait Implementations§
impl Freeze for DebugDomainEncode
impl RefUnwindSafe for DebugDomainEncode
impl Send for DebugDomainEncode
impl Sync for DebugDomainEncode
impl Unpin for DebugDomainEncode
impl UnwindSafe for DebugDomainEncode
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