Trait Map

Source
pub trait Map {
    // Required method
    fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>;
}
Expand description

Trait that can iterate key-value entries of a map or struct.

Refer to the module documentation for examples.

Required Methods§

Source

fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>

Implementors§