Override the field passed to [`MapBuilder::new`] By default, a nullable field is created with the name `values` Note: [`Self::finish`] and [`Self::finish_cloned`] will panic if the field's data type does not match that of `V`
(self, field: impl Into<FieldRef>)
| 133 | /// Note: [`Self::finish`] and [`Self::finish_cloned`] will panic if the |
| 134 | /// field's data type does not match that of `V` |
| 135 | pub fn with_values_field(self, field: impl Into<FieldRef>) -> Self { |
| 136 | Self { |
| 137 | value_field: Some(field.into()), |
| 138 | ..self |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | /// Returns the key array builder of the map |
| 143 | pub fn keys(&mut self) -> &mut K { |
no outgoing calls