Macro serialize_without_context

Source
macro_rules! serialize_without_context {
    ($typ:tt) => { ... };
    ($typ:tt, $($arg:tt),*) => { ... };
}
Expand description

Implement SerializeWithContext for types that implement Serialize and don’t support configurable serialization.

The implementation invokes Serialize::serialize, ignoring the context.