Override the field passed to [`MapBuilder::new`] By default, a non-nullable field is created with the name `keys` Note: [`Self::finish`] and [`Self::finish_cloned`] will panic if the field's data type does not match that of `K` or the field is nullable
(self, field: impl Into<FieldRef>)
| 120 | /// Note: [`Self::finish`] and [`Self::finish_cloned`] will panic if the |
| 121 | /// field's data type does not match that of `K` or the field is nullable |
| 122 | pub fn with_keys_field(self, field: impl Into<FieldRef>) -> Self { |
| 123 | Self { |
| 124 | key_field: Some(field.into()), |
| 125 | ..self |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | /// Override the field passed to [`MapBuilder::new`] |
| 130 | /// |
no outgoing calls