Server Test

Server Test

rev. 399187927edd9a1e762efeae060e3a56d671920a

Files changed:

tmp-codegen-diff/codegen-server-test/rest_json_validation/rust-server-codegen/src/input.rs

@@ -793,793 +856,853 @@
  813    813   
        pub(crate) string: ::std::option::Option<
  814    814   
            crate::constrained::MaybeConstrained<crate::model::SensitivePatternString>,
  815    815   
        >,
  816    816   
    }
  817    817   
    impl Builder {
  818    818   
        #[allow(missing_docs)] // documentation missing in model
  819    819   
        pub fn string(
  820    820   
            mut self,
  821    821   
            input: ::std::option::Option<crate::model::SensitivePatternString>,
  822    822   
        ) -> Self {
  823         -
            self.string = input.map(
  824         -
                #[allow(clippy::redundant_closure)]
  825         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  826         -
            );
         823  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
  827    824   
            self
  828    825   
        }
  829    826   
        #[allow(missing_docs)] // documentation missing in model
  830    827   
        pub(crate) fn set_string(
  831    828   
            mut self,
  832    829   
            input: Option<
  833    830   
                impl ::std::convert::Into<
  834    831   
                    crate::constrained::MaybeConstrained<crate::model::SensitivePatternString>,
  835    832   
                >,
  836    833   
            >,
@@ -919,916 +982,976 @@
  939    936   
        pub(crate) union: ::std::option::Option<
  940    937   
            crate::constrained::MaybeConstrained<crate::model::RecursiveUnionOne>,
  941    938   
        >,
  942    939   
    }
  943    940   
    impl Builder {
  944    941   
        #[allow(missing_docs)] // documentation missing in model
  945    942   
        pub fn union(
  946    943   
            mut self,
  947    944   
            input: ::std::option::Option<crate::model::RecursiveUnionOne>,
  948    945   
        ) -> Self {
  949         -
            self.union = input.map(
  950         -
                #[allow(clippy::redundant_closure)]
  951         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  952         -
            );
         946  +
            self.union = input.map(crate::constrained::MaybeConstrained::Constrained);
  953    947   
            self
  954    948   
        }
  955    949   
        #[allow(missing_docs)] // documentation missing in model
  956    950   
        pub(crate) fn set_union(
  957    951   
            mut self,
  958    952   
            input: Option<
  959    953   
                impl ::std::convert::Into<
  960    954   
                    crate::constrained::MaybeConstrained<crate::model::RecursiveUnionOne>,
  961    955   
                >,
  962    956   
            >,
@@ -1171,1165 +1549,1496 @@
 1191   1185   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::StructureSet>>,
 1192   1186   
        pub(crate) structure_list_with_no_key: ::std::option::Option<
 1193   1187   
            crate::constrained::MaybeConstrained<crate::model::StructureSetWithNoKey>,
 1194   1188   
        >,
 1195   1189   
        pub(crate) union_list:
 1196   1190   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::UnionSet>>,
 1197   1191   
    }
 1198   1192   
    impl Builder {
 1199   1193   
        #[allow(missing_docs)] // documentation missing in model
 1200   1194   
        pub fn blob_list(mut self, input: ::std::option::Option<crate::model::BlobSet>) -> Self {
 1201         -
            self.blob_list = input.map(
 1202         -
                #[allow(clippy::redundant_closure)]
 1203         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1204         -
            );
        1195  +
            self.blob_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1205   1196   
            self
 1206   1197   
        }
 1207   1198   
        #[allow(missing_docs)] // documentation missing in model
 1208   1199   
        pub(crate) fn set_blob_list(
 1209   1200   
            mut self,
 1210   1201   
            input: Option<
 1211   1202   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::BlobSet>>,
 1212   1203   
            >,
 1213   1204   
        ) -> Self {
 1214   1205   
            self.blob_list = input.map(|v| v.into());
 1215   1206   
            self
 1216   1207   
        }
 1217   1208   
        #[allow(missing_docs)] // documentation missing in model
 1218   1209   
        pub fn boolean_list(
 1219   1210   
            mut self,
 1220   1211   
            input: ::std::option::Option<crate::model::BooleanSet>,
 1221   1212   
        ) -> Self {
 1222         -
            self.boolean_list = input.map(
 1223         -
                #[allow(clippy::redundant_closure)]
 1224         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1225         -
            );
        1213  +
            self.boolean_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1226   1214   
            self
 1227   1215   
        }
 1228   1216   
        #[allow(missing_docs)] // documentation missing in model
 1229   1217   
        pub(crate) fn set_boolean_list(
 1230   1218   
            mut self,
 1231   1219   
            input: Option<
 1232   1220   
                impl ::std::convert::Into<
 1233   1221   
                    crate::constrained::MaybeConstrained<crate::model::BooleanSet>,
 1234   1222   
                >,
 1235   1223   
            >,
 1236   1224   
        ) -> Self {
 1237   1225   
            self.boolean_list = input.map(|v| v.into());
 1238   1226   
            self
 1239   1227   
        }
 1240   1228   
        #[allow(missing_docs)] // documentation missing in model
 1241   1229   
        pub fn string_list(
 1242   1230   
            mut self,
 1243   1231   
            input: ::std::option::Option<crate::model::StringSet>,
 1244   1232   
        ) -> Self {
 1245         -
            self.string_list = input.map(
 1246         -
                #[allow(clippy::redundant_closure)]
 1247         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1248         -
            );
        1233  +
            self.string_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1249   1234   
            self
 1250   1235   
        }
 1251   1236   
        #[allow(missing_docs)] // documentation missing in model
 1252   1237   
        pub(crate) fn set_string_list(
 1253   1238   
            mut self,
 1254   1239   
            input: Option<
 1255   1240   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::StringSet>>,
 1256   1241   
            >,
 1257   1242   
        ) -> Self {
 1258   1243   
            self.string_list = input.map(|v| v.into());
 1259   1244   
            self
 1260   1245   
        }
 1261   1246   
        #[allow(missing_docs)] // documentation missing in model
 1262   1247   
        pub fn byte_list(mut self, input: ::std::option::Option<crate::model::ByteSet>) -> Self {
 1263         -
            self.byte_list = input.map(
 1264         -
                #[allow(clippy::redundant_closure)]
 1265         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1266         -
            );
        1248  +
            self.byte_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1267   1249   
            self
 1268   1250   
        }
 1269   1251   
        #[allow(missing_docs)] // documentation missing in model
 1270   1252   
        pub(crate) fn set_byte_list(
 1271   1253   
            mut self,
 1272   1254   
            input: Option<
 1273   1255   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ByteSet>>,
 1274   1256   
            >,
 1275   1257   
        ) -> Self {
 1276   1258   
            self.byte_list = input.map(|v| v.into());
 1277   1259   
            self
 1278   1260   
        }
 1279   1261   
        #[allow(missing_docs)] // documentation missing in model
 1280   1262   
        pub fn short_list(mut self, input: ::std::option::Option<crate::model::ShortSet>) -> Self {
 1281         -
            self.short_list = input.map(
 1282         -
                #[allow(clippy::redundant_closure)]
 1283         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1284         -
            );
        1263  +
            self.short_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1285   1264   
            self
 1286   1265   
        }
 1287   1266   
        #[allow(missing_docs)] // documentation missing in model
 1288   1267   
        pub(crate) fn set_short_list(
 1289   1268   
            mut self,
 1290   1269   
            input: Option<
 1291   1270   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ShortSet>>,
 1292   1271   
            >,
 1293   1272   
        ) -> Self {
 1294   1273   
            self.short_list = input.map(|v| v.into());
 1295   1274   
            self
 1296   1275   
        }
 1297   1276   
        #[allow(missing_docs)] // documentation missing in model
 1298   1277   
        pub fn integer_list(
 1299   1278   
            mut self,
 1300   1279   
            input: ::std::option::Option<crate::model::IntegerSet>,
 1301   1280   
        ) -> Self {
 1302         -
            self.integer_list = input.map(
 1303         -
                #[allow(clippy::redundant_closure)]
 1304         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1305         -
            );
        1281  +
            self.integer_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1306   1282   
            self
 1307   1283   
        }
 1308   1284   
        #[allow(missing_docs)] // documentation missing in model
 1309   1285   
        pub(crate) fn set_integer_list(
 1310   1286   
            mut self,
 1311   1287   
            input: Option<
 1312   1288   
                impl ::std::convert::Into<
 1313   1289   
                    crate::constrained::MaybeConstrained<crate::model::IntegerSet>,
 1314   1290   
                >,
 1315   1291   
            >,
 1316   1292   
        ) -> Self {
 1317   1293   
            self.integer_list = input.map(|v| v.into());
 1318   1294   
            self
 1319   1295   
        }
 1320   1296   
        #[allow(missing_docs)] // documentation missing in model
 1321   1297   
        pub fn long_list(mut self, input: ::std::option::Option<crate::model::LongSet>) -> Self {
 1322         -
            self.long_list = input.map(
 1323         -
                #[allow(clippy::redundant_closure)]
 1324         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1325         -
            );
        1298  +
            self.long_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1326   1299   
            self
 1327   1300   
        }
 1328   1301   
        #[allow(missing_docs)] // documentation missing in model
 1329   1302   
        pub(crate) fn set_long_list(
 1330   1303   
            mut self,
 1331   1304   
            input: Option<
 1332   1305   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LongSet>>,
 1333   1306   
            >,
 1334   1307   
        ) -> Self {
 1335   1308   
            self.long_list = input.map(|v| v.into());
 1336   1309   
            self
 1337   1310   
        }
 1338   1311   
        #[allow(missing_docs)] // documentation missing in model
 1339   1312   
        pub fn timestamp_list(
 1340   1313   
            mut self,
 1341   1314   
            input: ::std::option::Option<crate::model::TimestampSet>,
 1342   1315   
        ) -> Self {
 1343         -
            self.timestamp_list = input.map(
 1344         -
                #[allow(clippy::redundant_closure)]
 1345         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1346         -
            );
        1316  +
            self.timestamp_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1347   1317   
            self
 1348   1318   
        }
 1349   1319   
        #[allow(missing_docs)] // documentation missing in model
 1350   1320   
        pub(crate) fn set_timestamp_list(
 1351   1321   
            mut self,
 1352   1322   
            input: Option<
 1353   1323   
                impl ::std::convert::Into<
 1354   1324   
                    crate::constrained::MaybeConstrained<crate::model::TimestampSet>,
 1355   1325   
                >,
 1356   1326   
            >,
 1357   1327   
        ) -> Self {
 1358   1328   
            self.timestamp_list = input.map(|v| v.into());
 1359   1329   
            self
 1360   1330   
        }
 1361   1331   
        #[allow(missing_docs)] // documentation missing in model
 1362   1332   
        pub fn date_time_list(
 1363   1333   
            mut self,
 1364   1334   
            input: ::std::option::Option<crate::model::DateTimeSet>,
 1365   1335   
        ) -> Self {
 1366         -
            self.date_time_list = input.map(
 1367         -
                #[allow(clippy::redundant_closure)]
 1368         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1369         -
            );
        1336  +
            self.date_time_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1370   1337   
            self
 1371   1338   
        }
 1372   1339   
        #[allow(missing_docs)] // documentation missing in model
 1373   1340   
        pub(crate) fn set_date_time_list(
 1374   1341   
            mut self,
 1375   1342   
            input: Option<
 1376   1343   
                impl ::std::convert::Into<
 1377   1344   
                    crate::constrained::MaybeConstrained<crate::model::DateTimeSet>,
 1378   1345   
                >,
 1379   1346   
            >,
 1380   1347   
        ) -> Self {
 1381   1348   
            self.date_time_list = input.map(|v| v.into());
 1382   1349   
            self
 1383   1350   
        }
 1384   1351   
        #[allow(missing_docs)] // documentation missing in model
 1385   1352   
        pub fn http_date_list(
 1386   1353   
            mut self,
 1387   1354   
            input: ::std::option::Option<crate::model::HttpDateSet>,
 1388   1355   
        ) -> Self {
 1389         -
            self.http_date_list = input.map(
 1390         -
                #[allow(clippy::redundant_closure)]
 1391         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1392         -
            );
        1356  +
            self.http_date_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1393   1357   
            self
 1394   1358   
        }
 1395   1359   
        #[allow(missing_docs)] // documentation missing in model
 1396   1360   
        pub(crate) fn set_http_date_list(
 1397   1361   
            mut self,
 1398   1362   
            input: Option<
 1399   1363   
                impl ::std::convert::Into<
 1400   1364   
                    crate::constrained::MaybeConstrained<crate::model::HttpDateSet>,
 1401   1365   
                >,
 1402   1366   
            >,
 1403   1367   
        ) -> Self {
 1404   1368   
            self.http_date_list = input.map(|v| v.into());
 1405   1369   
            self
 1406   1370   
        }
 1407   1371   
        #[allow(missing_docs)] // documentation missing in model
 1408   1372   
        pub fn enum_list(mut self, input: ::std::option::Option<crate::model::FooEnumSet>) -> Self {
 1409         -
            self.enum_list = input.map(
 1410         -
                #[allow(clippy::redundant_closure)]
 1411         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1412         -
            );
        1373  +
            self.enum_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1413   1374   
            self
 1414   1375   
        }
 1415   1376   
        #[allow(missing_docs)] // documentation missing in model
 1416   1377   
        pub(crate) fn set_enum_list(
 1417   1378   
            mut self,
 1418   1379   
            input: Option<
 1419   1380   
                impl ::std::convert::Into<
 1420   1381   
                    crate::constrained::MaybeConstrained<crate::model::FooEnumSet>,
 1421   1382   
                >,
 1422   1383   
            >,
 1423   1384   
        ) -> Self {
 1424   1385   
            self.enum_list = input.map(|v| v.into());
 1425   1386   
            self
 1426   1387   
        }
 1427   1388   
        #[allow(missing_docs)] // documentation missing in model
 1428   1389   
        pub fn int_enum_list(
 1429   1390   
            mut self,
 1430   1391   
            input: ::std::option::Option<crate::model::IntegerEnumSet>,
 1431   1392   
        ) -> Self {
 1432         -
            self.int_enum_list = input.map(
 1433         -
                #[allow(clippy::redundant_closure)]
 1434         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1435         -
            );
        1393  +
            self.int_enum_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1436   1394   
            self
 1437   1395   
        }
 1438   1396   
        #[allow(missing_docs)] // documentation missing in model
 1439   1397   
        pub(crate) fn set_int_enum_list(
 1440   1398   
            mut self,
 1441   1399   
            input: Option<
 1442   1400   
                impl ::std::convert::Into<
 1443   1401   
                    crate::constrained::MaybeConstrained<crate::model::IntegerEnumSet>,
 1444   1402   
                >,
 1445   1403   
            >,
 1446   1404   
        ) -> Self {
 1447   1405   
            self.int_enum_list = input.map(|v| v.into());
 1448   1406   
            self
 1449   1407   
        }
 1450   1408   
        #[allow(missing_docs)] // documentation missing in model
 1451   1409   
        pub fn list_list(mut self, input: ::std::option::Option<crate::model::ListSet>) -> Self {
 1452         -
            self.list_list = input.map(
 1453         -
                #[allow(clippy::redundant_closure)]
 1454         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1455         -
            );
        1410  +
            self.list_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1456   1411   
            self
 1457   1412   
        }
 1458   1413   
        #[allow(missing_docs)] // documentation missing in model
 1459   1414   
        pub(crate) fn set_list_list(
 1460   1415   
            mut self,
 1461   1416   
            input: Option<
 1462   1417   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ListSet>>,
 1463   1418   
            >,
 1464   1419   
        ) -> Self {
 1465   1420   
            self.list_list = input.map(|v| v.into());
 1466   1421   
            self
 1467   1422   
        }
 1468   1423   
        #[allow(missing_docs)] // documentation missing in model
 1469   1424   
        pub fn structure_list(
 1470   1425   
            mut self,
 1471   1426   
            input: ::std::option::Option<crate::model::StructureSet>,
 1472   1427   
        ) -> Self {
 1473         -
            self.structure_list = input.map(
 1474         -
                #[allow(clippy::redundant_closure)]
 1475         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1476         -
            );
        1428  +
            self.structure_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1477   1429   
            self
 1478   1430   
        }
 1479   1431   
        #[allow(missing_docs)] // documentation missing in model
 1480   1432   
        pub(crate) fn set_structure_list(
 1481   1433   
            mut self,
 1482   1434   
            input: Option<
 1483   1435   
                impl ::std::convert::Into<
 1484   1436   
                    crate::constrained::MaybeConstrained<crate::model::StructureSet>,
 1485   1437   
                >,
 1486   1438   
            >,
 1487   1439   
        ) -> Self {
 1488   1440   
            self.structure_list = input.map(|v| v.into());
 1489   1441   
            self
 1490   1442   
        }
 1491   1443   
        #[allow(missing_docs)] // documentation missing in model
 1492   1444   
        pub fn structure_list_with_no_key(
 1493   1445   
            mut self,
 1494   1446   
            input: ::std::option::Option<crate::model::StructureSetWithNoKey>,
 1495   1447   
        ) -> Self {
 1496         -
            self.structure_list_with_no_key = input.map(
 1497         -
                #[allow(clippy::redundant_closure)]
 1498         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1499         -
            );
        1448  +
            self.structure_list_with_no_key =
        1449  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
 1500   1450   
            self
 1501   1451   
        }
 1502   1452   
        #[allow(missing_docs)] // documentation missing in model
 1503   1453   
        pub(crate) fn set_structure_list_with_no_key(
 1504   1454   
            mut self,
 1505   1455   
            input: Option<
 1506   1456   
                impl ::std::convert::Into<
 1507   1457   
                    crate::constrained::MaybeConstrained<crate::model::StructureSetWithNoKey>,
 1508   1458   
                >,
 1509   1459   
            >,
 1510   1460   
        ) -> Self {
 1511   1461   
            self.structure_list_with_no_key = input.map(|v| v.into());
 1512   1462   
            self
 1513   1463   
        }
 1514   1464   
        #[allow(missing_docs)] // documentation missing in model
 1515   1465   
        pub fn union_list(mut self, input: ::std::option::Option<crate::model::UnionSet>) -> Self {
 1516         -
            self.union_list = input.map(
 1517         -
                #[allow(clippy::redundant_closure)]
 1518         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1519         -
            );
        1466  +
            self.union_list = input.map(crate::constrained::MaybeConstrained::Constrained);
 1520   1467   
            self
 1521   1468   
        }
 1522   1469   
        #[allow(missing_docs)] // documentation missing in model
 1523   1470   
        pub(crate) fn set_union_list(
 1524   1471   
            mut self,
 1525   1472   
            input: Option<
 1526   1473   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::UnionSet>>,
 1527   1474   
            >,
 1528   1475   
        ) -> Self {
 1529   1476   
            self.union_list = input.map(|v| v.into());
@@ -2010,1957 +2348,2259 @@
 2030   1977   
        pub(crate) float: ::std::option::Option<f32>,
 2031   1978   
        pub(crate) min_float: ::std::option::Option<f32>,
 2032   1979   
        pub(crate) max_float: ::std::option::Option<f32>,
 2033   1980   
    }
 2034   1981   
    impl Builder {
 2035   1982   
        #[allow(missing_docs)] // documentation missing in model
 2036   1983   
        pub fn byte(
 2037   1984   
            mut self,
 2038   1985   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Byte>,
 2039   1986   
        ) -> Self {
 2040         -
            self.byte = input.map(
 2041         -
                #[allow(clippy::redundant_closure)]
 2042         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2043         -
            );
        1987  +
            self.byte = input.map(crate::constrained::MaybeConstrained::Constrained);
 2044   1988   
            self
 2045   1989   
        }
 2046   1990   
        #[allow(missing_docs)] // documentation missing in model
 2047   1991   
        pub(crate) fn set_byte(
 2048   1992   
            mut self,
 2049   1993   
            input: Option<
 2050   1994   
                impl ::std::convert::Into<
 2051   1995   
                    crate::constrained::MaybeConstrained<
 2052   1996   
                        crate::input::malformed_range_override_input::Byte,
 2053   1997   
                    >,
 2054   1998   
                >,
 2055   1999   
            >,
 2056   2000   
        ) -> Self {
 2057   2001   
            self.byte = input.map(|v| v.into());
 2058   2002   
            self
 2059   2003   
        }
 2060   2004   
        #[allow(missing_docs)] // documentation missing in model
 2061   2005   
        pub fn min_byte(
 2062   2006   
            mut self,
 2063   2007   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinByte>,
 2064   2008   
        ) -> Self {
 2065         -
            self.min_byte = input.map(
 2066         -
                #[allow(clippy::redundant_closure)]
 2067         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2068         -
            );
        2009  +
            self.min_byte = input.map(crate::constrained::MaybeConstrained::Constrained);
 2069   2010   
            self
 2070   2011   
        }
 2071   2012   
        #[allow(missing_docs)] // documentation missing in model
 2072   2013   
        pub(crate) fn set_min_byte(
 2073   2014   
            mut self,
 2074   2015   
            input: Option<
 2075   2016   
                impl ::std::convert::Into<
 2076   2017   
                    crate::constrained::MaybeConstrained<
 2077   2018   
                        crate::input::malformed_range_override_input::MinByte,
 2078   2019   
                    >,
 2079   2020   
                >,
 2080   2021   
            >,
 2081   2022   
        ) -> Self {
 2082   2023   
            self.min_byte = input.map(|v| v.into());
 2083   2024   
            self
 2084   2025   
        }
 2085   2026   
        #[allow(missing_docs)] // documentation missing in model
 2086   2027   
        pub fn max_byte(
 2087   2028   
            mut self,
 2088   2029   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxByte>,
 2089   2030   
        ) -> Self {
 2090         -
            self.max_byte = input.map(
 2091         -
                #[allow(clippy::redundant_closure)]
 2092         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2093         -
            );
        2031  +
            self.max_byte = input.map(crate::constrained::MaybeConstrained::Constrained);
 2094   2032   
            self
 2095   2033   
        }
 2096   2034   
        #[allow(missing_docs)] // documentation missing in model
 2097   2035   
        pub(crate) fn set_max_byte(
 2098   2036   
            mut self,
 2099   2037   
            input: Option<
 2100   2038   
                impl ::std::convert::Into<
 2101   2039   
                    crate::constrained::MaybeConstrained<
 2102   2040   
                        crate::input::malformed_range_override_input::MaxByte,
 2103   2041   
                    >,
 2104   2042   
                >,
 2105   2043   
            >,
 2106   2044   
        ) -> Self {
 2107   2045   
            self.max_byte = input.map(|v| v.into());
 2108   2046   
            self
 2109   2047   
        }
 2110   2048   
        #[allow(missing_docs)] // documentation missing in model
 2111   2049   
        pub fn short(
 2112   2050   
            mut self,
 2113   2051   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Short>,
 2114   2052   
        ) -> Self {
 2115         -
            self.short = input.map(
 2116         -
                #[allow(clippy::redundant_closure)]
 2117         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2118         -
            );
        2053  +
            self.short = input.map(crate::constrained::MaybeConstrained::Constrained);
 2119   2054   
            self
 2120   2055   
        }
 2121   2056   
        #[allow(missing_docs)] // documentation missing in model
 2122   2057   
        pub(crate) fn set_short(
 2123   2058   
            mut self,
 2124   2059   
            input: Option<
 2125   2060   
                impl ::std::convert::Into<
 2126   2061   
                    crate::constrained::MaybeConstrained<
 2127   2062   
                        crate::input::malformed_range_override_input::Short,
 2128   2063   
                    >,
 2129   2064   
                >,
 2130   2065   
            >,
 2131   2066   
        ) -> Self {
 2132   2067   
            self.short = input.map(|v| v.into());
 2133   2068   
            self
 2134   2069   
        }
 2135   2070   
        #[allow(missing_docs)] // documentation missing in model
 2136   2071   
        pub fn min_short(
 2137   2072   
            mut self,
 2138   2073   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinShort>,
 2139   2074   
        ) -> Self {
 2140         -
            self.min_short = input.map(
 2141         -
                #[allow(clippy::redundant_closure)]
 2142         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2143         -
            );
        2075  +
            self.min_short = input.map(crate::constrained::MaybeConstrained::Constrained);
 2144   2076   
            self
 2145   2077   
        }
 2146   2078   
        #[allow(missing_docs)] // documentation missing in model
 2147   2079   
        pub(crate) fn set_min_short(
 2148   2080   
            mut self,
 2149   2081   
            input: Option<
 2150   2082   
                impl ::std::convert::Into<
 2151   2083   
                    crate::constrained::MaybeConstrained<
 2152   2084   
                        crate::input::malformed_range_override_input::MinShort,
 2153   2085   
                    >,
 2154   2086   
                >,
 2155   2087   
            >,
 2156   2088   
        ) -> Self {
 2157   2089   
            self.min_short = input.map(|v| v.into());
 2158   2090   
            self
 2159   2091   
        }
 2160   2092   
        #[allow(missing_docs)] // documentation missing in model
 2161   2093   
        pub fn max_short(
 2162   2094   
            mut self,
 2163   2095   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxShort>,
 2164   2096   
        ) -> Self {
 2165         -
            self.max_short = input.map(
 2166         -
                #[allow(clippy::redundant_closure)]
 2167         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2168         -
            );
        2097  +
            self.max_short = input.map(crate::constrained::MaybeConstrained::Constrained);
 2169   2098   
            self
 2170   2099   
        }
 2171   2100   
        #[allow(missing_docs)] // documentation missing in model
 2172   2101   
        pub(crate) fn set_max_short(
 2173   2102   
            mut self,
 2174   2103   
            input: Option<
 2175   2104   
                impl ::std::convert::Into<
 2176   2105   
                    crate::constrained::MaybeConstrained<
 2177   2106   
                        crate::input::malformed_range_override_input::MaxShort,
 2178   2107   
                    >,
 2179   2108   
                >,
 2180   2109   
            >,
 2181   2110   
        ) -> Self {
 2182   2111   
            self.max_short = input.map(|v| v.into());
 2183   2112   
            self
 2184   2113   
        }
 2185   2114   
        #[allow(missing_docs)] // documentation missing in model
 2186   2115   
        pub fn integer(
 2187   2116   
            mut self,
 2188   2117   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Integer>,
 2189   2118   
        ) -> Self {
 2190         -
            self.integer = input.map(
 2191         -
                #[allow(clippy::redundant_closure)]
 2192         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2193         -
            );
        2119  +
            self.integer = input.map(crate::constrained::MaybeConstrained::Constrained);
 2194   2120   
            self
 2195   2121   
        }
 2196   2122   
        #[allow(missing_docs)] // documentation missing in model
 2197   2123   
        pub(crate) fn set_integer(
 2198   2124   
            mut self,
 2199   2125   
            input: Option<
 2200   2126   
                impl ::std::convert::Into<
 2201   2127   
                    crate::constrained::MaybeConstrained<
 2202   2128   
                        crate::input::malformed_range_override_input::Integer,
 2203   2129   
                    >,
 2204   2130   
                >,
 2205   2131   
            >,
 2206   2132   
        ) -> Self {
 2207   2133   
            self.integer = input.map(|v| v.into());
 2208   2134   
            self
 2209   2135   
        }
 2210   2136   
        #[allow(missing_docs)] // documentation missing in model
 2211   2137   
        pub fn min_integer(
 2212   2138   
            mut self,
 2213   2139   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinInteger>,
 2214   2140   
        ) -> Self {
 2215         -
            self.min_integer = input.map(
 2216         -
                #[allow(clippy::redundant_closure)]
 2217         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2218         -
            );
        2141  +
            self.min_integer = input.map(crate::constrained::MaybeConstrained::Constrained);
 2219   2142   
            self
 2220   2143   
        }
 2221   2144   
        #[allow(missing_docs)] // documentation missing in model
 2222   2145   
        pub(crate) fn set_min_integer(
 2223   2146   
            mut self,
 2224   2147   
            input: Option<
 2225   2148   
                impl ::std::convert::Into<
 2226   2149   
                    crate::constrained::MaybeConstrained<
 2227   2150   
                        crate::input::malformed_range_override_input::MinInteger,
 2228   2151   
                    >,
 2229   2152   
                >,
 2230   2153   
            >,
 2231   2154   
        ) -> Self {
 2232   2155   
            self.min_integer = input.map(|v| v.into());
 2233   2156   
            self
 2234   2157   
        }
 2235   2158   
        #[allow(missing_docs)] // documentation missing in model
 2236   2159   
        pub fn max_integer(
 2237   2160   
            mut self,
 2238   2161   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxInteger>,
 2239   2162   
        ) -> Self {
 2240         -
            self.max_integer = input.map(
 2241         -
                #[allow(clippy::redundant_closure)]
 2242         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2243         -
            );
        2163  +
            self.max_integer = input.map(crate::constrained::MaybeConstrained::Constrained);
 2244   2164   
            self
 2245   2165   
        }
 2246   2166   
        #[allow(missing_docs)] // documentation missing in model
 2247   2167   
        pub(crate) fn set_max_integer(
 2248   2168   
            mut self,
 2249   2169   
            input: Option<
 2250   2170   
                impl ::std::convert::Into<
 2251   2171   
                    crate::constrained::MaybeConstrained<
 2252   2172   
                        crate::input::malformed_range_override_input::MaxInteger,
 2253   2173   
                    >,
 2254   2174   
                >,
 2255   2175   
            >,
 2256   2176   
        ) -> Self {
 2257   2177   
            self.max_integer = input.map(|v| v.into());
 2258   2178   
            self
 2259   2179   
        }
 2260   2180   
        #[allow(missing_docs)] // documentation missing in model
 2261   2181   
        pub fn long(
 2262   2182   
            mut self,
 2263   2183   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Long>,
 2264   2184   
        ) -> Self {
 2265         -
            self.long = input.map(
 2266         -
                #[allow(clippy::redundant_closure)]
 2267         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2268         -
            );
        2185  +
            self.long = input.map(crate::constrained::MaybeConstrained::Constrained);
 2269   2186   
            self
 2270   2187   
        }
 2271   2188   
        #[allow(missing_docs)] // documentation missing in model
 2272   2189   
        pub(crate) fn set_long(
 2273   2190   
            mut self,
 2274   2191   
            input: Option<
 2275   2192   
                impl ::std::convert::Into<
 2276   2193   
                    crate::constrained::MaybeConstrained<
 2277   2194   
                        crate::input::malformed_range_override_input::Long,
 2278   2195   
                    >,
 2279   2196   
                >,
 2280   2197   
            >,
 2281   2198   
        ) -> Self {
 2282   2199   
            self.long = input.map(|v| v.into());
 2283   2200   
            self
 2284   2201   
        }
 2285   2202   
        #[allow(missing_docs)] // documentation missing in model
 2286   2203   
        pub fn min_long(
 2287   2204   
            mut self,
 2288   2205   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinLong>,
 2289   2206   
        ) -> Self {
 2290         -
            self.min_long = input.map(
 2291         -
                #[allow(clippy::redundant_closure)]
 2292         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2293         -
            );
        2207  +
            self.min_long = input.map(crate::constrained::MaybeConstrained::Constrained);
 2294   2208   
            self
 2295   2209   
        }
 2296   2210   
        #[allow(missing_docs)] // documentation missing in model
 2297   2211   
        pub(crate) fn set_min_long(
 2298   2212   
            mut self,
 2299   2213   
            input: Option<
 2300   2214   
                impl ::std::convert::Into<
 2301   2215   
                    crate::constrained::MaybeConstrained<
 2302   2216   
                        crate::input::malformed_range_override_input::MinLong,
 2303   2217   
                    >,
 2304   2218   
                >,
 2305   2219   
            >,
 2306   2220   
        ) -> Self {
 2307   2221   
            self.min_long = input.map(|v| v.into());
 2308   2222   
            self
 2309   2223   
        }
 2310   2224   
        #[allow(missing_docs)] // documentation missing in model
 2311   2225   
        pub fn max_long(
 2312   2226   
            mut self,
 2313   2227   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxLong>,
 2314   2228   
        ) -> Self {
 2315         -
            self.max_long = input.map(
 2316         -
                #[allow(clippy::redundant_closure)]
 2317         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2318         -
            );
        2229  +
            self.max_long = input.map(crate::constrained::MaybeConstrained::Constrained);
 2319   2230   
            self
 2320   2231   
        }
 2321   2232   
        #[allow(missing_docs)] // documentation missing in model
 2322   2233   
        pub(crate) fn set_max_long(
 2323   2234   
            mut self,
 2324   2235   
            input: Option<
 2325   2236   
                impl ::std::convert::Into<
 2326   2237   
                    crate::constrained::MaybeConstrained<
 2327   2238   
                        crate::input::malformed_range_override_input::MaxLong,
 2328   2239   
                    >,
@@ -3903,3814 +4178,4053 @@
 3923   3834   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLong>>,
 3924   3835   
        pub(crate) max_long:
 3925   3836   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLong>>,
 3926   3837   
        pub(crate) float: ::std::option::Option<f32>,
 3927   3838   
        pub(crate) min_float: ::std::option::Option<f32>,
 3928   3839   
        pub(crate) max_float: ::std::option::Option<f32>,
 3929   3840   
    }
 3930   3841   
    impl Builder {
 3931   3842   
        #[allow(missing_docs)] // documentation missing in model
 3932   3843   
        pub fn byte(mut self, input: ::std::option::Option<crate::model::RangeByte>) -> Self {
 3933         -
            self.byte = input.map(
 3934         -
                #[allow(clippy::redundant_closure)]
 3935         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3936         -
            );
        3844  +
            self.byte = input.map(crate::constrained::MaybeConstrained::Constrained);
 3937   3845   
            self
 3938   3846   
        }
 3939   3847   
        #[allow(missing_docs)] // documentation missing in model
 3940   3848   
        pub(crate) fn set_byte(
 3941   3849   
            mut self,
 3942   3850   
            input: Option<
 3943   3851   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 3944   3852   
            >,
 3945   3853   
        ) -> Self {
 3946   3854   
            self.byte = input.map(|v| v.into());
 3947   3855   
            self
 3948   3856   
        }
 3949   3857   
        #[allow(missing_docs)] // documentation missing in model
 3950   3858   
        pub fn min_byte(mut self, input: ::std::option::Option<crate::model::MinByte>) -> Self {
 3951         -
            self.min_byte = input.map(
 3952         -
                #[allow(clippy::redundant_closure)]
 3953         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3954         -
            );
        3859  +
            self.min_byte = input.map(crate::constrained::MaybeConstrained::Constrained);
 3955   3860   
            self
 3956   3861   
        }
 3957   3862   
        #[allow(missing_docs)] // documentation missing in model
 3958   3863   
        pub(crate) fn set_min_byte(
 3959   3864   
            mut self,
 3960   3865   
            input: Option<
 3961   3866   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MinByte>>,
 3962   3867   
            >,
 3963   3868   
        ) -> Self {
 3964   3869   
            self.min_byte = input.map(|v| v.into());
 3965   3870   
            self
 3966   3871   
        }
 3967   3872   
        #[allow(missing_docs)] // documentation missing in model
 3968   3873   
        pub fn max_byte(mut self, input: ::std::option::Option<crate::model::MaxByte>) -> Self {
 3969         -
            self.max_byte = input.map(
 3970         -
                #[allow(clippy::redundant_closure)]
 3971         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3972         -
            );
        3874  +
            self.max_byte = input.map(crate::constrained::MaybeConstrained::Constrained);
 3973   3875   
            self
 3974   3876   
        }
 3975   3877   
        #[allow(missing_docs)] // documentation missing in model
 3976   3878   
        pub(crate) fn set_max_byte(
 3977   3879   
            mut self,
 3978   3880   
            input: Option<
 3979   3881   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MaxByte>>,
 3980   3882   
            >,
 3981   3883   
        ) -> Self {
 3982   3884   
            self.max_byte = input.map(|v| v.into());
 3983   3885   
            self
 3984   3886   
        }
 3985   3887   
        #[allow(missing_docs)] // documentation missing in model
 3986   3888   
        pub fn short(mut self, input: ::std::option::Option<crate::model::RangeShort>) -> Self {
 3987         -
            self.short = input.map(
 3988         -
                #[allow(clippy::redundant_closure)]
 3989         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3990         -
            );
        3889  +
            self.short = input.map(crate::constrained::MaybeConstrained::Constrained);
 3991   3890   
            self
 3992   3891   
        }
 3993   3892   
        #[allow(missing_docs)] // documentation missing in model
 3994   3893   
        pub(crate) fn set_short(
 3995   3894   
            mut self,
 3996   3895   
            input: Option<
 3997   3896   
                impl ::std::convert::Into<
 3998   3897   
                    crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 3999   3898   
                >,
 4000   3899   
            >,
 4001   3900   
        ) -> Self {
 4002   3901   
            self.short = input.map(|v| v.into());
 4003   3902   
            self
 4004   3903   
        }
 4005   3904   
        #[allow(missing_docs)] // documentation missing in model
 4006   3905   
        pub fn min_short(mut self, input: ::std::option::Option<crate::model::MinShort>) -> Self {
 4007         -
            self.min_short = input.map(
 4008         -
                #[allow(clippy::redundant_closure)]
 4009         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4010         -
            );
        3906  +
            self.min_short = input.map(crate::constrained::MaybeConstrained::Constrained);
 4011   3907   
            self
 4012   3908   
        }
 4013   3909   
        #[allow(missing_docs)] // documentation missing in model
 4014   3910   
        pub(crate) fn set_min_short(
 4015   3911   
            mut self,
 4016   3912   
            input: Option<
 4017   3913   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MinShort>>,
 4018   3914   
            >,
 4019   3915   
        ) -> Self {
 4020   3916   
            self.min_short = input.map(|v| v.into());
 4021   3917   
            self
 4022   3918   
        }
 4023   3919   
        #[allow(missing_docs)] // documentation missing in model
 4024   3920   
        pub fn max_short(mut self, input: ::std::option::Option<crate::model::MaxShort>) -> Self {
 4025         -
            self.max_short = input.map(
 4026         -
                #[allow(clippy::redundant_closure)]
 4027         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4028         -
            );
        3921  +
            self.max_short = input.map(crate::constrained::MaybeConstrained::Constrained);
 4029   3922   
            self
 4030   3923   
        }
 4031   3924   
        #[allow(missing_docs)] // documentation missing in model
 4032   3925   
        pub(crate) fn set_max_short(
 4033   3926   
            mut self,
 4034   3927   
            input: Option<
 4035   3928   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MaxShort>>,
 4036   3929   
            >,
 4037   3930   
        ) -> Self {
 4038   3931   
            self.max_short = input.map(|v| v.into());
 4039   3932   
            self
 4040   3933   
        }
 4041   3934   
        #[allow(missing_docs)] // documentation missing in model
 4042   3935   
        pub fn integer(mut self, input: ::std::option::Option<crate::model::RangeInteger>) -> Self {
 4043         -
            self.integer = input.map(
 4044         -
                #[allow(clippy::redundant_closure)]
 4045         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4046         -
            );
        3936  +
            self.integer = input.map(crate::constrained::MaybeConstrained::Constrained);
 4047   3937   
            self
 4048   3938   
        }
 4049   3939   
        #[allow(missing_docs)] // documentation missing in model
 4050   3940   
        pub(crate) fn set_integer(
 4051   3941   
            mut self,
 4052   3942   
            input: Option<
 4053   3943   
                impl ::std::convert::Into<
 4054   3944   
                    crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 4055   3945   
                >,
 4056   3946   
            >,
 4057   3947   
        ) -> Self {
 4058   3948   
            self.integer = input.map(|v| v.into());
 4059   3949   
            self
 4060   3950   
        }
 4061   3951   
        #[allow(missing_docs)] // documentation missing in model
 4062   3952   
        pub fn min_integer(
 4063   3953   
            mut self,
 4064   3954   
            input: ::std::option::Option<crate::model::MinInteger>,
 4065   3955   
        ) -> Self {
 4066         -
            self.min_integer = input.map(
 4067         -
                #[allow(clippy::redundant_closure)]
 4068         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4069         -
            );
        3956  +
            self.min_integer = input.map(crate::constrained::MaybeConstrained::Constrained);
 4070   3957   
            self
 4071   3958   
        }
 4072   3959   
        #[allow(missing_docs)] // documentation missing in model
 4073   3960   
        pub(crate) fn set_min_integer(
 4074   3961   
            mut self,
 4075   3962   
            input: Option<
 4076   3963   
                impl ::std::convert::Into<
 4077   3964   
                    crate::constrained::MaybeConstrained<crate::model::MinInteger>,
 4078   3965   
                >,
 4079   3966   
            >,
 4080   3967   
        ) -> Self {
 4081   3968   
            self.min_integer = input.map(|v| v.into());
 4082   3969   
            self
 4083   3970   
        }
 4084   3971   
        #[allow(missing_docs)] // documentation missing in model
 4085   3972   
        pub fn max_integer(
 4086   3973   
            mut self,
 4087   3974   
            input: ::std::option::Option<crate::model::MaxInteger>,
 4088   3975   
        ) -> Self {
 4089         -
            self.max_integer = input.map(
 4090         -
                #[allow(clippy::redundant_closure)]
 4091         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4092         -
            );
        3976  +
            self.max_integer = input.map(crate::constrained::MaybeConstrained::Constrained);
 4093   3977   
            self
 4094   3978   
        }
 4095   3979   
        #[allow(missing_docs)] // documentation missing in model
 4096   3980   
        pub(crate) fn set_max_integer(
 4097   3981   
            mut self,
 4098   3982   
            input: Option<
 4099   3983   
                impl ::std::convert::Into<
 4100   3984   
                    crate::constrained::MaybeConstrained<crate::model::MaxInteger>,
 4101   3985   
                >,
 4102   3986   
            >,
 4103   3987   
        ) -> Self {
 4104   3988   
            self.max_integer = input.map(|v| v.into());
 4105   3989   
            self
 4106   3990   
        }
 4107   3991   
        #[allow(missing_docs)] // documentation missing in model
 4108   3992   
        pub fn long(mut self, input: ::std::option::Option<crate::model::RangeLong>) -> Self {
 4109         -
            self.long = input.map(
 4110         -
                #[allow(clippy::redundant_closure)]
 4111         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4112         -
            );
        3993  +
            self.long = input.map(crate::constrained::MaybeConstrained::Constrained);
 4113   3994   
            self
 4114   3995   
        }
 4115   3996   
        #[allow(missing_docs)] // documentation missing in model
 4116   3997   
        pub(crate) fn set_long(
 4117   3998   
            mut self,
 4118   3999   
            input: Option<
 4119   4000   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 4120   4001   
            >,
 4121   4002   
        ) -> Self {
 4122   4003   
            self.long = input.map(|v| v.into());
 4123   4004   
            self
 4124   4005   
        }
 4125   4006   
        #[allow(missing_docs)] // documentation missing in model
 4126   4007   
        pub fn min_long(mut self, input: ::std::option::Option<crate::model::MinLong>) -> Self {
 4127         -
            self.min_long = input.map(
 4128         -
                #[allow(clippy::redundant_closure)]
 4129         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4130         -
            );
        4008  +
            self.min_long = input.map(crate::constrained::MaybeConstrained::Constrained);
 4131   4009   
            self
 4132   4010   
        }
 4133   4011   
        #[allow(missing_docs)] // documentation missing in model
 4134   4012   
        pub(crate) fn set_min_long(
 4135   4013   
            mut self,
 4136   4014   
            input: Option<
 4137   4015   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MinLong>>,
 4138   4016   
            >,
 4139   4017   
        ) -> Self {
 4140   4018   
            self.min_long = input.map(|v| v.into());
 4141   4019   
            self
 4142   4020   
        }
 4143   4021   
        #[allow(missing_docs)] // documentation missing in model
 4144   4022   
        pub fn max_long(mut self, input: ::std::option::Option<crate::model::MaxLong>) -> Self {
 4145         -
            self.max_long = input.map(
 4146         -
                #[allow(clippy::redundant_closure)]
 4147         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4148         -
            );
        4023  +
            self.max_long = input.map(crate::constrained::MaybeConstrained::Constrained);
 4149   4024   
            self
 4150   4025   
        }
 4151   4026   
        #[allow(missing_docs)] // documentation missing in model
 4152   4027   
        pub(crate) fn set_max_long(
 4153   4028   
            mut self,
 4154   4029   
            input: Option<
 4155   4030   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MaxLong>>,
 4156   4031   
            >,
 4157   4032   
        ) -> Self {
 4158   4033   
            self.max_long = input.map(|v| v.into());
@@ -4382,4257 +4445,4317 @@
 4402   4277   
        pub(crate) list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::pattern_list_override_constrained::PatternListOverrideConstrained>>,
 4403   4278   
        pub(crate) map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::pattern_map_override_constrained::PatternMapOverrideConstrained>>,
 4404   4279   
        pub(crate) union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternUnionOverride>>,
 4405   4280   
    }
 4406   4281   
    impl Builder {
 4407   4282   
        #[allow(missing_docs)] // documentation missing in model
 4408   4283   
        pub fn string(
 4409   4284   
            mut self,
 4410   4285   
            input: ::std::option::Option<crate::input::malformed_pattern_override_input::String>,
 4411   4286   
        ) -> Self {
 4412         -
            self.string = input.map(
 4413         -
                #[allow(clippy::redundant_closure)]
 4414         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4415         -
            );
        4287  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
 4416   4288   
            self
 4417   4289   
        }
 4418   4290   
        #[allow(missing_docs)] // documentation missing in model
 4419   4291   
        pub(crate) fn set_string(
 4420   4292   
            mut self,
 4421   4293   
            input: Option<
 4422   4294   
                impl ::std::convert::Into<
 4423   4295   
                    crate::constrained::MaybeConstrained<
 4424   4296   
                        crate::input::malformed_pattern_override_input::String,
 4425   4297   
                    >,
@@ -4452,4324 +4515,4384 @@
 4472   4344   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::pattern_map_override_constrained::PatternMapOverrideConstrained>>>,
 4473   4345   
        ) -> Self {
 4474   4346   
            self.map = input.map(|v| v.into());
 4475   4347   
            self
 4476   4348   
        }
 4477   4349   
        #[allow(missing_docs)] // documentation missing in model
 4478   4350   
        pub fn union(
 4479   4351   
            mut self,
 4480   4352   
            input: ::std::option::Option<crate::model::PatternUnionOverride>,
 4481   4353   
        ) -> Self {
 4482         -
            self.union = input.map(
 4483         -
                #[allow(clippy::redundant_closure)]
 4484         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4485         -
            );
        4354  +
            self.union = input.map(crate::constrained::MaybeConstrained::Constrained);
 4486   4355   
            self
 4487   4356   
        }
 4488   4357   
        #[allow(missing_docs)] // documentation missing in model
 4489   4358   
        pub(crate) fn set_union(
 4490   4359   
            mut self,
 4491   4360   
            input: Option<
 4492   4361   
                impl ::std::convert::Into<
 4493   4362   
                    crate::constrained::MaybeConstrained<crate::model::PatternUnionOverride>,
 4494   4363   
                >,
 4495   4364   
            >,
@@ -4779,4648 +4865,4728 @@
 4799   4668   
            crate::constrained::MaybeConstrained<
 4800   4669   
                crate::constrained::pattern_map_constrained::PatternMapConstrained,
 4801   4670   
            >,
 4802   4671   
        >,
 4803   4672   
        pub(crate) union:
 4804   4673   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternUnion>>,
 4805   4674   
    }
 4806   4675   
    impl Builder {
 4807   4676   
        #[allow(missing_docs)] // documentation missing in model
 4808   4677   
        pub fn string(mut self, input: ::std::option::Option<crate::model::PatternString>) -> Self {
 4809         -
            self.string = input.map(
 4810         -
                #[allow(clippy::redundant_closure)]
 4811         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4812         -
            );
        4678  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
 4813   4679   
            self
 4814   4680   
        }
 4815   4681   
        #[allow(missing_docs)] // documentation missing in model
 4816   4682   
        pub(crate) fn set_string(
 4817   4683   
            mut self,
 4818   4684   
            input: Option<
 4819   4685   
                impl ::std::convert::Into<
 4820   4686   
                    crate::constrained::MaybeConstrained<crate::model::PatternString>,
 4821   4687   
                >,
 4822   4688   
            >,
 4823   4689   
        ) -> Self {
 4824   4690   
            self.string = input.map(|v| v.into());
 4825   4691   
            self
 4826   4692   
        }
 4827   4693   
        #[allow(missing_docs)] // documentation missing in model
 4828   4694   
        pub fn evil_string(
 4829   4695   
            mut self,
 4830   4696   
            input: ::std::option::Option<crate::model::EvilString>,
 4831   4697   
        ) -> Self {
 4832         -
            self.evil_string = input.map(
 4833         -
                #[allow(clippy::redundant_closure)]
 4834         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4835         -
            );
        4698  +
            self.evil_string = input.map(crate::constrained::MaybeConstrained::Constrained);
 4836   4699   
            self
 4837   4700   
        }
 4838   4701   
        #[allow(missing_docs)] // documentation missing in model
 4839   4702   
        pub(crate) fn set_evil_string(
 4840   4703   
            mut self,
 4841   4704   
            input: Option<
 4842   4705   
                impl ::std::convert::Into<
 4843   4706   
                    crate::constrained::MaybeConstrained<crate::model::EvilString>,
 4844   4707   
                >,
 4845   4708   
            >,
@@ -4877,4740 +4940,4800 @@
 4897   4760   
                        crate::constrained::pattern_map_constrained::PatternMapConstrained,
 4898   4761   
                    >,
 4899   4762   
                >,
 4900   4763   
            >,
 4901   4764   
        ) -> Self {
 4902   4765   
            self.map = input.map(|v| v.into());
 4903   4766   
            self
 4904   4767   
        }
 4905   4768   
        #[allow(missing_docs)] // documentation missing in model
 4906   4769   
        pub fn union(mut self, input: ::std::option::Option<crate::model::PatternUnion>) -> Self {
 4907         -
            self.union = input.map(
 4908         -
                #[allow(clippy::redundant_closure)]
 4909         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4910         -
            );
        4770  +
            self.union = input.map(crate::constrained::MaybeConstrained::Constrained);
 4911   4771   
            self
 4912   4772   
        }
 4913   4773   
        #[allow(missing_docs)] // documentation missing in model
 4914   4774   
        pub(crate) fn set_union(
 4915   4775   
            mut self,
 4916   4776   
            input: Option<
 4917   4777   
                impl ::std::convert::Into<
 4918   4778   
                    crate::constrained::MaybeConstrained<crate::model::PatternUnion>,
 4919   4779   
                >,
 4920   4780   
            >,
@@ -5025,4885 +5088,4945 @@
 5045   4905   
    }
 5046   4906   
    /// A builder for [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
 5047   4907   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 5048   4908   
    pub struct Builder {
 5049   4909   
        pub(crate) string:
 5050   4910   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
 5051   4911   
    }
 5052   4912   
    impl Builder {
 5053   4913   
        #[allow(missing_docs)] // documentation missing in model
 5054   4914   
        pub fn string(mut self, input: ::std::option::Option<crate::model::LengthString>) -> Self {
 5055         -
            self.string = input.map(
 5056         -
                #[allow(clippy::redundant_closure)]
 5057         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5058         -
            );
        4915  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
 5059   4916   
            self
 5060   4917   
        }
 5061   4918   
        #[allow(missing_docs)] // documentation missing in model
 5062   4919   
        pub(crate) fn set_string(
 5063   4920   
            mut self,
 5064   4921   
            input: Option<
 5065   4922   
                impl ::std::convert::Into<
 5066   4923   
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 5067   4924   
                >,
 5068   4925   
            >,
@@ -5208,5065 +5396,5235 @@
 5228   5085   
                crate::input::malformed_length_override_input::Map,
 5229   5086   
            >,
 5230   5087   
        >,
 5231   5088   
    }
 5232   5089   
    impl Builder {
 5233   5090   
        #[allow(missing_docs)] // documentation missing in model
 5234   5091   
        pub fn blob(
 5235   5092   
            mut self,
 5236   5093   
            input: ::std::option::Option<crate::input::malformed_length_override_input::Blob>,
 5237   5094   
        ) -> Self {
 5238         -
            self.blob = input.map(
 5239         -
                #[allow(clippy::redundant_closure)]
 5240         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5241         -
            );
        5095  +
            self.blob = input.map(crate::constrained::MaybeConstrained::Constrained);
 5242   5096   
            self
 5243   5097   
        }
 5244   5098   
        #[allow(missing_docs)] // documentation missing in model
 5245   5099   
        pub(crate) fn set_blob(
 5246   5100   
            mut self,
 5247   5101   
            input: Option<
 5248   5102   
                impl ::std::convert::Into<
 5249   5103   
                    crate::constrained::MaybeConstrained<
 5250   5104   
                        crate::input::malformed_length_override_input::Blob,
 5251   5105   
                    >,
 5252   5106   
                >,
 5253   5107   
            >,
 5254   5108   
        ) -> Self {
 5255   5109   
            self.blob = input.map(|v| v.into());
 5256   5110   
            self
 5257   5111   
        }
 5258   5112   
        #[allow(missing_docs)] // documentation missing in model
 5259   5113   
        pub fn string(
 5260   5114   
            mut self,
 5261   5115   
            input: ::std::option::Option<crate::input::malformed_length_override_input::String>,
 5262   5116   
        ) -> Self {
 5263         -
            self.string = input.map(
 5264         -
                #[allow(clippy::redundant_closure)]
 5265         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5266         -
            );
        5117  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
 5267   5118   
            self
 5268   5119   
        }
 5269   5120   
        #[allow(missing_docs)] // documentation missing in model
 5270   5121   
        pub(crate) fn set_string(
 5271   5122   
            mut self,
 5272   5123   
            input: Option<
 5273   5124   
                impl ::std::convert::Into<
 5274   5125   
                    crate::constrained::MaybeConstrained<
 5275   5126   
                        crate::input::malformed_length_override_input::String,
 5276   5127   
                    >,
 5277   5128   
                >,
 5278   5129   
            >,
 5279   5130   
        ) -> Self {
 5280   5131   
            self.string = input.map(|v| v.into());
 5281   5132   
            self
 5282   5133   
        }
 5283   5134   
        #[allow(missing_docs)] // documentation missing in model
 5284   5135   
        pub fn min_string(
 5285   5136   
            mut self,
 5286   5137   
            input: ::std::option::Option<crate::input::malformed_length_override_input::MinString>,
 5287   5138   
        ) -> Self {
 5288         -
            self.min_string = input.map(
 5289         -
                #[allow(clippy::redundant_closure)]
 5290         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5291         -
            );
        5139  +
            self.min_string = input.map(crate::constrained::MaybeConstrained::Constrained);
 5292   5140   
            self
 5293   5141   
        }
 5294   5142   
        #[allow(missing_docs)] // documentation missing in model
 5295   5143   
        pub(crate) fn set_min_string(
 5296   5144   
            mut self,
 5297   5145   
            input: Option<
 5298   5146   
                impl ::std::convert::Into<
 5299   5147   
                    crate::constrained::MaybeConstrained<
 5300   5148   
                        crate::input::malformed_length_override_input::MinString,
 5301   5149   
                    >,
 5302   5150   
                >,
 5303   5151   
            >,
 5304   5152   
        ) -> Self {
 5305   5153   
            self.min_string = input.map(|v| v.into());
 5306   5154   
            self
 5307   5155   
        }
 5308   5156   
        #[allow(missing_docs)] // documentation missing in model
 5309   5157   
        pub fn max_string(
 5310   5158   
            mut self,
 5311   5159   
            input: ::std::option::Option<crate::input::malformed_length_override_input::MaxString>,
 5312   5160   
        ) -> Self {
 5313         -
            self.max_string = input.map(
 5314         -
                #[allow(clippy::redundant_closure)]
 5315         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5316         -
            );
        5161  +
            self.max_string = input.map(crate::constrained::MaybeConstrained::Constrained);
 5317   5162   
            self
 5318   5163   
        }
 5319   5164   
        #[allow(missing_docs)] // documentation missing in model
 5320   5165   
        pub(crate) fn set_max_string(
 5321   5166   
            mut self,
 5322   5167   
            input: Option<
 5323   5168   
                impl ::std::convert::Into<
 5324   5169   
                    crate::constrained::MaybeConstrained<
 5325   5170   
                        crate::input::malformed_length_override_input::MaxString,
 5326   5171   
                    >,
 5327   5172   
                >,
 5328   5173   
            >,
 5329   5174   
        ) -> Self {
 5330   5175   
            self.max_string = input.map(|v| v.into());
 5331   5176   
            self
 5332   5177   
        }
 5333   5178   
        #[allow(missing_docs)] // documentation missing in model
 5334   5179   
        pub fn list(
 5335   5180   
            mut self,
 5336   5181   
            input: ::std::option::Option<crate::input::malformed_length_override_input::List>,
 5337   5182   
        ) -> Self {
 5338         -
            self.list = input.map(
 5339         -
                #[allow(clippy::redundant_closure)]
 5340         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5341         -
            );
        5183  +
            self.list = input.map(crate::constrained::MaybeConstrained::Constrained);
 5342   5184   
            self
 5343   5185   
        }
 5344   5186   
        #[allow(missing_docs)] // documentation missing in model
 5345   5187   
        pub(crate) fn set_list(
 5346   5188   
            mut self,
 5347   5189   
            input: Option<
 5348   5190   
                impl ::std::convert::Into<
 5349   5191   
                    crate::constrained::MaybeConstrained<
 5350   5192   
                        crate::input::malformed_length_override_input::List,
 5351   5193   
                    >,
 5352   5194   
                >,
 5353   5195   
            >,
 5354   5196   
        ) -> Self {
 5355   5197   
            self.list = input.map(|v| v.into());
 5356   5198   
            self
 5357   5199   
        }
 5358   5200   
        #[allow(missing_docs)] // documentation missing in model
 5359   5201   
        pub fn map(
 5360   5202   
            mut self,
 5361   5203   
            input: ::std::option::Option<crate::input::malformed_length_override_input::Map>,
 5362   5204   
        ) -> Self {
 5363         -
            self.map = input.map(
 5364         -
                #[allow(clippy::redundant_closure)]
 5365         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5366         -
            );
        5205  +
            self.map = input.map(crate::constrained::MaybeConstrained::Constrained);
 5367   5206   
            self
 5368   5207   
        }
 5369   5208   
        #[allow(missing_docs)] // documentation missing in model
 5370   5209   
        pub(crate) fn set_map(
 5371   5210   
            mut self,
 5372   5211   
            input: Option<
 5373   5212   
                impl ::std::convert::Into<
 5374   5213   
                    crate::constrained::MaybeConstrained<
 5375   5214   
                        crate::input::malformed_length_override_input::Map,
 5376   5215   
                    >,
@@ -6310,6149 +6479,6300 @@
 6330   6169   
            crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
 6331   6170   
        >,
 6332   6171   
        pub(crate) list:
 6333   6172   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthList>>,
 6334   6173   
        pub(crate) map:
 6335   6174   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 6336   6175   
    }
 6337   6176   
    impl Builder {
 6338   6177   
        #[allow(missing_docs)] // documentation missing in model
 6339   6178   
        pub fn blob(mut self, input: ::std::option::Option<crate::model::LengthBlob>) -> Self {
 6340         -
            self.blob = input.map(
 6341         -
                #[allow(clippy::redundant_closure)]
 6342         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6343         -
            );
        6179  +
            self.blob = input.map(crate::constrained::MaybeConstrained::Constrained);
 6344   6180   
            self
 6345   6181   
        }
 6346   6182   
        #[allow(missing_docs)] // documentation missing in model
 6347   6183   
        pub(crate) fn set_blob(
 6348   6184   
            mut self,
 6349   6185   
            input: Option<
 6350   6186   
                impl ::std::convert::Into<
 6351   6187   
                    crate::constrained::MaybeConstrained<crate::model::LengthBlob>,
 6352   6188   
                >,
 6353   6189   
            >,
 6354   6190   
        ) -> Self {
 6355   6191   
            self.blob = input.map(|v| v.into());
 6356   6192   
            self
 6357   6193   
        }
 6358   6194   
        #[allow(missing_docs)] // documentation missing in model
 6359   6195   
        pub fn string(mut self, input: ::std::option::Option<crate::model::LengthString>) -> Self {
 6360         -
            self.string = input.map(
 6361         -
                #[allow(clippy::redundant_closure)]
 6362         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6363         -
            );
        6196  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
 6364   6197   
            self
 6365   6198   
        }
 6366   6199   
        #[allow(missing_docs)] // documentation missing in model
 6367   6200   
        pub(crate) fn set_string(
 6368   6201   
            mut self,
 6369   6202   
            input: Option<
 6370   6203   
                impl ::std::convert::Into<
 6371   6204   
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 6372   6205   
                >,
 6373   6206   
            >,
 6374   6207   
        ) -> Self {
 6375   6208   
            self.string = input.map(|v| v.into());
 6376   6209   
            self
 6377   6210   
        }
 6378   6211   
        #[allow(missing_docs)] // documentation missing in model
 6379   6212   
        pub fn min_string(
 6380   6213   
            mut self,
 6381   6214   
            input: ::std::option::Option<crate::model::MinLengthString>,
 6382   6215   
        ) -> Self {
 6383         -
            self.min_string = input.map(
 6384         -
                #[allow(clippy::redundant_closure)]
 6385         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6386         -
            );
        6216  +
            self.min_string = input.map(crate::constrained::MaybeConstrained::Constrained);
 6387   6217   
            self
 6388   6218   
        }
 6389   6219   
        #[allow(missing_docs)] // documentation missing in model
 6390   6220   
        pub(crate) fn set_min_string(
 6391   6221   
            mut self,
 6392   6222   
            input: Option<
 6393   6223   
                impl ::std::convert::Into<
 6394   6224   
                    crate::constrained::MaybeConstrained<crate::model::MinLengthString>,
 6395   6225   
                >,
 6396   6226   
            >,
 6397   6227   
        ) -> Self {
 6398   6228   
            self.min_string = input.map(|v| v.into());
 6399   6229   
            self
 6400   6230   
        }
 6401   6231   
        #[allow(missing_docs)] // documentation missing in model
 6402   6232   
        pub fn max_string(
 6403   6233   
            mut self,
 6404   6234   
            input: ::std::option::Option<crate::model::MaxLengthString>,
 6405   6235   
        ) -> Self {
 6406         -
            self.max_string = input.map(
 6407         -
                #[allow(clippy::redundant_closure)]
 6408         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6409         -
            );
        6236  +
            self.max_string = input.map(crate::constrained::MaybeConstrained::Constrained);
 6410   6237   
            self
 6411   6238   
        }
 6412   6239   
        #[allow(missing_docs)] // documentation missing in model
 6413   6240   
        pub(crate) fn set_max_string(
 6414   6241   
            mut self,
 6415   6242   
            input: Option<
 6416   6243   
                impl ::std::convert::Into<
 6417   6244   
                    crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
 6418   6245   
                >,
 6419   6246   
            >,
 6420   6247   
        ) -> Self {
 6421   6248   
            self.max_string = input.map(|v| v.into());
 6422   6249   
            self
 6423   6250   
        }
 6424   6251   
        #[allow(missing_docs)] // documentation missing in model
 6425   6252   
        pub fn list(mut self, input: ::std::option::Option<crate::model::LengthList>) -> Self {
 6426         -
            self.list = input.map(
 6427         -
                #[allow(clippy::redundant_closure)]
 6428         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6429         -
            );
        6253  +
            self.list = input.map(crate::constrained::MaybeConstrained::Constrained);
 6430   6254   
            self
 6431   6255   
        }
 6432   6256   
        #[allow(missing_docs)] // documentation missing in model
 6433   6257   
        pub(crate) fn set_list(
 6434   6258   
            mut self,
 6435   6259   
            input: Option<
 6436   6260   
                impl ::std::convert::Into<
 6437   6261   
                    crate::constrained::MaybeConstrained<crate::model::LengthList>,
 6438   6262   
                >,
 6439   6263   
            >,
 6440   6264   
        ) -> Self {
 6441   6265   
            self.list = input.map(|v| v.into());
 6442   6266   
            self
 6443   6267   
        }
 6444   6268   
        #[allow(missing_docs)] // documentation missing in model
 6445   6269   
        pub fn map(mut self, input: ::std::option::Option<crate::model::LengthMap>) -> Self {
 6446         -
            self.map = input.map(
 6447         -
                #[allow(clippy::redundant_closure)]
 6448         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6449         -
            );
        6270  +
            self.map = input.map(crate::constrained::MaybeConstrained::Constrained);
 6450   6271   
            self
 6451   6272   
        }
 6452   6273   
        #[allow(missing_docs)] // documentation missing in model
 6453   6274   
        pub(crate) fn set_map(
 6454   6275   
            mut self,
 6455   6276   
            input: Option<
 6456   6277   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 6457   6278   
            >,
 6458   6279   
        ) -> Self {
 6459   6280   
            self.map = input.map(|v| v.into());
@@ -6613,6434 +6699,6515 @@
 6633   6454   
            crate::constrained::MaybeConstrained<
 6634   6455   
                crate::constrained::enum_map_constrained::EnumMapConstrained,
 6635   6456   
            >,
 6636   6457   
        >,
 6637   6458   
        pub(crate) union:
 6638   6459   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumUnion>>,
 6639   6460   
    }
 6640   6461   
    impl Builder {
 6641   6462   
        #[allow(missing_docs)] // documentation missing in model
 6642   6463   
        pub fn string(mut self, input: ::std::option::Option<crate::model::EnumString>) -> Self {
 6643         -
            self.string = input.map(
 6644         -
                #[allow(clippy::redundant_closure)]
 6645         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6646         -
            );
        6464  +
            self.string = input.map(crate::constrained::MaybeConstrained::Constrained);
 6647   6465   
            self
 6648   6466   
        }
 6649   6467   
        #[allow(missing_docs)] // documentation missing in model
 6650   6468   
        pub(crate) fn set_string(
 6651   6469   
            mut self,
 6652   6470   
            input: Option<
 6653   6471   
                impl ::std::convert::Into<
 6654   6472   
                    crate::constrained::MaybeConstrained<crate::model::EnumString>,
 6655   6473   
                >,
 6656   6474   
            >,
 6657   6475   
        ) -> Self {
 6658   6476   
            self.string = input.map(|v| v.into());
 6659   6477   
            self
 6660   6478   
        }
 6661   6479   
        #[allow(missing_docs)] // documentation missing in model
 6662   6480   
        pub fn string_with_enum_trait(
 6663   6481   
            mut self,
 6664   6482   
            input: ::std::option::Option<crate::model::EnumTraitString>,
 6665   6483   
        ) -> Self {
 6666         -
            self.string_with_enum_trait = input.map(
 6667         -
                #[allow(clippy::redundant_closure)]
 6668         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6669         -
            );
        6484  +
            self.string_with_enum_trait =
        6485  +
                input.map(crate::constrained::MaybeConstrained::Constrained);
 6670   6486   
            self
 6671   6487   
        }
 6672   6488   
        #[allow(missing_docs)] // documentation missing in model
 6673   6489   
        pub(crate) fn set_string_with_enum_trait(
 6674   6490   
            mut self,
 6675   6491   
            input: Option<
 6676   6492   
                impl ::std::convert::Into<
 6677   6493   
                    crate::constrained::MaybeConstrained<crate::model::EnumTraitString>,
 6678   6494   
                >,
 6679   6495   
            >,
@@ -6708,6524 +6771,6584 @@
 6728   6544   
                        crate::constrained::enum_map_constrained::EnumMapConstrained,
 6729   6545   
                    >,
 6730   6546   
                >,
 6731   6547   
            >,
 6732   6548   
        ) -> Self {
 6733   6549   
            self.map = input.map(|v| v.into());
 6734   6550   
            self
 6735   6551   
        }
 6736   6552   
        #[allow(missing_docs)] // documentation missing in model
 6737   6553   
        pub fn union(mut self, input: ::std::option::Option<crate::model::EnumUnion>) -> Self {
 6738         -
            self.union = input.map(
 6739         -
                #[allow(clippy::redundant_closure)]
 6740         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6741         -
            );
        6554  +
            self.union = input.map(crate::constrained::MaybeConstrained::Constrained);
 6742   6555   
            self
 6743   6556   
        }
 6744   6557   
        #[allow(missing_docs)] // documentation missing in model
 6745   6558   
        pub(crate) fn set_union(
 6746   6559   
            mut self,
 6747   6560   
            input: Option<
 6748   6561   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::EnumUnion>>,
 6749   6562   
            >,
 6750   6563   
        ) -> Self {
 6751   6564   
            self.union = input.map(|v| v.into());

tmp-codegen-diff/codegen-server-test/rpcv2Cbor/rust-server-codegen/src/input.rs

@@ -683,683 +746,743 @@
  703    703   
        pub(crate) defaults:
  704    704   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::Defaults>>,
  705    705   
        pub(crate) client_optional_defaults:
  706    706   
            ::std::option::Option<crate::model::ClientOptionalDefaults>,
  707    707   
        pub(crate) top_level_default: ::std::option::Option<::std::string::String>,
  708    708   
        pub(crate) other_top_level_default: ::std::option::Option<i32>,
  709    709   
    }
  710    710   
    impl Builder {
  711    711   
        #[allow(missing_docs)] // documentation missing in model
  712    712   
        pub fn defaults(mut self, input: ::std::option::Option<crate::model::Defaults>) -> Self {
  713         -
            self.defaults = input.map(
  714         -
                #[allow(clippy::redundant_closure)]
  715         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  716         -
            );
         713  +
            self.defaults = input.map(crate::constrained::MaybeConstrained::Constrained);
  717    714   
            self
  718    715   
        }
  719    716   
        #[allow(missing_docs)] // documentation missing in model
  720    717   
        pub(crate) fn set_defaults(
  721    718   
            mut self,
  722    719   
            input: Option<
  723    720   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::Defaults>>,
  724    721   
            >,
  725    722   
        ) -> Self {
  726    723   
            self.defaults = input.map(|v| v.into());
@@ -1448,1445 +1511,1505 @@
 1468   1465   
        #[allow(missing_docs)] // documentation missing in model
 1469   1466   
        pub(crate) fn set_string_list(
 1470   1467   
            mut self,
 1471   1468   
            input: Option<impl ::std::convert::Into<::std::vec::Vec<::std::string::String>>>,
 1472   1469   
        ) -> Self {
 1473   1470   
            self.string_list = input.map(|v| v.into());
 1474   1471   
            self
 1475   1472   
        }
 1476   1473   
        #[allow(missing_docs)] // documentation missing in model
 1477   1474   
        pub fn string_set(mut self, input: ::std::option::Option<crate::model::StringSet>) -> Self {
 1478         -
            self.string_set = input.map(
 1479         -
                #[allow(clippy::redundant_closure)]
 1480         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1481         -
            );
        1475  +
            self.string_set = input.map(crate::constrained::MaybeConstrained::Constrained);
 1482   1476   
            self
 1483   1477   
        }
 1484   1478   
        #[allow(missing_docs)] // documentation missing in model
 1485   1479   
        pub(crate) fn set_string_set(
 1486   1480   
            mut self,
 1487   1481   
            input: Option<
 1488   1482   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::StringSet>>,
 1489   1483   
            >,
 1490   1484   
        ) -> Self {
 1491   1485   
            self.string_set = input.map(|v| v.into());

tmp-codegen-diff/codegen-server-test/rpcv2Cbor/rust-server-codegen/src/model.rs

@@ -1081,1081 +1162,1156 @@
 1101   1101   
        }
 1102   1102   
        fn build_enforcing_all_constraints(
 1103   1103   
            self,
 1104   1104   
        ) -> Result<crate::model::Defaults, ConstraintViolation> {
 1105   1105   
            Ok(crate::model::Defaults {
 1106   1106   
                default_string: self.default_string.unwrap_or_else(
 1107   1107   
                    #[allow(clippy::redundant_closure)]
 1108   1108   
                    || String::from("hi"),
 1109   1109   
                ),
 1110   1110   
                default_boolean: self.default_boolean.unwrap_or(true),
 1111         -
                default_list: self.default_list.unwrap_or_else(
 1112         -
                    #[allow(clippy::redundant_closure)]
 1113         -
                    || ::std::vec::Vec::new(),
 1114         -
                ),
        1111  +
                default_list: self.default_list.unwrap_or_default(),
 1115   1112   
                default_timestamp: self.default_timestamp.unwrap_or_else(
 1116   1113   
                    #[allow(clippy::redundant_closure)]
 1117   1114   
                    || ::aws_smithy_types::DateTime::from_fractional_secs(0, 0_f64),
 1118   1115   
                ),
 1119   1116   
                default_blob: self.default_blob.unwrap_or_else(
 1120   1117   
                    #[allow(clippy::redundant_closure)]
 1121   1118   
                    || ::aws_smithy_types::Blob::new("abc"),
 1122   1119   
                ),
 1123   1120   
                default_byte: self.default_byte.unwrap_or(1i8),
 1124   1121   
                default_short: self.default_short.unwrap_or(1i16),
 1125   1122   
                default_integer: self.default_integer.unwrap_or(10i32),
 1126   1123   
                default_long: self.default_long.unwrap_or(100i64),
 1127   1124   
                default_float: self.default_float.unwrap_or(1.0f32),
 1128   1125   
                default_double: self.default_double.unwrap_or(1.0f64),
 1129         -
                default_map: self.default_map.unwrap_or_else(
 1130         -
                    #[allow(clippy::redundant_closure)]
 1131         -
                    || ::std::collections::HashMap::new(),
 1132         -
                ),
        1126  +
                default_map: self.default_map.unwrap_or_default(),
 1133   1127   
                default_enum: self
 1134   1128   
                    .default_enum
 1135   1129   
                    .map(|v| match v {
 1136   1130   
                        crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1137   1131   
                        crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1138   1132   
                    })
 1139   1133   
                    .map(|res| res.map_err(ConstraintViolation::DefaultEnum))
 1140   1134   
                    .transpose()?
 1141   1135   
                    .unwrap_or(
 1142   1136   
                        "FOO"

tmp-codegen-diff/codegen-server-test/rpcv2Cbor/rust-server-codegen/src/output.rs

@@ -856,856 +937,931 @@
  876    876   
        pub fn build(self) -> crate::output::OperationWithDefaultsOutput {
  877    877   
            self.build_enforcing_all_constraints()
  878    878   
        }
  879    879   
        fn build_enforcing_all_constraints(self) -> crate::output::OperationWithDefaultsOutput {
  880    880   
            crate::output::OperationWithDefaultsOutput {
  881    881   
                default_string: self.default_string.unwrap_or_else(
  882    882   
                    #[allow(clippy::redundant_closure)]
  883    883   
                    || String::from("hi"),
  884    884   
                ),
  885    885   
                default_boolean: self.default_boolean.unwrap_or(true),
  886         -
                default_list: self.default_list.unwrap_or_else(
  887         -
                    #[allow(clippy::redundant_closure)]
  888         -
                    || ::std::vec::Vec::new(),
  889         -
                ),
         886  +
                default_list: self.default_list.unwrap_or_default(),
  890    887   
                default_timestamp: self.default_timestamp.unwrap_or_else(
  891    888   
                    #[allow(clippy::redundant_closure)]
  892    889   
                    || ::aws_smithy_types::DateTime::from_fractional_secs(0, 0_f64),
  893    890   
                ),
  894    891   
                default_blob: self.default_blob.unwrap_or_else(
  895    892   
                    #[allow(clippy::redundant_closure)]
  896    893   
                    || ::aws_smithy_types::Blob::new("abc"),
  897    894   
                ),
  898    895   
                default_byte: self.default_byte.unwrap_or(1i8),
  899    896   
                default_short: self.default_short.unwrap_or(1i16),
  900    897   
                default_integer: self.default_integer.unwrap_or(10i32),
  901    898   
                default_long: self.default_long.unwrap_or(100i64),
  902    899   
                default_float: self.default_float.unwrap_or(1.0f32),
  903    900   
                default_double: self.default_double.unwrap_or(1.0f64),
  904         -
                default_map: self.default_map.unwrap_or_else(
  905         -
                    #[allow(clippy::redundant_closure)]
  906         -
                    || ::std::collections::HashMap::new(),
  907         -
                ),
         901  +
                default_map: self.default_map.unwrap_or_default(),
  908    902   
                default_enum: self.default_enum.unwrap_or(
  909    903   
                    "FOO"
  910    904   
                        .parse::<crate::model::TestEnum>()
  911    905   
                        .expect("static value validated to member"),
  912    906   
                ),
  913    907   
                default_int_enum: self.default_int_enum.unwrap_or(1i32),
  914    908   
                empty_string: self.empty_string.unwrap_or_else(
  915    909   
                    #[allow(clippy::redundant_closure)]
  916    910   
                    || String::from(""),
  917    911   
                ),

tmp-codegen-diff/codegen-server-test/rpcv2Cbor_extras/rust-server-codegen/src/input.rs

@@ -593,593 +656,653 @@
  613    613   
        pub(crate) complex_union: ::std::option::Option<
  614    614   
            ::std::boxed::Box<crate::constrained::MaybeConstrained<crate::model::ComplexUnion>>,
  615    615   
        >,
  616    616   
    }
  617    617   
    impl Builder {
  618    618   
        #[allow(missing_docs)] // documentation missing in model
  619    619   
        pub fn structure(
  620    620   
            mut self,
  621    621   
            input: ::std::option::Option<crate::model::SimpleStruct>,
  622    622   
        ) -> Self {
  623         -
            self.structure = input.map(
  624         -
                #[allow(clippy::redundant_closure)]
  625         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  626         -
            );
         623  +
            self.structure = input.map(crate::constrained::MaybeConstrained::Constrained);
  627    624   
            self
  628    625   
        }
  629    626   
        #[allow(missing_docs)] // documentation missing in model
  630    627   
        pub(crate) fn set_structure(
  631    628   
            mut self,
  632    629   
            input: Option<
  633    630   
                impl ::std::convert::Into<
  634    631   
                    crate::constrained::MaybeConstrained<crate::model::SimpleStruct>,
  635    632   
                >,
  636    633   
            >,
@@ -1150,1147 +1213,1207 @@
 1170   1167   
        #[allow(missing_docs)] // documentation missing in model
 1171   1168   
        pub(crate) fn set_timestamp(
 1172   1169   
            mut self,
 1173   1170   
            input: Option<impl ::std::convert::Into<::aws_smithy_types::DateTime>>,
 1174   1171   
        ) -> Self {
 1175   1172   
            self.timestamp = input.map(|v| v.into());
 1176   1173   
            self
 1177   1174   
        }
 1178   1175   
        #[allow(missing_docs)] // documentation missing in model
 1179   1176   
        pub fn r#enum(mut self, input: ::std::option::Option<crate::model::Suit>) -> Self {
 1180         -
            self.r#enum = input.map(
 1181         -
                #[allow(clippy::redundant_closure)]
 1182         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1183         -
            );
        1177  +
            self.r#enum = input.map(crate::constrained::MaybeConstrained::Constrained);
 1184   1178   
            self
 1185   1179   
        }
 1186   1180   
        #[allow(missing_docs)] // documentation missing in model
 1187   1181   
        pub(crate) fn set_enum(
 1188   1182   
            mut self,
 1189   1183   
            input: Option<
 1190   1184   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::Suit>>,
 1191   1185   
            >,
 1192   1186   
        ) -> Self {
 1193   1187   
            self.r#enum = input.map(|v| v.into());
@@ -1660,1654 +1723,1714 @@
 1680   1674   
        #[allow(missing_docs)] // documentation missing in model
 1681   1675   
        pub(crate) fn set_timestamp(
 1682   1676   
            mut self,
 1683   1677   
            input: Option<impl ::std::convert::Into<::aws_smithy_types::DateTime>>,
 1684   1678   
        ) -> Self {
 1685   1679   
            self.timestamp = input.map(|v| v.into());
 1686   1680   
            self
 1687   1681   
        }
 1688   1682   
        #[allow(missing_docs)] // documentation missing in model
 1689   1683   
        pub fn r#enum(mut self, input: ::std::option::Option<crate::model::Suit>) -> Self {
 1690         -
            self.r#enum = input.map(
 1691         -
                #[allow(clippy::redundant_closure)]
 1692         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1693         -
            );
        1684  +
            self.r#enum = input.map(crate::constrained::MaybeConstrained::Constrained);
 1694   1685   
            self
 1695   1686   
        }
 1696   1687   
        #[allow(missing_docs)] // documentation missing in model
 1697   1688   
        pub(crate) fn set_enum(
 1698   1689   
            mut self,
 1699   1690   
            input: Option<
 1700   1691   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::Suit>>,
 1701   1692   
            >,
 1702   1693   
        ) -> Self {
 1703   1694   
            self.r#enum = input.map(|v| v.into());

tmp-codegen-diff/codegen-server-test/rpcv2Cbor_extras/rust-server-codegen/src/model.rs

@@ -959,959 +1022,1019 @@
  979    979   
        #[allow(missing_docs)] // documentation missing in model
  980    980   
        pub(crate) fn set_timestamp(
  981    981   
            mut self,
  982    982   
            input: Option<impl ::std::convert::Into<::aws_smithy_types::DateTime>>,
  983    983   
        ) -> Self {
  984    984   
            self.timestamp = input.map(|v| v.into());
  985    985   
            self
  986    986   
        }
  987    987   
        #[allow(missing_docs)] // documentation missing in model
  988    988   
        pub fn r#enum(mut self, input: ::std::option::Option<crate::model::Suit>) -> Self {
  989         -
            self.r#enum = input.map(
  990         -
                #[allow(clippy::redundant_closure)]
  991         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  992         -
            );
         989  +
            self.r#enum = input.map(crate::constrained::MaybeConstrained::Constrained);
  993    990   
            self
  994    991   
        }
  995    992   
        #[allow(missing_docs)] // documentation missing in model
  996    993   
        pub(crate) fn set_enum(
  997    994   
            mut self,
  998    995   
            input: Option<
  999    996   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::Suit>>,
 1000    997   
            >,
 1001    998   
        ) -> Self {
 1002    999   
            self.r#enum = input.map(|v| v.into());
@@ -1297,1294 +1360,1354 @@
 1317   1314   
        pub(crate) complex_union: ::std::option::Option<
 1318   1315   
            ::std::boxed::Box<crate::constrained::MaybeConstrained<crate::model::ComplexUnion>>,
 1319   1316   
        >,
 1320   1317   
    }
 1321   1318   
    impl Builder {
 1322   1319   
        #[allow(missing_docs)] // documentation missing in model
 1323   1320   
        pub fn structure(
 1324   1321   
            mut self,
 1325   1322   
            input: ::std::option::Option<crate::model::SimpleStruct>,
 1326   1323   
        ) -> Self {
 1327         -
            self.structure = input.map(
 1328         -
                #[allow(clippy::redundant_closure)]
 1329         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1330         -
            );
        1324  +
            self.structure = input.map(crate::constrained::MaybeConstrained::Constrained);
 1331   1325   
            self
 1332   1326   
        }
 1333   1327   
        #[allow(missing_docs)] // documentation missing in model
 1334   1328   
        pub(crate) fn set_structure(
 1335   1329   
            mut self,
 1336   1330   
            input: Option<
 1337   1331   
                impl ::std::convert::Into<
 1338   1332   
                    crate::constrained::MaybeConstrained<crate::model::SimpleStruct>,
 1339   1333   
                >,
 1340   1334   
            >,

tmp-codegen-diff/codegen-server-test/s3/rust-server-codegen/src/input.rs

@@ -683,683 +746,743 @@
  703    703   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
  704    704   
        ) -> Self {
  705    705   
            self.delimiter = input.map(|v| v.into());
  706    706   
            self
  707    707   
        }
  708    708   
        #[allow(missing_docs)] // documentation missing in model
  709    709   
        pub fn encoding_type(
  710    710   
            mut self,
  711    711   
            input: ::std::option::Option<crate::model::EncodingType>,
  712    712   
        ) -> Self {
  713         -
            self.encoding_type = input.map(
  714         -
                #[allow(clippy::redundant_closure)]
  715         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  716         -
            );
         713  +
            self.encoding_type = input.map(crate::constrained::MaybeConstrained::Constrained);
  717    714   
            self
  718    715   
        }
  719    716   
        #[allow(missing_docs)] // documentation missing in model
  720    717   
        pub(crate) fn set_encoding_type(
  721    718   
            mut self,
  722    719   
            input: Option<
  723    720   
                impl ::std::convert::Into<
  724    721   
                    crate::constrained::MaybeConstrained<crate::model::EncodingType>,
  725    722   
                >,
  726    723   
            >,
@@ -774,771 +837,831 @@
  794    791   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
  795    792   
        ) -> Self {
  796    793   
            self.start_after = input.map(|v| v.into());
  797    794   
            self
  798    795   
        }
  799    796   
        #[allow(missing_docs)] // documentation missing in model
  800    797   
        pub fn request_payer(
  801    798   
            mut self,
  802    799   
            input: ::std::option::Option<crate::model::RequestPayer>,
  803    800   
        ) -> Self {
  804         -
            self.request_payer = input.map(
  805         -
                #[allow(clippy::redundant_closure)]
  806         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  807         -
            );
         801  +
            self.request_payer = input.map(crate::constrained::MaybeConstrained::Constrained);
  808    802   
            self
  809    803   
        }
  810    804   
        #[allow(missing_docs)] // documentation missing in model
  811    805   
        pub(crate) fn set_request_payer(
  812    806   
            mut self,
  813    807   
            input: Option<
  814    808   
                impl ::std::convert::Into<
  815    809   
                    crate::constrained::MaybeConstrained<crate::model::RequestPayer>,
  816    810   
                >,
  817    811   
            >,

tmp-codegen-diff/codegen-server-test/unique_items/rust-server-codegen/src/input.rs

@@ -84,84 +168,162 @@
  104    104   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
  105    105   
    pub struct Builder {
  106    106   
        pub(crate) set:
  107    107   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::SimpleSet>>,
  108    108   
        pub(crate) complex_set:
  109    109   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ComplexSet>>,
  110    110   
    }
  111    111   
    impl Builder {
  112    112   
        #[allow(missing_docs)] // documentation missing in model
  113    113   
        pub fn set(mut self, input: ::std::option::Option<crate::model::SimpleSet>) -> Self {
  114         -
            self.set = input.map(
  115         -
                #[allow(clippy::redundant_closure)]
  116         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  117         -
            );
         114  +
            self.set = input.map(crate::constrained::MaybeConstrained::Constrained);
  118    115   
            self
  119    116   
        }
  120    117   
        #[allow(missing_docs)] // documentation missing in model
  121    118   
        pub(crate) fn set_set(
  122    119   
            mut self,
  123    120   
            input: Option<
  124    121   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::SimpleSet>>,
  125    122   
            >,
  126    123   
        ) -> Self {
  127    124   
            self.set = input.map(|v| v.into());
  128    125   
            self
  129    126   
        }
  130    127   
        #[allow(missing_docs)] // documentation missing in model
  131    128   
        pub fn complex_set(
  132    129   
            mut self,
  133    130   
            input: ::std::option::Option<crate::model::ComplexSet>,
  134    131   
        ) -> Self {
  135         -
            self.complex_set = input.map(
  136         -
                #[allow(clippy::redundant_closure)]
  137         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  138         -
            );
         132  +
            self.complex_set = input.map(crate::constrained::MaybeConstrained::Constrained);
  139    133   
            self
  140    134   
        }
  141    135   
        #[allow(missing_docs)] // documentation missing in model
  142    136   
        pub(crate) fn set_complex_set(
  143    137   
            mut self,
  144    138   
            input: Option<
  145    139   
                impl ::std::convert::Into<
  146    140   
                    crate::constrained::MaybeConstrained<crate::model::ComplexSet>,
  147    141   
                >,
  148    142   
            >,