pub trait KeyRowSer<K, IT>: Sized
where for<'c> &'c IT: IntoIterator<Item = (&'c K, &'c Self)>,
{ // Required method fn serialize_columns<S>(rows: &IT, ser: S) -> Result<S::Ok, S::Error> where S: Serializer; }
Expand description

The Map version of RowSer trait.

Almost the same as KeyRowSer, but additionally needs to convert arbitrary type K to Vec<K>.

Required Methods§

source

fn serialize_columns<S>(rows: &IT, ser: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Object Safety§

This trait is not object safe.

Implementors§