The generated code includes:
/// Sets the value of [labels][crate::model::AttachedDiskInitializeParams::labels].
pub fn set_labels<
T: std::convert::Into<std::collections::HashMap<std::string::String, std::string::String>>,
>(
mut self,
v: T,
) -> Self {
self.labels = v.into();
self
}
I would expect that to consume an iterator.