Type Alias schemars::MapEntry

source ·
pub type MapEntry<'a, K, V> = Entry<'a, K, V>;

Aliased Type§

enum MapEntry<'a, K, V> {
    Occupied(OccupiedEntry<'a, K, V>),
    Vacant(VacantEntry<'a, K, V>),
}

Variants§

§

Occupied(OccupiedEntry<'a, K, V>)

Existing slot with equivalent key.

§

Vacant(VacantEntry<'a, K, V>)

Vacant slot (no equivalent key in the map).