@@ -1056,6 +1056,7 @@ impl<'a> IntoIterator for &'a Map<String, Value> {
1056
1056
}
1057
1057
1058
1058
/// An iterator over a serde_json::Map's entries.
1059
+ #[ derive( Clone , Debug , Default ) ]
1059
1060
pub struct Iter < ' a > {
1060
1061
iter : IterImpl < ' a > ,
1061
1062
}
@@ -1081,6 +1082,7 @@ impl<'a> IntoIterator for &'a mut Map<String, Value> {
1081
1082
}
1082
1083
1083
1084
/// A mutable iterator over a serde_json::Map's entries.
1085
+ #[ derive( Debug , Default ) ]
1084
1086
pub struct IterMut < ' a > {
1085
1087
iter : IterMutImpl < ' a > ,
1086
1088
}
@@ -1106,6 +1108,7 @@ impl IntoIterator for Map<String, Value> {
1106
1108
}
1107
1109
1108
1110
/// An owning iterator over a serde_json::Map's entries.
1111
+ #[ derive( Debug , Default ) ]
1109
1112
pub struct IntoIter {
1110
1113
iter : IntoIterImpl ,
1111
1114
}
@@ -1120,6 +1123,7 @@ delegate_iterator!((IntoIter) => (String, Value));
1120
1123
//////////////////////////////////////////////////////////////////////////////
1121
1124
1122
1125
/// An iterator over a serde_json::Map's keys.
1126
+ #[ derive( Clone , Debug , Default ) ]
1123
1127
pub struct Keys < ' a > {
1124
1128
iter : KeysImpl < ' a > ,
1125
1129
}
@@ -1134,6 +1138,7 @@ delegate_iterator!((Keys<'a>) => &'a String);
1134
1138
//////////////////////////////////////////////////////////////////////////////
1135
1139
1136
1140
/// An iterator over a serde_json::Map's values.
1141
+ #[ derive( Clone , Debug , Default ) ]
1137
1142
pub struct Values < ' a > {
1138
1143
iter : ValuesImpl < ' a > ,
1139
1144
}
@@ -1148,6 +1153,7 @@ delegate_iterator!((Values<'a>) => &'a Value);
1148
1153
//////////////////////////////////////////////////////////////////////////////
1149
1154
1150
1155
/// A mutable iterator over a serde_json::Map's values.
1156
+ #[ derive( Debug , Default ) ]
1151
1157
pub struct ValuesMut < ' a > {
1152
1158
iter : ValuesMutImpl < ' a > ,
1153
1159
}
@@ -1162,6 +1168,7 @@ delegate_iterator!((ValuesMut<'a>) => &'a mut Value);
1162
1168
//////////////////////////////////////////////////////////////////////////////
1163
1169
1164
1170
/// An owning iterator over a serde_json::Map's values.
1171
+ #[ derive( Debug , Default ) ]
1165
1172
pub struct IntoValues {
1166
1173
iter : IntoValuesImpl ,
1167
1174
}
0 commit comments