@@ -1106,6 +1106,11 @@ public struct SearchEngineDefinition {
1106
1106
* also used to form the base telemetry id and may be extended by telemetrySuffix.
1107
1107
*/
1108
1108
public var identifier : String
1109
+ /**
1110
+ * Indicates the date until which the engine variant or subvariant is considered new
1111
+ * (format: YYYY-MM-DD).
1112
+ */
1113
+ public var isNewUntil : String ?
1109
1114
/**
1110
1115
* The user visible name of the search engine.
1111
1116
*/
@@ -1165,6 +1170,10 @@ public struct SearchEngineDefinition {
1165
1170
* identifier, e.g. for saving the user's settings for the engine. It is
1166
1171
* also used to form the base telemetry id and may be extended by telemetrySuffix.
1167
1172
*/identifier: String ,
1173
+ /**
1174
+ * Indicates the date until which the engine variant or subvariant is considered new
1175
+ * (format: YYYY-MM-DD).
1176
+ */isNewUntil: String ? ,
1168
1177
/**
1169
1178
* The user visible name of the search engine.
1170
1179
*/name: String ,
@@ -1199,6 +1208,7 @@ public struct SearchEngineDefinition {
1199
1208
self . charset = charset
1200
1209
self . classification = classification
1201
1210
self . identifier = identifier
1211
+ self . isNewUntil = isNewUntil
1202
1212
self . name = name
1203
1213
self . optional = optional
1204
1214
self . partnerCode = partnerCode
@@ -1228,6 +1238,9 @@ extension SearchEngineDefinition: Equatable, Hashable {
1228
1238
if lhs. identifier != rhs. identifier {
1229
1239
return false
1230
1240
}
1241
+ if lhs. isNewUntil != rhs. isNewUntil {
1242
+ return false
1243
+ }
1231
1244
if lhs. name != rhs. name {
1232
1245
return false
1233
1246
}
@@ -1257,6 +1270,7 @@ extension SearchEngineDefinition: Equatable, Hashable {
1257
1270
hasher. combine ( charset)
1258
1271
hasher. combine ( classification)
1259
1272
hasher. combine ( identifier)
1273
+ hasher. combine ( isNewUntil)
1260
1274
hasher. combine ( name)
1261
1275
hasher. combine ( optional)
1262
1276
hasher. combine ( partnerCode)
@@ -1280,6 +1294,7 @@ public struct FfiConverterTypeSearchEngineDefinition: FfiConverterRustBuffer {
1280
1294
charset: FfiConverterString . read ( from: & buf) ,
1281
1295
classification: FfiConverterTypeSearchEngineClassification . read ( from: & buf) ,
1282
1296
identifier: FfiConverterString . read ( from: & buf) ,
1297
+ isNewUntil: FfiConverterOptionString . read ( from: & buf) ,
1283
1298
name: FfiConverterString . read ( from: & buf) ,
1284
1299
optional: FfiConverterBool . read ( from: & buf) ,
1285
1300
partnerCode: FfiConverterString . read ( from: & buf) ,
@@ -1295,6 +1310,7 @@ public struct FfiConverterTypeSearchEngineDefinition: FfiConverterRustBuffer {
1295
1310
FfiConverterString . write ( value. charset, into: & buf)
1296
1311
FfiConverterTypeSearchEngineClassification . write ( value. classification, into: & buf)
1297
1312
FfiConverterString . write ( value. identifier, into: & buf)
1313
+ FfiConverterOptionString . write ( value. isNewUntil, into: & buf)
1298
1314
FfiConverterString . write ( value. name, into: & buf)
1299
1315
FfiConverterBool . write ( value. optional, into: & buf)
1300
1316
FfiConverterString . write ( value. partnerCode, into: & buf)
0 commit comments