k8s_openapi::merge_strategies::list

Function set

Source
pub fn set<V>(current: &mut V, new: V)
where V: AsOptVec, V::Item: PartialEq,
Expand description

The list is treated as a set.

Items from new will be appended to current, unless current already contains an equal item.