Server Test

Server Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

tmp-codegen-diff/codegen-server-test/constraints-http0x/rust-server-codegen/src/constrained.rs

@@ -1,1 +983,983 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
    3         -
pub(crate) mod map_of_enum_string_constrained {
           3  +
pub(crate) mod map_of_length_string_constrained {
    4      4   
    5      5   
    #[derive(Debug, Clone)]
    6         -
    pub(crate) struct MapOfEnumStringConstrained(
    7         -
        pub(crate) std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
           6  +
    pub(crate) struct MapOfLengthStringConstrained(
           7  +
        pub(crate) std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
    8      8   
    );
    9      9   
   10         -
    impl crate::constrained::Constrained for MapOfEnumStringConstrained {
   11         -
        type Unconstrained =
   12         -
            crate::unconstrained::map_of_enum_string_unconstrained::MapOfEnumStringUnconstrained;
          10  +
    impl crate::constrained::Constrained for MapOfLengthStringConstrained {
          11  +
        type Unconstrained = crate::unconstrained::map_of_length_string_unconstrained::MapOfLengthStringUnconstrained;
   13     12   
    }
   14     13   
    impl
   15     14   
        ::std::convert::From<
   16         -
            ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
   17         -
        > for MapOfEnumStringConstrained
          15  +
            ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
          16  +
        > for MapOfLengthStringConstrained
   18     17   
    {
   19     18   
        fn from(
   20         -
            v: ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
          19  +
            v: ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
   21     20   
        ) -> Self {
   22     21   
            Self(v)
   23     22   
        }
   24     23   
    }
   25     24   
   26         -
    impl ::std::convert::From<MapOfEnumStringConstrained>
   27         -
        for ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>
          25  +
    impl ::std::convert::From<MapOfLengthStringConstrained>
          26  +
        for ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>
   28     27   
    {
   29         -
        fn from(v: MapOfEnumStringConstrained) -> Self {
          28  +
        fn from(v: MapOfLengthStringConstrained) -> Self {
   30     29   
            v.0
   31     30   
        }
   32     31   
    }
   33     32   
}
   34         -
pub(crate) mod map_of_list_of_length_pattern_string_constrained {
          33  +
pub(crate) mod list_of_length_string_constrained {
   35     34   
   36     35   
    #[derive(Debug, Clone)]
   37         -
    pub(crate) struct MapOfListOfLengthPatternStringConstrained(pub(crate) std::collections::HashMap<crate::model::LengthPatternString, crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>);
          36  +
    pub(crate) struct ListOfLengthStringConstrained(
          37  +
        pub(crate) std::vec::Vec<crate::model::LengthString>,
          38  +
    );
   38     39   
   39         -
    impl crate::constrained::Constrained for MapOfListOfLengthPatternStringConstrained {
   40         -
        type Unconstrained = crate::unconstrained::map_of_list_of_length_pattern_string_unconstrained::MapOfListOfLengthPatternStringUnconstrained;
          40  +
    impl crate::constrained::Constrained for ListOfLengthStringConstrained {
          41  +
        type Unconstrained = crate::unconstrained::list_of_length_string_unconstrained::ListOfLengthStringUnconstrained;
   41     42   
    }
   42         -
    impl
   43         -
        ::std::convert::From<
   44         -
            ::std::collections::HashMap<
   45         -
                crate::model::LengthPatternString,
   46         -
                ::std::vec::Vec<crate::model::LengthPatternString>,
   47         -
            >,
   48         -
        > for MapOfListOfLengthPatternStringConstrained
          43  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::LengthString>>
          44  +
        for ListOfLengthStringConstrained
   49     45   
    {
   50         -
        fn from(
   51         -
            v: ::std::collections::HashMap<
   52         -
                crate::model::LengthPatternString,
   53         -
                ::std::vec::Vec<crate::model::LengthPatternString>,
   54         -
            >,
   55         -
        ) -> Self {
   56         -
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
          46  +
        fn from(v: ::std::vec::Vec<crate::model::LengthString>) -> Self {
          47  +
            Self(v)
   57     48   
        }
   58     49   
    }
   59     50   
   60         -
    impl ::std::convert::From<MapOfListOfLengthPatternStringConstrained>
   61         -
        for ::std::collections::HashMap<
   62         -
            crate::model::LengthPatternString,
   63         -
            ::std::vec::Vec<crate::model::LengthPatternString>,
   64         -
        >
          51  +
    impl ::std::convert::From<ListOfLengthStringConstrained>
          52  +
        for ::std::vec::Vec<crate::model::LengthString>
   65     53   
    {
   66         -
        fn from(v: MapOfListOfLengthPatternStringConstrained) -> Self {
   67         -
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
          54  +
        fn from(v: ListOfLengthStringConstrained) -> Self {
          55  +
            v.0
   68     56   
        }
   69     57   
    }
   70     58   
}
   71         -
pub(crate) mod list_of_length_pattern_string_constrained {
          59  +
pub(crate) mod list_of_range_byte_constrained {
   72     60   
   73     61   
    #[derive(Debug, Clone)]
   74         -
    pub(crate) struct ListOfLengthPatternStringConstrained(
   75         -
        pub(crate) std::vec::Vec<crate::model::LengthPatternString>,
          62  +
    pub(crate) struct ListOfRangeByteConstrained(pub(crate) std::vec::Vec<crate::model::RangeByte>);
          63  +
          64  +
    impl crate::constrained::Constrained for ListOfRangeByteConstrained {
          65  +
        type Unconstrained =
          66  +
            crate::unconstrained::list_of_range_byte_unconstrained::ListOfRangeByteUnconstrained;
          67  +
    }
          68  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeByte>> for ListOfRangeByteConstrained {
          69  +
        fn from(v: ::std::vec::Vec<crate::model::RangeByte>) -> Self {
          70  +
            Self(v)
          71  +
        }
          72  +
    }
          73  +
          74  +
    impl ::std::convert::From<ListOfRangeByteConstrained> for ::std::vec::Vec<crate::model::RangeByte> {
          75  +
        fn from(v: ListOfRangeByteConstrained) -> Self {
          76  +
            v.0
          77  +
        }
          78  +
    }
          79  +
}
          80  +
pub(crate) mod list_of_range_short_constrained {
          81  +
          82  +
    #[derive(Debug, Clone)]
          83  +
    pub(crate) struct ListOfRangeShortConstrained(
          84  +
        pub(crate) std::vec::Vec<crate::model::RangeShort>,
   76     85   
    );
   77     86   
   78         -
    impl crate::constrained::Constrained for ListOfLengthPatternStringConstrained {
   79         -
        type Unconstrained = crate::unconstrained::list_of_length_pattern_string_unconstrained::ListOfLengthPatternStringUnconstrained;
          87  +
    impl crate::constrained::Constrained for ListOfRangeShortConstrained {
          88  +
        type Unconstrained =
          89  +
            crate::unconstrained::list_of_range_short_unconstrained::ListOfRangeShortUnconstrained;
   80     90   
    }
   81         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::LengthPatternString>>
   82         -
        for ListOfLengthPatternStringConstrained
          91  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeShort>>
          92  +
        for ListOfRangeShortConstrained
   83     93   
    {
   84         -
        fn from(v: ::std::vec::Vec<crate::model::LengthPatternString>) -> Self {
          94  +
        fn from(v: ::std::vec::Vec<crate::model::RangeShort>) -> Self {
   85     95   
            Self(v)
   86     96   
        }
   87     97   
    }
   88     98   
   89         -
    impl ::std::convert::From<ListOfLengthPatternStringConstrained>
   90         -
        for ::std::vec::Vec<crate::model::LengthPatternString>
          99  +
    impl ::std::convert::From<ListOfRangeShortConstrained>
         100  +
        for ::std::vec::Vec<crate::model::RangeShort>
   91    101   
    {
   92         -
        fn from(v: ListOfLengthPatternStringConstrained) -> Self {
         102  +
        fn from(v: ListOfRangeShortConstrained) -> Self {
   93    103   
            v.0
   94    104   
        }
   95    105   
    }
   96    106   
}
   97         -
pub(crate) mod map_of_length_pattern_string_constrained {
         107  +
pub(crate) mod list_of_range_integer_constrained {
   98    108   
   99    109   
    #[derive(Debug, Clone)]
  100         -
    pub(crate) struct MapOfLengthPatternStringConstrained(
  101         -
        pub(crate)  std::collections::HashMap<
  102         -
            crate::model::LengthPatternString,
  103         -
            crate::model::LengthPatternString,
  104         -
        >,
         110  +
    pub(crate) struct ListOfRangeIntegerConstrained(
         111  +
        pub(crate) std::vec::Vec<crate::model::RangeInteger>,
  105    112   
    );
  106    113   
  107         -
    impl crate::constrained::Constrained for MapOfLengthPatternStringConstrained {
  108         -
        type Unconstrained = crate::unconstrained::map_of_length_pattern_string_unconstrained::MapOfLengthPatternStringUnconstrained;
         114  +
    impl crate::constrained::Constrained for ListOfRangeIntegerConstrained {
         115  +
        type Unconstrained = crate::unconstrained::list_of_range_integer_unconstrained::ListOfRangeIntegerUnconstrained;
  109    116   
    }
  110         -
    impl
  111         -
        ::std::convert::From<
  112         -
            ::std::collections::HashMap<
  113         -
                crate::model::LengthPatternString,
  114         -
                crate::model::LengthPatternString,
  115         -
            >,
  116         -
        > for MapOfLengthPatternStringConstrained
         117  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeInteger>>
         118  +
        for ListOfRangeIntegerConstrained
  117    119   
    {
  118         -
        fn from(
  119         -
            v: ::std::collections::HashMap<
  120         -
                crate::model::LengthPatternString,
  121         -
                crate::model::LengthPatternString,
  122         -
            >,
  123         -
        ) -> Self {
         120  +
        fn from(v: ::std::vec::Vec<crate::model::RangeInteger>) -> Self {
  124    121   
            Self(v)
  125    122   
        }
  126    123   
    }
  127    124   
  128         -
    impl ::std::convert::From<MapOfLengthPatternStringConstrained>
  129         -
        for ::std::collections::HashMap<
  130         -
            crate::model::LengthPatternString,
  131         -
            crate::model::LengthPatternString,
  132         -
        >
         125  +
    impl ::std::convert::From<ListOfRangeIntegerConstrained>
         126  +
        for ::std::vec::Vec<crate::model::RangeInteger>
  133    127   
    {
  134         -
        fn from(v: MapOfLengthPatternStringConstrained) -> Self {
         128  +
        fn from(v: ListOfRangeIntegerConstrained) -> Self {
  135    129   
            v.0
  136    130   
        }
  137    131   
    }
  138    132   
}
  139         -
pub(crate) mod map_of_list_of_pattern_string_constrained {
         133  +
pub(crate) mod list_of_range_long_constrained {
  140    134   
  141    135   
    #[derive(Debug, Clone)]
  142         -
    pub(crate) struct MapOfListOfPatternStringConstrained(
         136  +
    pub(crate) struct ListOfRangeLongConstrained(pub(crate) std::vec::Vec<crate::model::RangeLong>);
         137  +
         138  +
    impl crate::constrained::Constrained for ListOfRangeLongConstrained {
         139  +
        type Unconstrained =
         140  +
            crate::unconstrained::list_of_range_long_unconstrained::ListOfRangeLongUnconstrained;
         141  +
    }
         142  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeLong>> for ListOfRangeLongConstrained {
         143  +
        fn from(v: ::std::vec::Vec<crate::model::RangeLong>) -> Self {
         144  +
            Self(v)
         145  +
        }
         146  +
    }
         147  +
         148  +
    impl ::std::convert::From<ListOfRangeLongConstrained> for ::std::vec::Vec<crate::model::RangeLong> {
         149  +
        fn from(v: ListOfRangeLongConstrained) -> Self {
         150  +
            v.0
         151  +
        }
         152  +
    }
         153  +
}
         154  +
pub(crate) mod list_of_enum_string_constrained {
         155  +
         156  +
    #[derive(Debug, Clone)]
         157  +
    pub(crate) struct ListOfEnumStringConstrained(
         158  +
        pub(crate) std::vec::Vec<crate::model::EnumString>,
         159  +
    );
         160  +
         161  +
    impl crate::constrained::Constrained for ListOfEnumStringConstrained {
         162  +
        type Unconstrained =
         163  +
            crate::unconstrained::list_of_enum_string_unconstrained::ListOfEnumStringUnconstrained;
         164  +
    }
         165  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::EnumString>>
         166  +
        for ListOfEnumStringConstrained
         167  +
    {
         168  +
        fn from(v: ::std::vec::Vec<crate::model::EnumString>) -> Self {
         169  +
            Self(v)
         170  +
        }
         171  +
    }
         172  +
         173  +
    impl ::std::convert::From<ListOfEnumStringConstrained>
         174  +
        for ::std::vec::Vec<crate::model::EnumString>
         175  +
    {
         176  +
        fn from(v: ListOfEnumStringConstrained) -> Self {
         177  +
            v.0
         178  +
        }
         179  +
    }
         180  +
}
         181  +
pub(crate) mod recursive_list_constrained {
         182  +
         183  +
    #[derive(Debug, Clone)]
         184  +
    pub(crate) struct RecursiveListConstrained(
         185  +
        pub(crate) std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
         186  +
    );
         187  +
         188  +
    impl crate::constrained::Constrained for RecursiveListConstrained {
         189  +
        type Unconstrained =
         190  +
            crate::unconstrained::recursive_list_unconstrained::RecursiveListUnconstrained;
         191  +
    }
         192  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>>
         193  +
        for RecursiveListConstrained
         194  +
    {
         195  +
        fn from(v: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>) -> Self {
         196  +
            Self(v)
         197  +
        }
         198  +
    }
         199  +
         200  +
    impl ::std::convert::From<RecursiveListConstrained>
         201  +
        for ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>
         202  +
    {
         203  +
        fn from(v: RecursiveListConstrained) -> Self {
         204  +
            v.0
         205  +
        }
         206  +
    }
         207  +
}
         208  +
pub(crate) mod map_of_list_of_length_string_constrained {
         209  +
         210  +
    #[derive(Debug, Clone)]
         211  +
    pub(crate) struct MapOfListOfLengthStringConstrained(
  143    212   
        pub(crate)  std::collections::HashMap<
  144         -
            crate::model::PatternString,
  145         -
            crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained,
         213  +
            crate::model::LengthString,
         214  +
            crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained,
  146    215   
        >,
  147    216   
    );
  148    217   
  149         -
    impl crate::constrained::Constrained for MapOfListOfPatternStringConstrained {
  150         -
        type Unconstrained = crate::unconstrained::map_of_list_of_pattern_string_unconstrained::MapOfListOfPatternStringUnconstrained;
         218  +
    impl crate::constrained::Constrained for MapOfListOfLengthStringConstrained {
         219  +
        type Unconstrained = crate::unconstrained::map_of_list_of_length_string_unconstrained::MapOfListOfLengthStringUnconstrained;
  151    220   
    }
  152    221   
    impl
  153    222   
        ::std::convert::From<
  154    223   
            ::std::collections::HashMap<
  155         -
                crate::model::PatternString,
  156         -
                ::std::vec::Vec<crate::model::PatternString>,
         224  +
                crate::model::LengthString,
         225  +
                ::std::vec::Vec<crate::model::LengthString>,
  157    226   
            >,
  158         -
        > for MapOfListOfPatternStringConstrained
         227  +
        > for MapOfListOfLengthStringConstrained
  159    228   
    {
  160    229   
        fn from(
  161    230   
            v: ::std::collections::HashMap<
  162         -
                crate::model::PatternString,
  163         -
                ::std::vec::Vec<crate::model::PatternString>,
         231  +
                crate::model::LengthString,
         232  +
                ::std::vec::Vec<crate::model::LengthString>,
  164    233   
            >,
  165    234   
        ) -> Self {
  166    235   
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
  167    236   
        }
  168    237   
    }
  169    238   
  170         -
    impl ::std::convert::From<MapOfListOfPatternStringConstrained>
         239  +
    impl ::std::convert::From<MapOfListOfLengthStringConstrained>
  171    240   
        for ::std::collections::HashMap<
  172         -
            crate::model::PatternString,
  173         -
            ::std::vec::Vec<crate::model::PatternString>,
         241  +
            crate::model::LengthString,
         242  +
            ::std::vec::Vec<crate::model::LengthString>,
  174    243   
        >
  175    244   
    {
  176         -
        fn from(v: MapOfListOfPatternStringConstrained) -> Self {
         245  +
        fn from(v: MapOfListOfLengthStringConstrained) -> Self {
  177    246   
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
  178    247   
        }
  179    248   
    }
  180    249   
}
  181         -
pub(crate) mod list_of_pattern_string_constrained {
         250  +
pub(crate) mod map_of_set_of_length_string_constrained {
  182    251   
  183    252   
    #[derive(Debug, Clone)]
  184         -
    pub(crate) struct ListOfPatternStringConstrained(
  185         -
        pub(crate) std::vec::Vec<crate::model::PatternString>,
         253  +
    pub(crate) struct MapOfSetOfLengthStringConstrained(
         254  +
        pub(crate) 
         255  +
            std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>,
  186    256   
    );
  187    257   
  188         -
    impl crate::constrained::Constrained for ListOfPatternStringConstrained {
  189         -
        type Unconstrained = crate::unconstrained::list_of_pattern_string_unconstrained::ListOfPatternStringUnconstrained;
         258  +
    impl crate::constrained::Constrained for MapOfSetOfLengthStringConstrained {
         259  +
        type Unconstrained = crate::unconstrained::map_of_set_of_length_string_unconstrained::MapOfSetOfLengthStringUnconstrained;
  190    260   
    }
  191         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::PatternString>>
  192         -
        for ListOfPatternStringConstrained
         261  +
    impl
         262  +
        ::std::convert::From<
         263  +
            ::std::collections::HashMap<
         264  +
                crate::model::LengthString,
         265  +
                crate::model::SetOfLengthString,
         266  +
            >,
         267  +
        > for MapOfSetOfLengthStringConstrained
  193    268   
    {
  194         -
        fn from(v: ::std::vec::Vec<crate::model::PatternString>) -> Self {
         269  +
        fn from(
         270  +
            v: ::std::collections::HashMap<
         271  +
                crate::model::LengthString,
         272  +
                crate::model::SetOfLengthString,
         273  +
            >,
         274  +
        ) -> Self {
  195    275   
            Self(v)
  196    276   
        }
  197    277   
    }
  198    278   
  199         -
    impl ::std::convert::From<ListOfPatternStringConstrained>
  200         -
        for ::std::vec::Vec<crate::model::PatternString>
         279  +
    impl ::std::convert::From<MapOfSetOfLengthStringConstrained>
         280  +
        for ::std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>
  201    281   
    {
  202         -
        fn from(v: ListOfPatternStringConstrained) -> Self {
         282  +
        fn from(v: MapOfSetOfLengthStringConstrained) -> Self {
  203    283   
            v.0
  204    284   
        }
  205    285   
    }
  206    286   
}
  207         -
pub(crate) mod map_of_pattern_string_constrained {
         287  +
pub(crate) mod map_of_length_list_of_pattern_string_constrained {
  208    288   
  209    289   
    #[derive(Debug, Clone)]
  210         -
    pub(crate) struct MapOfPatternStringConstrained(
  211         -
        pub(crate) 
  212         -
            std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
         290  +
    pub(crate) struct MapOfLengthListOfPatternStringConstrained(
         291  +
        pub(crate)  std::collections::HashMap<
         292  +
            crate::model::PatternString,
         293  +
            crate::model::LengthListOfPatternString,
         294  +
        >,
  213    295   
    );
  214    296   
  215         -
    impl crate::constrained::Constrained for MapOfPatternStringConstrained {
  216         -
        type Unconstrained = crate::unconstrained::map_of_pattern_string_unconstrained::MapOfPatternStringUnconstrained;
         297  +
    impl crate::constrained::Constrained for MapOfLengthListOfPatternStringConstrained {
         298  +
        type Unconstrained = crate::unconstrained::map_of_length_list_of_pattern_string_unconstrained::MapOfLengthListOfPatternStringUnconstrained;
  217    299   
    }
  218    300   
    impl
  219    301   
        ::std::convert::From<
  220         -
            ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  221         -
        > for MapOfPatternStringConstrained
         302  +
            ::std::collections::HashMap<
         303  +
                crate::model::PatternString,
         304  +
                crate::model::LengthListOfPatternString,
         305  +
            >,
         306  +
        > for MapOfLengthListOfPatternStringConstrained
  222    307   
    {
  223    308   
        fn from(
  224    309   
            v: ::std::collections::HashMap<
  225    310   
                crate::model::PatternString,
  226         -
                crate::model::PatternString,
         311  +
                crate::model::LengthListOfPatternString,
  227    312   
            >,
  228    313   
        ) -> Self {
  229    314   
            Self(v)
  230    315   
        }
  231    316   
    }
  232    317   
  233         -
    impl ::std::convert::From<MapOfPatternStringConstrained>
  234         -
        for ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>
         318  +
    impl ::std::convert::From<MapOfLengthListOfPatternStringConstrained>
         319  +
        for ::std::collections::HashMap<
         320  +
            crate::model::PatternString,
         321  +
            crate::model::LengthListOfPatternString,
         322  +
        >
  235    323   
    {
  236         -
        fn from(v: MapOfPatternStringConstrained) -> Self {
         324  +
        fn from(v: MapOfLengthListOfPatternStringConstrained) -> Self {
  237    325   
            v.0
  238    326   
        }
  239    327   
    }
  240    328   
}
  241    329   
pub(crate) mod map_of_list_of_enum_string_constrained {
  242    330   
  243    331   
    #[derive(Debug, Clone)]
  244    332   
    pub(crate) struct MapOfListOfEnumStringConstrained(
  245    333   
        pub(crate)  std::collections::HashMap<
  246    334   
            crate::model::EnumString,
  247    335   
            crate::constrained::list_of_enum_string_constrained::ListOfEnumStringConstrained,
  248    336   
        >,
  249    337   
    );
  250    338   
  251    339   
    impl crate::constrained::Constrained for MapOfListOfEnumStringConstrained {
  252    340   
        type Unconstrained = crate::unconstrained::map_of_list_of_enum_string_unconstrained::MapOfListOfEnumStringUnconstrained;
  253    341   
    }
  254    342   
    impl
  255    343   
        ::std::convert::From<
  256    344   
            ::std::collections::HashMap<
  257    345   
                crate::model::EnumString,
  258    346   
                ::std::vec::Vec<crate::model::EnumString>,
  259    347   
            >,
  260    348   
        > for MapOfListOfEnumStringConstrained
  261    349   
    {
  262    350   
        fn from(
  263    351   
            v: ::std::collections::HashMap<
  264    352   
                crate::model::EnumString,
  265    353   
                ::std::vec::Vec<crate::model::EnumString>,
  266    354   
            >,
  267    355   
        ) -> Self {
  268    356   
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
  269    357   
        }
  270    358   
    }
  271    359   
  272    360   
    impl ::std::convert::From<MapOfListOfEnumStringConstrained>
  273    361   
        for ::std::collections::HashMap<
  274    362   
            crate::model::EnumString,
  275    363   
            ::std::vec::Vec<crate::model::EnumString>,
  276    364   
        >
  277    365   
    {
  278    366   
        fn from(v: MapOfListOfEnumStringConstrained) -> Self {
  279    367   
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
  280    368   
        }
  281    369   
    }
  282    370   
}
  283         -
pub(crate) mod list_of_enum_string_constrained {
         371  +
pub(crate) mod map_of_pattern_string_constrained {
  284    372   
  285    373   
    #[derive(Debug, Clone)]
  286         -
    pub(crate) struct ListOfEnumStringConstrained(
  287         -
        pub(crate) std::vec::Vec<crate::model::EnumString>,
         374  +
    pub(crate) struct MapOfPatternStringConstrained(
         375  +
        pub(crate) 
         376  +
            std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  288    377   
    );
  289    378   
  290         -
    impl crate::constrained::Constrained for ListOfEnumStringConstrained {
  291         -
        type Unconstrained =
  292         -
            crate::unconstrained::list_of_enum_string_unconstrained::ListOfEnumStringUnconstrained;
         379  +
    impl crate::constrained::Constrained for MapOfPatternStringConstrained {
         380  +
        type Unconstrained = crate::unconstrained::map_of_pattern_string_unconstrained::MapOfPatternStringUnconstrained;
  293    381   
    }
  294         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::EnumString>>
  295         -
        for ListOfEnumStringConstrained
         382  +
    impl
         383  +
        ::std::convert::From<
         384  +
            ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
         385  +
        > for MapOfPatternStringConstrained
  296    386   
    {
  297         -
        fn from(v: ::std::vec::Vec<crate::model::EnumString>) -> Self {
         387  +
        fn from(
         388  +
            v: ::std::collections::HashMap<
         389  +
                crate::model::PatternString,
         390  +
                crate::model::PatternString,
         391  +
            >,
         392  +
        ) -> Self {
  298    393   
            Self(v)
  299    394   
        }
  300    395   
    }
  301    396   
  302         -
    impl ::std::convert::From<ListOfEnumStringConstrained>
  303         -
        for ::std::vec::Vec<crate::model::EnumString>
         397  +
    impl ::std::convert::From<MapOfPatternStringConstrained>
         398  +
        for ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>
  304    399   
    {
  305         -
        fn from(v: ListOfEnumStringConstrained) -> Self {
         400  +
        fn from(v: MapOfPatternStringConstrained) -> Self {
  306    401   
            v.0
  307    402   
        }
  308    403   
    }
  309    404   
}
  310         -
pub(crate) mod map_of_length_list_of_pattern_string_constrained {
         405  +
pub(crate) mod map_of_list_of_pattern_string_constrained {
  311    406   
  312    407   
    #[derive(Debug, Clone)]
  313         -
    pub(crate) struct MapOfLengthListOfPatternStringConstrained(
         408  +
    pub(crate) struct MapOfListOfPatternStringConstrained(
  314    409   
        pub(crate)  std::collections::HashMap<
  315    410   
            crate::model::PatternString,
  316         -
            crate::model::LengthListOfPatternString,
         411  +
            crate::constrained::list_of_pattern_string_constrained::ListOfPatternStringConstrained,
  317    412   
        >,
  318    413   
    );
  319    414   
  320         -
    impl crate::constrained::Constrained for MapOfLengthListOfPatternStringConstrained {
  321         -
        type Unconstrained = crate::unconstrained::map_of_length_list_of_pattern_string_unconstrained::MapOfLengthListOfPatternStringUnconstrained;
         415  +
    impl crate::constrained::Constrained for MapOfListOfPatternStringConstrained {
         416  +
        type Unconstrained = crate::unconstrained::map_of_list_of_pattern_string_unconstrained::MapOfListOfPatternStringUnconstrained;
  322    417   
    }
  323    418   
    impl
  324    419   
        ::std::convert::From<
  325    420   
            ::std::collections::HashMap<
  326    421   
                crate::model::PatternString,
  327         -
                crate::model::LengthListOfPatternString,
         422  +
                ::std::vec::Vec<crate::model::PatternString>,
  328    423   
            >,
  329         -
        > for MapOfLengthListOfPatternStringConstrained
         424  +
        > for MapOfListOfPatternStringConstrained
  330    425   
    {
  331    426   
        fn from(
  332    427   
            v: ::std::collections::HashMap<
  333    428   
                crate::model::PatternString,
  334         -
                crate::model::LengthListOfPatternString,
         429  +
                ::std::vec::Vec<crate::model::PatternString>,
  335    430   
            >,
  336    431   
        ) -> Self {
  337         -
            Self(v)
         432  +
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
  338    433   
        }
  339    434   
    }
  340    435   
  341         -
    impl ::std::convert::From<MapOfLengthListOfPatternStringConstrained>
         436  +
    impl ::std::convert::From<MapOfListOfPatternStringConstrained>
  342    437   
        for ::std::collections::HashMap<
  343    438   
            crate::model::PatternString,
  344         -
            crate::model::LengthListOfPatternString,
         439  +
            ::std::vec::Vec<crate::model::PatternString>,
  345    440   
        >
  346    441   
    {
  347         -
        fn from(v: MapOfLengthListOfPatternStringConstrained) -> Self {
  348         -
            v.0
  349         -
        }
  350         -
    }
  351         -
}
  352         -
pub(crate) mod map_of_set_of_length_string_constrained {
  353         -
  354         -
    #[derive(Debug, Clone)]
  355         -
    pub(crate) struct MapOfSetOfLengthStringConstrained(
  356         -
        pub(crate) 
  357         -
            std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>,
  358         -
    );
  359         -
  360         -
    impl crate::constrained::Constrained for MapOfSetOfLengthStringConstrained {
  361         -
        type Unconstrained = crate::unconstrained::map_of_set_of_length_string_unconstrained::MapOfSetOfLengthStringUnconstrained;
  362         -
    }
  363         -
    impl
  364         -
        ::std::convert::From<
  365         -
            ::std::collections::HashMap<
  366         -
                crate::model::LengthString,
  367         -
                crate::model::SetOfLengthString,
  368         -
            >,
  369         -
        > for MapOfSetOfLengthStringConstrained
  370         -
    {
  371         -
        fn from(
  372         -
            v: ::std::collections::HashMap<
  373         -
                crate::model::LengthString,
  374         -
                crate::model::SetOfLengthString,
  375         -
            >,
  376         -
        ) -> Self {
  377         -
            Self(v)
  378         -
        }
  379         -
    }
  380         -
  381         -
    impl ::std::convert::From<MapOfSetOfLengthStringConstrained>
  382         -
        for ::std::collections::HashMap<crate::model::LengthString, crate::model::SetOfLengthString>
  383         -
    {
  384         -
        fn from(v: MapOfSetOfLengthStringConstrained) -> Self {
  385         -
            v.0
         442  +
        fn from(v: MapOfListOfPatternStringConstrained) -> Self {
         443  +
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
  386    444   
        }
  387    445   
    }
  388    446   
}
  389         -
pub(crate) mod map_of_list_of_length_string_constrained {
         447  +
pub(crate) mod map_of_length_pattern_string_constrained {
  390    448   
  391    449   
    #[derive(Debug, Clone)]
  392         -
    pub(crate) struct MapOfListOfLengthStringConstrained(
         450  +
    pub(crate) struct MapOfLengthPatternStringConstrained(
  393    451   
        pub(crate)  std::collections::HashMap<
  394         -
            crate::model::LengthString,
  395         -
            crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained,
         452  +
            crate::model::LengthPatternString,
         453  +
            crate::model::LengthPatternString,
  396    454   
        >,
  397    455   
    );
  398    456   
  399         -
    impl crate::constrained::Constrained for MapOfListOfLengthStringConstrained {
  400         -
        type Unconstrained = crate::unconstrained::map_of_list_of_length_string_unconstrained::MapOfListOfLengthStringUnconstrained;
         457  +
    impl crate::constrained::Constrained for MapOfLengthPatternStringConstrained {
         458  +
        type Unconstrained = crate::unconstrained::map_of_length_pattern_string_unconstrained::MapOfLengthPatternStringUnconstrained;
  401    459   
    }
  402    460   
    impl
  403    461   
        ::std::convert::From<
  404    462   
            ::std::collections::HashMap<
  405         -
                crate::model::LengthString,
  406         -
                ::std::vec::Vec<crate::model::LengthString>,
         463  +
                crate::model::LengthPatternString,
         464  +
                crate::model::LengthPatternString,
  407    465   
            >,
  408         -
        > for MapOfListOfLengthStringConstrained
         466  +
        > for MapOfLengthPatternStringConstrained
  409    467   
    {
  410    468   
        fn from(
  411    469   
            v: ::std::collections::HashMap<
  412         -
                crate::model::LengthString,
  413         -
                ::std::vec::Vec<crate::model::LengthString>,
         470  +
                crate::model::LengthPatternString,
         471  +
                crate::model::LengthPatternString,
  414    472   
            >,
  415    473   
        ) -> Self {
  416         -
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
         474  +
            Self(v)
  417    475   
        }
  418    476   
    }
  419    477   
  420         -
    impl ::std::convert::From<MapOfListOfLengthStringConstrained>
         478  +
    impl ::std::convert::From<MapOfLengthPatternStringConstrained>
  421    479   
        for ::std::collections::HashMap<
  422         -
            crate::model::LengthString,
  423         -
            ::std::vec::Vec<crate::model::LengthString>,
         480  +
            crate::model::LengthPatternString,
         481  +
            crate::model::LengthPatternString,
  424    482   
        >
  425    483   
    {
  426         -
        fn from(v: MapOfListOfLengthStringConstrained) -> Self {
  427         -
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
         484  +
        fn from(v: MapOfLengthPatternStringConstrained) -> Self {
         485  +
            v.0
  428    486   
        }
  429    487   
    }
  430    488   
}
  431         -
pub(crate) mod list_of_length_string_constrained {
         489  +
pub(crate) mod map_of_list_of_length_pattern_string_constrained {
  432    490   
  433    491   
    #[derive(Debug, Clone)]
  434         -
    pub(crate) struct ListOfLengthStringConstrained(
  435         -
        pub(crate) std::vec::Vec<crate::model::LengthString>,
  436         -
    );
         492  +
    pub(crate) struct MapOfListOfLengthPatternStringConstrained(pub(crate) std::collections::HashMap<crate::model::LengthPatternString, crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>);
  437    493   
  438         -
    impl crate::constrained::Constrained for ListOfLengthStringConstrained {
  439         -
        type Unconstrained = crate::unconstrained::list_of_length_string_unconstrained::ListOfLengthStringUnconstrained;
         494  +
    impl crate::constrained::Constrained for MapOfListOfLengthPatternStringConstrained {
         495  +
        type Unconstrained = crate::unconstrained::map_of_list_of_length_pattern_string_unconstrained::MapOfListOfLengthPatternStringUnconstrained;
  440    496   
    }
  441         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::LengthString>>
  442         -
        for ListOfLengthStringConstrained
         497  +
    impl
         498  +
        ::std::convert::From<
         499  +
            ::std::collections::HashMap<
         500  +
                crate::model::LengthPatternString,
         501  +
                ::std::vec::Vec<crate::model::LengthPatternString>,
         502  +
            >,
         503  +
        > for MapOfListOfLengthPatternStringConstrained
  443    504   
    {
  444         -
        fn from(v: ::std::vec::Vec<crate::model::LengthString>) -> Self {
  445         -
            Self(v)
         505  +
        fn from(
         506  +
            v: ::std::collections::HashMap<
         507  +
                crate::model::LengthPatternString,
         508  +
                ::std::vec::Vec<crate::model::LengthPatternString>,
         509  +
            >,
         510  +
        ) -> Self {
         511  +
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
  446    512   
        }
  447    513   
    }
  448    514   
  449         -
    impl ::std::convert::From<ListOfLengthStringConstrained>
  450         -
        for ::std::vec::Vec<crate::model::LengthString>
         515  +
    impl ::std::convert::From<MapOfListOfLengthPatternStringConstrained>
         516  +
        for ::std::collections::HashMap<
         517  +
            crate::model::LengthPatternString,
         518  +
            ::std::vec::Vec<crate::model::LengthPatternString>,
         519  +
        >
  451    520   
    {
  452         -
        fn from(v: ListOfLengthStringConstrained) -> Self {
  453         -
            v.0
         521  +
        fn from(v: MapOfListOfLengthPatternStringConstrained) -> Self {
         522  +
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
  454    523   
        }
  455    524   
    }
  456    525   
}
  457         -
pub(crate) mod map_of_length_string_constrained {
         526  +
pub(crate) mod map_of_enum_string_constrained {
  458    527   
  459    528   
    #[derive(Debug, Clone)]
  460         -
    pub(crate) struct MapOfLengthStringConstrained(
  461         -
        pub(crate) std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
         529  +
    pub(crate) struct MapOfEnumStringConstrained(
         530  +
        pub(crate) std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  462    531   
    );
  463    532   
  464         -
    impl crate::constrained::Constrained for MapOfLengthStringConstrained {
  465         -
        type Unconstrained = crate::unconstrained::map_of_length_string_unconstrained::MapOfLengthStringUnconstrained;
         533  +
    impl crate::constrained::Constrained for MapOfEnumStringConstrained {
         534  +
        type Unconstrained =
         535  +
            crate::unconstrained::map_of_enum_string_unconstrained::MapOfEnumStringUnconstrained;
  466    536   
    }
  467    537   
    impl
  468    538   
        ::std::convert::From<
  469         -
            ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
  470         -
        > for MapOfLengthStringConstrained
         539  +
            ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
         540  +
        > for MapOfEnumStringConstrained
  471    541   
    {
  472    542   
        fn from(
  473         -
            v: ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>,
         543  +
            v: ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  474    544   
        ) -> Self {
  475    545   
            Self(v)
  476    546   
        }
  477    547   
    }
  478    548   
  479         -
    impl ::std::convert::From<MapOfLengthStringConstrained>
  480         -
        for ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthString>
         549  +
    impl ::std::convert::From<MapOfEnumStringConstrained>
         550  +
        for ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>
  481    551   
    {
  482         -
        fn from(v: MapOfLengthStringConstrained) -> Self {
         552  +
        fn from(v: MapOfEnumStringConstrained) -> Self {
  483    553   
            v.0
  484    554   
        }
  485    555   
    }
  486    556   
}
  487         -
pub(crate) mod recursive_list_constrained {
         557  +
pub(crate) mod con_b_list_constrained {
  488    558   
  489    559   
    #[derive(Debug, Clone)]
  490         -
    pub(crate) struct RecursiveListConstrained(
  491         -
        pub(crate) std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>,
         560  +
    pub(crate) struct ConBListConstrained(
         561  +
        pub(crate)  std::vec::Vec<
         562  +
            crate::constrained::con_b_list_inner_constrained::ConBListInnerConstrained,
         563  +
        >,
  492    564   
    );
  493    565   
  494         -
    impl crate::constrained::Constrained for RecursiveListConstrained {
  495         -
        type Unconstrained =
  496         -
            crate::unconstrained::recursive_list_unconstrained::RecursiveListUnconstrained;
         566  +
    impl crate::constrained::Constrained for ConBListConstrained {
         567  +
        type Unconstrained = crate::unconstrained::con_b_list_unconstrained::ConBListUnconstrained;
  497    568   
    }
  498         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>>
  499         -
        for RecursiveListConstrained
         569  +
    impl ::std::convert::From<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>
         570  +
        for ConBListConstrained
  500    571   
    {
  501         -
        fn from(v: ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>) -> Self {
  502         -
            Self(v)
         572  +
        fn from(v: ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>) -> Self {
         573  +
            Self(v.into_iter().map(|item| item.into()).collect())
  503    574   
        }
  504    575   
    }
  505    576   
  506         -
    impl ::std::convert::From<RecursiveListConstrained>
  507         -
        for ::std::vec::Vec<crate::model::RecursiveShapesInputOutputNested1>
         577  +
    impl ::std::convert::From<ConBListConstrained>
         578  +
        for ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>
  508    579   
    {
  509         -
        fn from(v: RecursiveListConstrained) -> Self {
  510         -
            v.0
         580  +
        fn from(v: ConBListConstrained) -> Self {
         581  +
            v.0.into_iter().map(|item| item.into()).collect()
  511    582   
        }
  512    583   
    }
  513    584   
}
  514         -
pub(crate) mod map_of_range_byte_constrained {
         585  +
pub(crate) mod map_of_map_of_list_of_list_of_con_b_constrained {
  515    586   
  516    587   
    #[derive(Debug, Clone)]
  517         -
    pub(crate) struct MapOfRangeByteConstrained(
  518         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  519         -
    );
         588  +
    pub(crate) struct MapOfMapOfListOfListOfConBConstrained(pub(crate) std::collections::HashMap<::std::string::String, crate::constrained::map_of_list_of_list_of_con_b_constrained::MapOfListOfListOfConBConstrained>);
  520    589   
  521         -
    impl crate::constrained::Constrained for MapOfRangeByteConstrained {
  522         -
        type Unconstrained =
  523         -
            crate::unconstrained::map_of_range_byte_unconstrained::MapOfRangeByteUnconstrained;
         590  +
    impl crate::constrained::Constrained for MapOfMapOfListOfListOfConBConstrained {
         591  +
        type Unconstrained = crate::unconstrained::map_of_map_of_list_of_list_of_con_b_unconstrained::MapOfMapOfListOfListOfConBUnconstrained;
  524    592   
    }
  525    593   
    impl
  526    594   
        ::std::convert::From<
  527         -
            ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  528         -
        > for MapOfRangeByteConstrained
         595  +
            ::std::collections::HashMap<
         596  +
                ::std::string::String,
         597  +
                ::std::collections::HashMap<
         598  +
                    ::std::string::String,
         599  +
                    ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
         600  +
                >,
         601  +
            >,
         602  +
        > for MapOfMapOfListOfListOfConBConstrained
  529    603   
    {
  530    604   
        fn from(
  531         -
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
         605  +
            v: ::std::collections::HashMap<
         606  +
                ::std::string::String,
         607  +
                ::std::collections::HashMap<
         608  +
                    ::std::string::String,
         609  +
                    ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
         610  +
                >,
         611  +
            >,
  532    612   
        ) -> Self {
  533         -
            Self(v)
         613  +
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
  534    614   
        }
  535    615   
    }
  536    616   
  537         -
    impl ::std::convert::From<MapOfRangeByteConstrained>
  538         -
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>
         617  +
    impl ::std::convert::From<MapOfMapOfListOfListOfConBConstrained>
         618  +
        for ::std::collections::HashMap<
         619  +
            ::std::string::String,
         620  +
            ::std::collections::HashMap<
         621  +
                ::std::string::String,
         622  +
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
         623  +
            >,
         624  +
        >
  539    625   
    {
  540         -
        fn from(v: MapOfRangeByteConstrained) -> Self {
  541         -
            v.0
  542         -
        }
  543         -
    }
  544         -
}
  545         -
pub(crate) mod list_of_range_byte_constrained {
  546         -
  547         -
    #[derive(Debug, Clone)]
  548         -
    pub(crate) struct ListOfRangeByteConstrained(pub(crate) std::vec::Vec<crate::model::RangeByte>);
  549         -
  550         -
    impl crate::constrained::Constrained for ListOfRangeByteConstrained {
  551         -
        type Unconstrained =
  552         -
            crate::unconstrained::list_of_range_byte_unconstrained::ListOfRangeByteUnconstrained;
  553         -
    }
  554         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeByte>> for ListOfRangeByteConstrained {
  555         -
        fn from(v: ::std::vec::Vec<crate::model::RangeByte>) -> Self {
  556         -
            Self(v)
  557         -
        }
  558         -
    }
  559         -
  560         -
    impl ::std::convert::From<ListOfRangeByteConstrained> for ::std::vec::Vec<crate::model::RangeByte> {
  561         -
        fn from(v: ListOfRangeByteConstrained) -> Self {
  562         -
            v.0
         626  +
        fn from(v: MapOfMapOfListOfListOfConBConstrained) -> Self {
         627  +
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
  563    628   
        }
  564    629   
    }
  565    630   
}
  566         -
pub(crate) mod map_of_range_long_constrained {
         631  +
pub(crate) mod sparse_map_constrained {
  567    632   
  568    633   
    #[derive(Debug, Clone)]
  569         -
    pub(crate) struct MapOfRangeLongConstrained(
  570         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
         634  +
    pub(crate) struct SparseMapConstrained(
         635  +
        pub(crate)  std::collections::HashMap<
         636  +
            ::std::string::String,
         637  +
            ::std::option::Option<crate::model::UniqueItemsList>,
         638  +
        >,
  571    639   
    );
  572    640   
  573         -
    impl crate::constrained::Constrained for MapOfRangeLongConstrained {
  574         -
        type Unconstrained =
  575         -
            crate::unconstrained::map_of_range_long_unconstrained::MapOfRangeLongUnconstrained;
         641  +
    impl crate::constrained::Constrained for SparseMapConstrained {
         642  +
        type Unconstrained = crate::unconstrained::sparse_map_unconstrained::SparseMapUnconstrained;
  576    643   
    }
  577    644   
    impl
  578    645   
        ::std::convert::From<
  579         -
            ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
  580         -
        > for MapOfRangeLongConstrained
         646  +
            ::std::collections::HashMap<
         647  +
                ::std::string::String,
         648  +
                ::std::option::Option<crate::model::UniqueItemsList>,
         649  +
            >,
         650  +
        > for SparseMapConstrained
  581    651   
    {
  582    652   
        fn from(
  583         -
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
         653  +
            v: ::std::collections::HashMap<
         654  +
                ::std::string::String,
         655  +
                ::std::option::Option<crate::model::UniqueItemsList>,
         656  +
            >,
  584    657   
        ) -> Self {
  585    658   
            Self(v)
  586    659   
        }
  587    660   
    }
  588    661   
  589         -
    impl ::std::convert::From<MapOfRangeLongConstrained>
  590         -
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>
         662  +
    impl ::std::convert::From<SparseMapConstrained>
         663  +
        for ::std::collections::HashMap<
         664  +
            ::std::string::String,
         665  +
            ::std::option::Option<crate::model::UniqueItemsList>,
         666  +
        >
  591    667   
    {
  592         -
        fn from(v: MapOfRangeLongConstrained) -> Self {
         668  +
        fn from(v: SparseMapConstrained) -> Self {
  593    669   
            v.0
  594    670   
        }
  595    671   
    }
  596    672   
}
  597         -
pub(crate) mod list_of_range_long_constrained {
         673  +
pub(crate) mod sparse_list_constrained {
  598    674   
  599    675   
    #[derive(Debug, Clone)]
  600         -
    pub(crate) struct ListOfRangeLongConstrained(pub(crate) std::vec::Vec<crate::model::RangeLong>);
         676  +
    pub(crate) struct SparseListConstrained(
         677  +
        pub(crate) std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
         678  +
    );
  601    679   
  602         -
    impl crate::constrained::Constrained for ListOfRangeLongConstrained {
         680  +
    impl crate::constrained::Constrained for SparseListConstrained {
  603    681   
        type Unconstrained =
  604         -
            crate::unconstrained::list_of_range_long_unconstrained::ListOfRangeLongUnconstrained;
         682  +
            crate::unconstrained::sparse_list_unconstrained::SparseListUnconstrained;
  605    683   
    }
  606         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeLong>> for ListOfRangeLongConstrained {
  607         -
        fn from(v: ::std::vec::Vec<crate::model::RangeLong>) -> Self {
         684  +
    impl ::std::convert::From<::std::vec::Vec<::std::option::Option<crate::model::LengthString>>>
         685  +
        for SparseListConstrained
         686  +
    {
         687  +
        fn from(v: ::std::vec::Vec<::std::option::Option<crate::model::LengthString>>) -> Self {
  608    688   
            Self(v)
  609    689   
        }
  610    690   
    }
  611    691   
  612         -
    impl ::std::convert::From<ListOfRangeLongConstrained> for ::std::vec::Vec<crate::model::RangeLong> {
  613         -
        fn from(v: ListOfRangeLongConstrained) -> Self {
         692  +
    impl ::std::convert::From<SparseListConstrained>
         693  +
        for ::std::vec::Vec<::std::option::Option<crate::model::LengthString>>
         694  +
    {
         695  +
        fn from(v: SparseListConstrained) -> Self {
  614    696   
            v.0
  615    697   
        }
  616    698   
    }
  617    699   
}
  618         -
pub(crate) mod map_of_range_short_constrained {
         700  +
pub(crate) mod list_of_length_blob_constrained {
  619    701   
  620    702   
    #[derive(Debug, Clone)]
  621         -
    pub(crate) struct MapOfRangeShortConstrained(
  622         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
         703  +
    pub(crate) struct ListOfLengthBlobConstrained(
         704  +
        pub(crate) std::vec::Vec<crate::model::LengthBlob>,
  623    705   
    );
  624    706   
  625         -
    impl crate::constrained::Constrained for MapOfRangeShortConstrained {
         707  +
    impl crate::constrained::Constrained for ListOfLengthBlobConstrained {
  626    708   
        type Unconstrained =
  627         -
            crate::unconstrained::map_of_range_short_unconstrained::MapOfRangeShortUnconstrained;
         709  +
            crate::unconstrained::list_of_length_blob_unconstrained::ListOfLengthBlobUnconstrained;
  628    710   
    }
  629         -
    impl
  630         -
        ::std::convert::From<
  631         -
            ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  632         -
        > for MapOfRangeShortConstrained
         711  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::LengthBlob>>
         712  +
        for ListOfLengthBlobConstrained
  633    713   
    {
  634         -
        fn from(
  635         -
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  636         -
        ) -> Self {
         714  +
        fn from(v: ::std::vec::Vec<crate::model::LengthBlob>) -> Self {
  637    715   
            Self(v)
  638    716   
        }
  639    717   
    }
  640    718   
  641         -
    impl ::std::convert::From<MapOfRangeShortConstrained>
  642         -
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>
         719  +
    impl ::std::convert::From<ListOfLengthBlobConstrained>
         720  +
        for ::std::vec::Vec<crate::model::LengthBlob>
  643    721   
    {
  644         -
        fn from(v: MapOfRangeShortConstrained) -> Self {
         722  +
        fn from(v: ListOfLengthBlobConstrained) -> Self {
  645    723   
            v.0
  646    724   
        }
  647    725   
    }
  648    726   
}
  649         -
pub(crate) mod list_of_range_short_constrained {
         727  +
pub(crate) mod map_of_length_blob_constrained {
  650    728   
  651    729   
    #[derive(Debug, Clone)]
  652         -
    pub(crate) struct ListOfRangeShortConstrained(
  653         -
        pub(crate) std::vec::Vec<crate::model::RangeShort>,
         730  +
    pub(crate) struct MapOfLengthBlobConstrained(
         731  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
  654    732   
    );
  655    733   
  656         -
    impl crate::constrained::Constrained for ListOfRangeShortConstrained {
         734  +
    impl crate::constrained::Constrained for MapOfLengthBlobConstrained {
  657    735   
        type Unconstrained =
  658         -
            crate::unconstrained::list_of_range_short_unconstrained::ListOfRangeShortUnconstrained;
         736  +
            crate::unconstrained::map_of_length_blob_unconstrained::MapOfLengthBlobUnconstrained;
  659    737   
    }
  660         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeShort>>
  661         -
        for ListOfRangeShortConstrained
         738  +
    impl
         739  +
        ::std::convert::From<
         740  +
            ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
         741  +
        > for MapOfLengthBlobConstrained
  662    742   
    {
  663         -
        fn from(v: ::std::vec::Vec<crate::model::RangeShort>) -> Self {
         743  +
        fn from(
         744  +
            v: ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
         745  +
        ) -> Self {
  664    746   
            Self(v)
  665    747   
        }
  666    748   
    }
  667    749   
  668         -
    impl ::std::convert::From<ListOfRangeShortConstrained>
  669         -
        for ::std::vec::Vec<crate::model::RangeShort>
         750  +
    impl ::std::convert::From<MapOfLengthBlobConstrained>
         751  +
        for ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>
  670    752   
    {
  671         -
        fn from(v: ListOfRangeShortConstrained) -> Self {
         753  +
        fn from(v: MapOfLengthBlobConstrained) -> Self {
  672    754   
            v.0
  673    755   
        }
  674    756   
    }
  675    757   
}
  676    758   
pub(crate) mod map_of_range_integer_constrained {
  677    759   
  678    760   
    #[derive(Debug, Clone)]
  679    761   
    pub(crate) struct MapOfRangeIntegerConstrained(
  680    762   
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  681    763   
    );
  682    764   
  683    765   
    impl crate::constrained::Constrained for MapOfRangeIntegerConstrained {
  684    766   
        type Unconstrained = crate::unconstrained::map_of_range_integer_unconstrained::MapOfRangeIntegerUnconstrained;
  685    767   
    }
  686    768   
    impl
  687    769   
        ::std::convert::From<
  688    770   
            ::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  689    771   
        > for MapOfRangeIntegerConstrained
  690    772   
    {
  691    773   
        fn from(
  692    774   
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
  693    775   
        ) -> Self {
  694    776   
            Self(v)
  695    777   
        }
  696    778   
    }
  697    779   
  698    780   
    impl ::std::convert::From<MapOfRangeIntegerConstrained>
  699    781   
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>
  700    782   
    {
  701    783   
        fn from(v: MapOfRangeIntegerConstrained) -> Self {
  702    784   
            v.0
  703    785   
        }
  704    786   
    }
  705    787   
}
  706         -
pub(crate) mod list_of_range_integer_constrained {
         788  +
pub(crate) mod map_of_range_short_constrained {
  707    789   
  708    790   
    #[derive(Debug, Clone)]
  709         -
    pub(crate) struct ListOfRangeIntegerConstrained(
  710         -
        pub(crate) std::vec::Vec<crate::model::RangeInteger>,
         791  +
    pub(crate) struct MapOfRangeShortConstrained(
         792  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
  711    793   
    );
  712    794   
  713         -
    impl crate::constrained::Constrained for ListOfRangeIntegerConstrained {
  714         -
        type Unconstrained = crate::unconstrained::list_of_range_integer_unconstrained::ListOfRangeIntegerUnconstrained;
         795  +
    impl crate::constrained::Constrained for MapOfRangeShortConstrained {
         796  +
        type Unconstrained =
         797  +
            crate::unconstrained::map_of_range_short_unconstrained::MapOfRangeShortUnconstrained;
  715    798   
    }
  716         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::RangeInteger>>
  717         -
        for ListOfRangeIntegerConstrained
         799  +
    impl
         800  +
        ::std::convert::From<
         801  +
            ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
         802  +
        > for MapOfRangeShortConstrained
  718    803   
    {
  719         -
        fn from(v: ::std::vec::Vec<crate::model::RangeInteger>) -> Self {
         804  +
        fn from(
         805  +
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
         806  +
        ) -> Self {
  720    807   
            Self(v)
  721    808   
        }
  722    809   
    }
  723    810   
  724         -
    impl ::std::convert::From<ListOfRangeIntegerConstrained>
  725         -
        for ::std::vec::Vec<crate::model::RangeInteger>
         811  +
    impl ::std::convert::From<MapOfRangeShortConstrained>
         812  +
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>
  726    813   
    {
  727         -
        fn from(v: ListOfRangeIntegerConstrained) -> Self {
         814  +
        fn from(v: MapOfRangeShortConstrained) -> Self {
  728    815   
            v.0
  729    816   
        }
  730    817   
    }
  731    818   
}
  732         -
pub(crate) mod map_of_length_blob_constrained {
         819  +
pub(crate) mod map_of_range_long_constrained {
  733    820   
  734    821   
    #[derive(Debug, Clone)]
  735         -
    pub(crate) struct MapOfLengthBlobConstrained(
  736         -
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
         822  +
    pub(crate) struct MapOfRangeLongConstrained(
         823  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
  737    824   
    );
  738    825   
  739         -
    impl crate::constrained::Constrained for MapOfLengthBlobConstrained {
         826  +
    impl crate::constrained::Constrained for MapOfRangeLongConstrained {
  740    827   
        type Unconstrained =
  741         -
            crate::unconstrained::map_of_length_blob_unconstrained::MapOfLengthBlobUnconstrained;
         828  +
            crate::unconstrained::map_of_range_long_unconstrained::MapOfRangeLongUnconstrained;
  742    829   
    }
  743    830   
    impl
  744    831   
        ::std::convert::From<
  745         -
            ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
  746         -
        > for MapOfLengthBlobConstrained
         832  +
            ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
         833  +
        > for MapOfRangeLongConstrained
  747    834   
    {
  748    835   
        fn from(
  749         -
            v: ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>,
         836  +
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
  750    837   
        ) -> Self {
  751    838   
            Self(v)
  752    839   
        }
  753    840   
    }
  754    841   
  755         -
    impl ::std::convert::From<MapOfLengthBlobConstrained>
  756         -
        for ::std::collections::HashMap<::std::string::String, crate::model::LengthBlob>
         842  +
    impl ::std::convert::From<MapOfRangeLongConstrained>
         843  +
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>
  757    844   
    {
  758         -
        fn from(v: MapOfLengthBlobConstrained) -> Self {
         845  +
        fn from(v: MapOfRangeLongConstrained) -> Self {
  759    846   
            v.0
  760    847   
        }
  761    848   
    }
  762    849   
}
  763         -
pub(crate) mod list_of_length_blob_constrained {
         850  +
pub(crate) mod map_of_range_byte_constrained {
  764    851   
  765    852   
    #[derive(Debug, Clone)]
  766         -
    pub(crate) struct ListOfLengthBlobConstrained(
  767         -
        pub(crate) std::vec::Vec<crate::model::LengthBlob>,
         853  +
    pub(crate) struct MapOfRangeByteConstrained(
         854  +
        pub(crate) std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
  768    855   
    );
  769    856   
  770         -
    impl crate::constrained::Constrained for ListOfLengthBlobConstrained {
         857  +
    impl crate::constrained::Constrained for MapOfRangeByteConstrained {
  771    858   
        type Unconstrained =
  772         -
            crate::unconstrained::list_of_length_blob_unconstrained::ListOfLengthBlobUnconstrained;
         859  +
            crate::unconstrained::map_of_range_byte_unconstrained::MapOfRangeByteUnconstrained;
  773    860   
    }
  774         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::LengthBlob>>
  775         -
        for ListOfLengthBlobConstrained
         861  +
    impl
         862  +
        ::std::convert::From<
         863  +
            ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
         864  +
        > for MapOfRangeByteConstrained
  776    865   
    {
  777         -
        fn from(v: ::std::vec::Vec<crate::model::LengthBlob>) -> Self {
         866  +
        fn from(
         867  +
            v: ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
         868  +
        ) -> Self {
  778    869   
            Self(v)
  779    870   
        }
  780    871   
    }
  781    872   
  782         -
    impl ::std::convert::From<ListOfLengthBlobConstrained>
  783         -
        for ::std::vec::Vec<crate::model::LengthBlob>
         873  +
    impl ::std::convert::From<MapOfRangeByteConstrained>
         874  +
        for ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>
  784    875   
    {
  785         -
        fn from(v: ListOfLengthBlobConstrained) -> Self {
         876  +
        fn from(v: MapOfRangeByteConstrained) -> Self {
  786    877   
            v.0
  787    878   
        }
  788    879   
    }
  789    880   
}
  790         -
pub(crate) mod con_b_list_constrained {
         881  +
pub(crate) mod list_of_pattern_string_constrained {
  791    882   
  792    883   
    #[derive(Debug, Clone)]
  793         -
    pub(crate) struct ConBListConstrained(
  794         -
        pub(crate)  std::vec::Vec<
  795         -
            crate::constrained::con_b_list_inner_constrained::ConBListInnerConstrained,
  796         -
        >,
         884  +
    pub(crate) struct ListOfPatternStringConstrained(
         885  +
        pub(crate) std::vec::Vec<crate::model::PatternString>,
  797    886   
    );
  798    887   
  799         -
    impl crate::constrained::Constrained for ConBListConstrained {
  800         -
        type Unconstrained = crate::unconstrained::con_b_list_unconstrained::ConBListUnconstrained;
  801         -
    }
  802         -
    impl ::std::convert::From<::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>>
  803         -
        for ConBListConstrained
  804         -
    {
  805         -
        fn from(v: ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>) -> Self {
  806         -
            Self(v.into_iter().map(|item| item.into()).collect())
  807         -
        }
         888  +
    impl crate::constrained::Constrained for ListOfPatternStringConstrained {
         889  +
        type Unconstrained = crate::unconstrained::list_of_pattern_string_unconstrained::ListOfPatternStringUnconstrained;
  808    890   
    }
  809         -
  810         -
    impl ::std::convert::From<ConBListConstrained>
  811         -
        for ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>
         891  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::PatternString>>
         892  +
        for ListOfPatternStringConstrained
  812    893   
    {
  813         -
        fn from(v: ConBListConstrained) -> Self {
  814         -
            v.0.into_iter().map(|item| item.into()).collect()
  815         -
        }
  816         -
    }
  817         -
}
  818         -
pub(crate) mod con_b_list_inner_constrained {
  819         -
  820         -
    #[derive(Debug, Clone)]
  821         -
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
  822         -
  823         -
    impl crate::constrained::Constrained for ConBListInnerConstrained {
  824         -
        type Unconstrained =
  825         -
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
  826         -
    }
  827         -
    impl ::std::convert::From<::std::vec::Vec<crate::model::ConB>> for ConBListInnerConstrained {
  828         -
        fn from(v: ::std::vec::Vec<crate::model::ConB>) -> Self {
         894  +
        fn from(v: ::std::vec::Vec<crate::model::PatternString>) -> Self {
  829    895   
            Self(v)
  830    896   
        }
  831    897   
    }
  832    898   
  833         -
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
  834         -
        fn from(v: ConBListInnerConstrained) -> Self {
         899  +
    impl ::std::convert::From<ListOfPatternStringConstrained>
         900  +
        for ::std::vec::Vec<crate::model::PatternString>
         901  +
    {
         902  +
        fn from(v: ListOfPatternStringConstrained) -> Self {
  835    903   
            v.0
  836    904   
        }
  837    905   
    }
  838    906   
}
  839         -
pub(crate) mod sparse_list_constrained {
         907  +
pub(crate) mod list_of_length_pattern_string_constrained {
  840    908   
  841    909   
    #[derive(Debug, Clone)]
  842         -
    pub(crate) struct SparseListConstrained(
  843         -
        pub(crate) std::vec::Vec<::std::option::Option<crate::model::LengthString>>,
         910  +
    pub(crate) struct ListOfLengthPatternStringConstrained(
         911  +
        pub(crate) std::vec::Vec<crate::model::LengthPatternString>,
  844    912   
    );
  845    913   
  846         -
    impl crate::constrained::Constrained for SparseListConstrained {
  847         -
        type Unconstrained =
  848         -
            crate::unconstrained::sparse_list_unconstrained::SparseListUnconstrained;
         914  +
    impl crate::constrained::Constrained for ListOfLengthPatternStringConstrained {
         915  +
        type Unconstrained = crate::unconstrained::list_of_length_pattern_string_unconstrained::ListOfLengthPatternStringUnconstrained;
  849    916   
    }
  850         -
    impl ::std::convert::From<::std::vec::Vec<::std::option::Option<crate::model::LengthString>>>
  851         -
        for SparseListConstrained
         917  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::LengthPatternString>>
         918  +
        for ListOfLengthPatternStringConstrained
  852    919   
    {
  853         -
        fn from(v: ::std::vec::Vec<::std::option::Option<crate::model::LengthString>>) -> Self {
         920  +
        fn from(v: ::std::vec::Vec<crate::model::LengthPatternString>) -> Self {
  854    921   
            Self(v)
  855    922   
        }
  856    923   
    }
  857    924   
  858         -
    impl ::std::convert::From<SparseListConstrained>
  859         -
        for ::std::vec::Vec<::std::option::Option<crate::model::LengthString>>
         925  +
    impl ::std::convert::From<ListOfLengthPatternStringConstrained>
         926  +
        for ::std::vec::Vec<crate::model::LengthPatternString>
  860    927   
    {
  861         -
        fn from(v: SparseListConstrained) -> Self {
         928  +
        fn from(v: ListOfLengthPatternStringConstrained) -> Self {
  862    929   
            v.0
  863    930   
        }
  864    931   
    }
  865    932   
}
  866         -
pub(crate) mod sparse_map_constrained {
         933  +
pub(crate) mod con_b_list_inner_constrained {
  867    934   
  868    935   
    #[derive(Debug, Clone)]
  869         -
    pub(crate) struct SparseMapConstrained(
  870         -
        pub(crate)  std::collections::HashMap<
  871         -
            ::std::string::String,
  872         -
            ::std::option::Option<crate::model::UniqueItemsList>,
  873         -
        >,
  874         -
    );
         936  +
    pub(crate) struct ConBListInnerConstrained(pub(crate) std::vec::Vec<crate::model::ConB>);
  875    937   
  876         -
    impl crate::constrained::Constrained for SparseMapConstrained {
  877         -
        type Unconstrained = crate::unconstrained::sparse_map_unconstrained::SparseMapUnconstrained;
         938  +
    impl crate::constrained::Constrained for ConBListInnerConstrained {
         939  +
        type Unconstrained =
         940  +
            crate::unconstrained::con_b_list_inner_unconstrained::ConBListInnerUnconstrained;
  878    941   
    }
  879         -
    impl
  880         -
        ::std::convert::From<
  881         -
            ::std::collections::HashMap<
  882         -
                ::std::string::String,
  883         -
                ::std::option::Option<crate::model::UniqueItemsList>,
  884         -
            >,
  885         -
        > for SparseMapConstrained
  886         -
    {
  887         -
        fn from(
  888         -
            v: ::std::collections::HashMap<
  889         -
                ::std::string::String,
  890         -
                ::std::option::Option<crate::model::UniqueItemsList>,
  891         -
            >,
  892         -
        ) -> Self {
         942  +
    impl ::std::convert::From<::std::vec::Vec<crate::model::ConB>> for ConBListInnerConstrained {
         943  +
        fn from(v: ::std::vec::Vec<crate::model::ConB>) -> Self {
  893    944   
            Self(v)
  894    945   
        }
  895    946   
    }
  896    947   
  897         -
    impl ::std::convert::From<SparseMapConstrained>
  898         -
        for ::std::collections::HashMap<
  899         -
            ::std::string::String,
  900         -
            ::std::option::Option<crate::model::UniqueItemsList>,
  901         -
        >
  902         -
    {
  903         -
        fn from(v: SparseMapConstrained) -> Self {
         948  +
    impl ::std::convert::From<ConBListInnerConstrained> for ::std::vec::Vec<crate::model::ConB> {
         949  +
        fn from(v: ConBListInnerConstrained) -> Self {
  904    950   
            v.0
  905    951   
        }
  906    952   
    }
  907    953   
}
  908         -
pub(crate) mod map_of_map_of_list_of_list_of_con_b_constrained {
  909         -
  910         -
    #[derive(Debug, Clone)]
  911         -
    pub(crate) struct MapOfMapOfListOfListOfConBConstrained(pub(crate) std::collections::HashMap<::std::string::String, crate::constrained::map_of_list_of_list_of_con_b_constrained::MapOfListOfListOfConBConstrained>);
  912         -
  913         -
    impl crate::constrained::Constrained for MapOfMapOfListOfListOfConBConstrained {
  914         -
        type Unconstrained = crate::unconstrained::map_of_map_of_list_of_list_of_con_b_unconstrained::MapOfMapOfListOfListOfConBUnconstrained;
  915         -
    }
  916         -
    impl
  917         -
        ::std::convert::From<
  918         -
            ::std::collections::HashMap<
  919         -
                ::std::string::String,
  920         -
                ::std::collections::HashMap<
  921         -
                    ::std::string::String,
  922         -
                    ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  923         -
                >,
  924         -
            >,
  925         -
        > for MapOfMapOfListOfListOfConBConstrained
  926         -
    {
  927         -
        fn from(
  928         -
            v: ::std::collections::HashMap<
  929         -
                ::std::string::String,
  930         -
                ::std::collections::HashMap<
  931         -
                    ::std::string::String,
  932         -
                    ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  933         -
                >,
  934         -
            >,
  935         -
        ) -> Self {
  936         -
            Self(v.into_iter().map(|(k, v)| (k, v.into())).collect())
  937         -
        }
  938         -
    }
  939         -
  940         -
    impl ::std::convert::From<MapOfMapOfListOfListOfConBConstrained>
  941         -
        for ::std::collections::HashMap<
  942         -
            ::std::string::String,
  943         -
            ::std::collections::HashMap<
  944         -
                ::std::string::String,
  945         -
                ::std::vec::Vec<::std::vec::Vec<crate::model::ConB>>,
  946         -
            >,
  947         -
        >
  948         -
    {
  949         -
        fn from(v: MapOfMapOfListOfListOfConBConstrained) -> Self {
  950         -
            v.0.into_iter().map(|(k, v)| (k, v.into())).collect()
  951         -
        }
  952         -
    }
  953         -
}
  954    954   
pub(crate) mod map_of_list_of_list_of_con_b_constrained {
  955    955   
  956    956   
    #[derive(Debug, Clone)]
  957    957   
    pub(crate) struct MapOfListOfListOfConBConstrained(
  958    958   
        pub(crate)  std::collections::HashMap<
  959    959   
            ::std::string::String,
  960    960   
            crate::constrained::con_b_list_constrained::ConBListConstrained,
  961    961   
        >,
  962    962   
    );
  963    963   

tmp-codegen-diff/codegen-server-test/constraints-http0x/rust-server-codegen/src/error.rs

@@ -1,1 +1072,1031 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
/// Error type for the `EventStreamsOperation` operation.
    3         -
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
           2  +
/// Error type for the `ConstrainedShapesOperation` operation.
           3  +
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
    4      4   
#[derive(::std::fmt::Debug)]
    5         -
pub enum EventStreamsOperationError {
           5  +
pub enum ConstrainedShapesOperationError {
    6      6   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
    7      7   
    ValidationException(crate::error::ValidationException),
    8         -
    #[allow(missing_docs)] // documentation missing in model
    9         -
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
   10      8   
}
   11         -
impl ::std::fmt::Display for EventStreamsOperationError {
           9  +
impl ::std::fmt::Display for ConstrainedShapesOperationError {
   12     10   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
   13     11   
        match &self {
   14         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
   15         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
          12  +
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
   16     13   
        }
   17     14   
    }
   18     15   
}
   19         -
impl EventStreamsOperationError {
   20         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
          16  +
impl ConstrainedShapesOperationError {
          17  +
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
   21     18   
    pub fn is_validation_exception(&self) -> bool {
   22         -
        matches!(&self, EventStreamsOperationError::ValidationException(_))
   23         -
    }
   24         -
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
   25         -
    pub fn is_event_stream_error_message(&self) -> bool {
   26     19   
        matches!(
   27     20   
            &self,
   28         -
            EventStreamsOperationError::EventStreamErrorMessage(_)
          21  +
            ConstrainedShapesOperationError::ValidationException(_)
   29     22   
        )
   30     23   
    }
   31     24   
    /// Returns the error name string by matching the correct variant.
   32     25   
    pub fn name(&self) -> &'static str {
   33     26   
        match &self {
   34         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
   35         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
          27  +
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
   36     28   
        }
   37     29   
    }
   38     30   
}
   39         -
impl ::std::error::Error for EventStreamsOperationError {
          31  +
impl ::std::error::Error for ConstrainedShapesOperationError {
   40     32   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
   41     33   
        match &self {
   42         -
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
   43         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
          34  +
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
   44     35   
        }
   45     36   
    }
   46     37   
}
   47     38   
impl ::std::convert::From<crate::error::ValidationException>
   48         -
    for crate::error::EventStreamsOperationError
          39  +
    for crate::error::ConstrainedShapesOperationError
   49     40   
{
   50     41   
    fn from(
   51     42   
        variant: crate::error::ValidationException,
   52         -
    ) -> crate::error::EventStreamsOperationError {
          43  +
    ) -> crate::error::ConstrainedShapesOperationError {
   53     44   
        Self::ValidationException(variant)
   54     45   
    }
   55     46   
}
   56         -
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
   57         -
    for crate::error::EventStreamsOperationError
   58         -
{
   59         -
    fn from(
   60         -
        variant: crate::error::EventStreamErrorMessage,
   61         -
    ) -> crate::error::EventStreamsOperationError {
   62         -
        Self::EventStreamErrorMessage(variant)
   63         -
    }
   64         -
}
   65         -
   66         -
#[allow(missing_docs)] // documentation missing in model
   67         -
#[derive(
   68         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   69         -
)]
   70         -
pub struct EventStreamErrorMessage {
   71         -
    #[allow(missing_docs)] // documentation missing in model
   72         -
    pub message_content: ::std::option::Option<::std::string::String>,
   73         -
}
   74         -
impl EventStreamErrorMessage {
   75         -
    #[allow(missing_docs)] // documentation missing in model
   76         -
    pub fn message_content(&self) -> ::std::option::Option<&str> {
   77         -
        self.message_content.as_deref()
   78         -
    }
   79         -
}
   80         -
impl EventStreamErrorMessage {
   81         -
    #[doc(hidden)]
   82         -
    /// Returns the error name.
   83         -
    pub fn name(&self) -> &'static str {
   84         -
        "EventStreamErrorMessage"
   85         -
    }
   86         -
}
   87         -
impl ::std::fmt::Display for EventStreamErrorMessage {
   88         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
   89         -
        ::std::write!(f, "EventStreamErrorMessage")?;
   90         -
        Ok(())
   91         -
    }
   92         -
}
   93         -
impl ::std::error::Error for EventStreamErrorMessage {}
   94         -
impl EventStreamErrorMessage {
   95         -
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
   96         -
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
   97         -
        crate::error::event_stream_error_message::Builder::default()
   98         -
    }
   99         -
}
  100         -
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
  101         -
    type Unconstrained = crate::error::event_stream_error_message::Builder;
  102         -
}
  103         -
  104         -
/// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  105         -
#[derive(
  106         -
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  107         -
)]
  108         -
pub struct ValidationException {
  109         -
    /// A summary of the validation failure.
  110         -
    pub message: ::std::string::String,
  111         -
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
  112         -
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  113         -
}
  114         -
impl ValidationException {
  115         -
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
  116         -
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
  117         -
        self.field_list.as_deref()
  118         -
    }
  119         -
}
  120         -
impl ValidationException {
  121         -
    /// Returns the error message.
  122         -
    pub fn message(&self) -> &str {
  123         -
        &self.message
  124         -
    }
  125         -
    #[doc(hidden)]
  126         -
    /// Returns the error name.
  127         -
    pub fn name(&self) -> &'static str {
  128         -
        "ValidationException"
  129         -
    }
  130         -
}
  131         -
impl ::std::fmt::Display for ValidationException {
  132         -
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  133         -
        ::std::write!(f, "ValidationException")?;
  134         -
        {
  135         -
            ::std::write!(f, ": {}", &self.message)?;
  136         -
        }
  137         -
        Ok(())
  138         -
    }
  139         -
}
  140         -
impl ::std::error::Error for ValidationException {}
  141         -
impl ValidationException {
  142         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
  143         -
    pub fn builder() -> crate::error::validation_exception::Builder {
  144         -
        crate::error::validation_exception::Builder::default()
  145         -
    }
  146         -
}
  147     47   
  148         -
/// Error type for the `Event` operation.
  149         -
/// Each variant represents an error that can occur for the `Event` operation.
          48  +
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
          49  +
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
  150     50   
#[derive(::std::fmt::Debug)]
  151         -
pub enum EventError {
  152         -
    #[allow(missing_docs)] // documentation missing in model
  153         -
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
          51  +
pub enum ConstrainedHttpBoundShapesOperationError {
          52  +
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
          53  +
    ValidationException(crate::error::ValidationException),
  154     54   
}
  155         -
impl ::std::fmt::Display for EventError {
          55  +
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
  156     56   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  157     57   
        match &self {
  158         -
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
          58  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
  159     59   
        }
  160     60   
    }
  161     61   
}
  162         -
impl EventError {
  163         -
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
  164         -
    pub fn is_event_stream_error_message(&self) -> bool {
  165         -
        matches!(&self, EventError::EventStreamErrorMessage(_))
          62  +
impl ConstrainedHttpBoundShapesOperationError {
          63  +
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
          64  +
    pub fn is_validation_exception(&self) -> bool {
          65  +
        matches!(
          66  +
            &self,
          67  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
          68  +
        )
  166     69   
    }
  167     70   
    /// Returns the error name string by matching the correct variant.
  168     71   
    pub fn name(&self) -> &'static str {
  169     72   
        match &self {
  170         -
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
          73  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
  171     74   
        }
  172     75   
    }
  173     76   
}
  174         -
impl ::std::error::Error for EventError {
          77  +
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
  175     78   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  176     79   
        match &self {
  177         -
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
          80  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
  178     81   
        }
  179     82   
    }
  180     83   
}
  181         -
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
  182         -
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
  183         -
        Self::EventStreamErrorMessage(variant)
          84  +
impl ::std::convert::From<crate::error::ValidationException>
          85  +
    for crate::error::ConstrainedHttpBoundShapesOperationError
          86  +
{
          87  +
    fn from(
          88  +
        variant: crate::error::ValidationException,
          89  +
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
          90  +
        Self::ValidationException(variant)
  184     91   
    }
  185     92   
}
  186     93   
  187         -
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
  188         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
          94  +
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
          95  +
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
  189     96   
#[derive(::std::fmt::Debug)]
  190         -
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
          97  +
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
  191     98   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  192     99   
    ValidationException(crate::error::ValidationException),
  193    100   
}
  194         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
         101  +
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
  195    102   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  196    103   
        match &self {
  197         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         104  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  198    105   
                _inner.fmt(f)
  199    106   
            }
  200    107   
        }
  201    108   
    }
  202    109   
}
  203         -
impl QueryParamsTargetingMapOfEnumStringOperationError {
  204         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
         110  +
impl ConstrainedHttpPayloadBoundShapeOperationError {
         111  +
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
  205    112   
    pub fn is_validation_exception(&self) -> bool {
  206    113   
        matches!(
  207    114   
            &self,
  208         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
         115  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
  209    116   
        )
  210    117   
    }
  211    118   
    /// Returns the error name string by matching the correct variant.
  212    119   
    pub fn name(&self) -> &'static str {
  213    120   
        match &self {
  214         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         121  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  215    122   
                _inner.name()
  216    123   
            }
  217    124   
        }
  218    125   
    }
  219    126   
}
  220         -
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
         127  +
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
  221    128   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  222    129   
        match &self {
  223         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         130  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  224    131   
                Some(_inner)
  225    132   
            }
  226    133   
        }
  227    134   
    }
  228    135   
}
  229    136   
impl ::std::convert::From<crate::error::ValidationException>
  230         -
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
         137  +
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
  231    138   
{
  232    139   
    fn from(
  233    140   
        variant: crate::error::ValidationException,
  234         -
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         141  +
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
  235    142   
        Self::ValidationException(variant)
  236    143   
    }
  237    144   
}
  238    145   
  239         -
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
  240         -
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         146  +
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
         147  +
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
  241    148   
#[derive(::std::fmt::Debug)]
  242         -
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
         149  +
pub enum ConstrainedRecursiveShapesOperationError {
  243    150   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  244    151   
    ValidationException(crate::error::ValidationException),
  245    152   
}
  246         -
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
         153  +
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
  247    154   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  248    155   
        match &self {
  249         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  250         -
                _inner.fmt(f)
  251         -
            }
         156  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
  252    157   
        }
  253    158   
    }
  254    159   
}
  255         -
impl HttpPrefixHeadersTargetingLengthMapOperationError {
  256         -
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
         160  +
impl ConstrainedRecursiveShapesOperationError {
         161  +
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
  257    162   
    pub fn is_validation_exception(&self) -> bool {
  258    163   
        matches!(
  259    164   
            &self,
  260         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
         165  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
  261    166   
        )
  262    167   
    }
  263    168   
    /// Returns the error name string by matching the correct variant.
  264    169   
    pub fn name(&self) -> &'static str {
  265    170   
        match &self {
  266         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  267         -
                _inner.name()
  268         -
            }
         171  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
  269    172   
        }
  270    173   
    }
  271    174   
}
  272         -
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
         175  +
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
  273    176   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  274    177   
        match &self {
  275         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  276         -
                Some(_inner)
  277         -
            }
         178  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
  278    179   
        }
  279    180   
    }
  280    181   
}
  281    182   
impl ::std::convert::From<crate::error::ValidationException>
  282         -
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
         183  +
    for crate::error::ConstrainedRecursiveShapesOperationError
  283    184   
{
  284    185   
    fn from(
  285    186   
        variant: crate::error::ValidationException,
  286         -
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         187  +
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
  287    188   
        Self::ValidationException(variant)
  288    189   
    }
  289    190   
}
  290    191   
  291         -
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
  292         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         192  +
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
         193  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
  293    194   
#[derive(::std::fmt::Debug)]
  294         -
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         195  +
pub enum QueryParamsTargetingLengthMapOperationError {
  295    196   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  296    197   
    ValidationException(crate::error::ValidationException),
  297    198   
}
  298         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         199  +
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
  299    200   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  300    201   
        match &self {
  301         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  302         -
            _inner.fmt(f)
  303         -
            ,
         202  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         203  +
                _inner.fmt(f)
         204  +
            }
  304    205   
        }
  305    206   
    }
  306    207   
}
  307         -
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  308         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
         208  +
impl QueryParamsTargetingLengthMapOperationError {
         209  +
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
  309    210   
    pub fn is_validation_exception(&self) -> bool {
  310    211   
        matches!(
  311    212   
            &self,
  312         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
  313         -
                _
  314         -
            )
         213  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
  315    214   
        )
  316    215   
    }
  317    216   
    /// Returns the error name string by matching the correct variant.
  318    217   
    pub fn name(&self) -> &'static str {
  319    218   
        match &self {
  320         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  321         -
            _inner.name()
  322         -
            ,
         219  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         220  +
                _inner.name()
         221  +
            }
  323    222   
        }
  324    223   
    }
  325    224   
}
  326         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         225  +
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
  327    226   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  328    227   
        match &self {
  329         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  330         -
            Some(_inner)
  331         -
            ,
         228  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         229  +
                Some(_inner)
         230  +
            }
  332    231   
        }
  333    232   
    }
  334    233   
}
  335    234   
impl ::std::convert::From<crate::error::ValidationException>
  336         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         235  +
    for crate::error::QueryParamsTargetingLengthMapOperationError
  337    236   
{
  338    237   
    fn from(
  339    238   
        variant: crate::error::ValidationException,
  340         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         239  +
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
  341    240   
        Self::ValidationException(variant)
  342    241   
    }
  343    242   
}
  344    243   
  345         -
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
  346         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         244  +
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
         245  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
  347    246   
#[derive(::std::fmt::Debug)]
  348         -
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
         247  +
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
  349    248   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  350    249   
    ValidationException(crate::error::ValidationException),
  351    250   
}
  352         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         251  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
  353    252   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  354    253   
        match &self {
  355         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
         254  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
         255  +
                _inner.fmt(f)
         256  +
            }
         257  +
        }
         258  +
    }
         259  +
}
         260  +
impl QueryParamsTargetingMapOfLengthStringOperationError {
         261  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
         262  +
    pub fn is_validation_exception(&self) -> bool {
         263  +
        matches!(
         264  +
            &self,
         265  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
         266  +
        )
         267  +
    }
         268  +
    /// Returns the error name string by matching the correct variant.
         269  +
    pub fn name(&self) -> &'static str {
         270  +
        match &self {
         271  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
         272  +
                _inner.name()
         273  +
            }
         274  +
        }
         275  +
    }
         276  +
}
         277  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
         278  +
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         279  +
        match &self {
         280  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
         281  +
                Some(_inner)
         282  +
            }
         283  +
        }
         284  +
    }
         285  +
}
         286  +
impl ::std::convert::From<crate::error::ValidationException>
         287  +
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
         288  +
{
         289  +
    fn from(
         290  +
        variant: crate::error::ValidationException,
         291  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
         292  +
        Self::ValidationException(variant)
         293  +
    }
         294  +
}
         295  +
         296  +
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         297  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         298  +
#[derive(::std::fmt::Debug)]
         299  +
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
         300  +
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         301  +
    ValidationException(crate::error::ValidationException),
         302  +
}
         303  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
         304  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         305  +
        match &self {
         306  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  356    307   
                _inner,
  357    308   
            ) => _inner.fmt(f),
  358    309   
        }
  359    310   
    }
  360    311   
}
  361         -
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
  362         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
         312  +
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
         313  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
  363    314   
    pub fn is_validation_exception(&self) -> bool {
  364    315   
        matches!(
  365    316   
            &self,
  366         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
         317  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
  367    318   
        )
  368    319   
    }
  369    320   
    /// Returns the error name string by matching the correct variant.
  370    321   
    pub fn name(&self) -> &'static str {
  371    322   
        match &self {
  372         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
         323  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  373    324   
                _inner,
  374    325   
            ) => _inner.name(),
  375    326   
        }
  376    327   
    }
  377    328   
}
  378         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         329  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
  379    330   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  380    331   
        match &self {
  381         -
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
         332  +
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  382    333   
                _inner,
  383    334   
            ) => Some(_inner),
  384    335   
        }
  385    336   
    }
  386    337   
}
  387    338   
impl ::std::convert::From<crate::error::ValidationException>
  388         -
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
         339  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  389    340   
{
  390    341   
    fn from(
  391    342   
        variant: crate::error::ValidationException,
  392         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         343  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
  393    344   
        Self::ValidationException(variant)
  394    345   
    }
  395    346   
}
  396    347   
  397         -
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
  398         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         348  +
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
         349  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
  399    350   
#[derive(::std::fmt::Debug)]
  400         -
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
         351  +
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  401    352   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  402    353   
    ValidationException(crate::error::ValidationException),
  403    354   
}
  404         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         355  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  405    356   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  406    357   
        match &self {
  407         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         358  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  408    359   
                _inner,
  409    360   
            ) => _inner.fmt(f),
  410    361   
        }
  411    362   
    }
  412    363   
}
  413         -
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
  414         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
         364  +
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         365  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
  415    366   
    pub fn is_validation_exception(&self) -> bool {
  416    367   
        matches!(
  417    368   
            &self,
  418         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
         369  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
  419    370   
        )
  420    371   
    }
  421    372   
    /// Returns the error name string by matching the correct variant.
  422    373   
    pub fn name(&self) -> &'static str {
  423    374   
        match &self {
  424         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         375  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  425    376   
                _inner,
  426    377   
            ) => _inner.name(),
  427    378   
        }
  428    379   
    }
  429    380   
}
  430         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         381  +
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  431    382   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  432    383   
        match &self {
  433         -
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
         384  +
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  434    385   
                _inner,
  435    386   
            ) => Some(_inner),
  436    387   
        }
  437    388   
    }
  438    389   
}
  439    390   
impl ::std::convert::From<crate::error::ValidationException>
  440         -
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
         391  +
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  441    392   
{
  442    393   
    fn from(
  443    394   
        variant: crate::error::ValidationException,
  444         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         395  +
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  445    396   
        Self::ValidationException(variant)
  446    397   
    }
  447    398   
}
  448    399   
  449         -
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
  450         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         400  +
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
         401  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
  451    402   
#[derive(::std::fmt::Debug)]
  452         -
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
         403  +
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  453    404   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  454    405   
    ValidationException(crate::error::ValidationException),
  455    406   
}
  456         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
         407  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  457    408   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  458    409   
        match &self {
  459         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
  460         -
                _inner.fmt(f)
  461         -
            }
         410  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         411  +
            _inner.fmt(f)
         412  +
            ,
  462    413   
        }
  463    414   
    }
  464    415   
}
  465         -
impl QueryParamsTargetingMapOfPatternStringOperationError {
  466         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
         416  +
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         417  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
  467    418   
    pub fn is_validation_exception(&self) -> bool {
  468    419   
        matches!(
  469    420   
            &self,
  470         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
         421  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
         422  +
                _
         423  +
            )
  471    424   
        )
  472    425   
    }
  473    426   
    /// Returns the error name string by matching the correct variant.
  474    427   
    pub fn name(&self) -> &'static str {
  475    428   
        match &self {
  476         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
  477         -
                _inner.name()
  478         -
            }
         429  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         430  +
            _inner.name()
         431  +
            ,
  479    432   
        }
  480    433   
    }
  481    434   
}
  482         -
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
         435  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  483    436   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  484    437   
        match &self {
  485         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
  486         -
                Some(_inner)
  487         -
            }
         438  +
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
         439  +
            Some(_inner)
         440  +
            ,
  488    441   
        }
  489    442   
    }
  490    443   
}
  491    444   
impl ::std::convert::From<crate::error::ValidationException>
  492         -
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
         445  +
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  493    446   
{
  494    447   
    fn from(
  495    448   
        variant: crate::error::ValidationException,
  496         -
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
         449  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  497    450   
        Self::ValidationException(variant)
  498    451   
    }
  499    452   
}
  500    453   
  501    454   
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
  502    455   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
  503    456   
#[derive(::std::fmt::Debug)]
  504    457   
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
  505    458   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  506    459   
    ValidationException(crate::error::ValidationException),
  507    460   
}
  508    461   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
  509    462   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  510    463   
        match &self {
  511    464   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  512    465   
                _inner,
  513    466   
            ) => _inner.fmt(f),
  514    467   
        }
  515    468   
    }
  516    469   
}
  517    470   
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
  518    471   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
  519    472   
    pub fn is_validation_exception(&self) -> bool {
  520    473   
        matches!(
  521    474   
            &self,
  522    475   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
  523    476   
        )
  524    477   
    }
  525    478   
    /// Returns the error name string by matching the correct variant.
  526    479   
    pub fn name(&self) -> &'static str {
  527    480   
        match &self {
  528    481   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  529    482   
                _inner,
  530    483   
            ) => _inner.name(),
  531    484   
        }
  532    485   
    }
  533    486   
}
  534    487   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
  535    488   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  536    489   
        match &self {
  537    490   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  538    491   
                _inner,
  539    492   
            ) => Some(_inner),
  540    493   
        }
  541    494   
    }
  542    495   
}
  543    496   
impl ::std::convert::From<crate::error::ValidationException>
  544    497   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  545    498   
{
  546    499   
    fn from(
  547    500   
        variant: crate::error::ValidationException,
  548    501   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
  549    502   
        Self::ValidationException(variant)
  550    503   
    }
  551    504   
}
  552    505   
  553         -
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
  554         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
         506  +
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         507  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
  555    508   
#[derive(::std::fmt::Debug)]
  556         -
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         509  +
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
  557    510   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  558    511   
    ValidationException(crate::error::ValidationException),
  559    512   
}
  560         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         513  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
  561    514   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  562    515   
        match &self {
  563         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  564         -
            _inner.fmt(f)
  565         -
            ,
         516  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         517  +
                _inner.fmt(f)
         518  +
            }
  566    519   
        }
  567    520   
    }
  568    521   
}
  569         -
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  570         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
         522  +
impl QueryParamsTargetingMapOfPatternStringOperationError {
         523  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
  571    524   
    pub fn is_validation_exception(&self) -> bool {
  572    525   
        matches!(
  573    526   
            &self,
  574         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
  575         -
                _
  576         -
            )
         527  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
  577    528   
        )
  578    529   
    }
  579    530   
    /// Returns the error name string by matching the correct variant.
  580    531   
    pub fn name(&self) -> &'static str {
  581    532   
        match &self {
  582         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  583         -
            _inner.name()
  584         -
            ,
         533  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         534  +
                _inner.name()
         535  +
            }
  585    536   
        }
  586    537   
    }
  587    538   
}
  588         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         539  +
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
  589    540   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  590    541   
        match &self {
  591         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  592         -
            Some(_inner)
  593         -
            ,
         542  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         543  +
                Some(_inner)
         544  +
            }
  594    545   
        }
  595    546   
    }
  596    547   
}
  597    548   
impl ::std::convert::From<crate::error::ValidationException>
  598         -
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
         549  +
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
  599    550   
{
  600    551   
    fn from(
  601    552   
        variant: crate::error::ValidationException,
  602         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
         553  +
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
  603    554   
        Self::ValidationException(variant)
  604    555   
    }
  605    556   
}
  606    557   
  607         -
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
  608         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
         558  +
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         559  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
  609    560   
#[derive(::std::fmt::Debug)]
  610         -
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         561  +
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
  611    562   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  612    563   
    ValidationException(crate::error::ValidationException),
  613    564   
}
  614         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         565  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
  615    566   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  616    567   
        match &self {
  617         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         568  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  618    569   
                _inner,
  619    570   
            ) => _inner.fmt(f),
  620    571   
        }
  621    572   
    }
  622    573   
}
  623         -
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  624         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
         574  +
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
         575  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
  625    576   
    pub fn is_validation_exception(&self) -> bool {
  626    577   
        matches!(
  627    578   
            &self,
  628         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
         579  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
  629    580   
        )
  630    581   
    }
  631    582   
    /// Returns the error name string by matching the correct variant.
  632    583   
    pub fn name(&self) -> &'static str {
  633    584   
        match &self {
  634         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         585  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  635    586   
                _inner,
  636    587   
            ) => _inner.name(),
  637    588   
        }
  638    589   
    }
  639    590   
}
  640         -
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         591  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
  641    592   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  642    593   
        match &self {
  643         -
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
         594  +
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  644    595   
                _inner,
  645    596   
            ) => Some(_inner),
  646    597   
        }
  647    598   
    }
  648    599   
}
  649    600   
impl ::std::convert::From<crate::error::ValidationException>
  650         -
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
         601  +
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  651    602   
{
  652    603   
    fn from(
  653    604   
        variant: crate::error::ValidationException,
  654         -
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
         605  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
  655    606   
        Self::ValidationException(variant)
  656    607   
    }
  657    608   
}
  658    609   
  659         -
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
  660         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
         610  +
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         611  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
  661    612   
#[derive(::std::fmt::Debug)]
  662         -
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
         613  +
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
  663    614   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  664    615   
    ValidationException(crate::error::ValidationException),
  665    616   
}
  666         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
         617  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
  667    618   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  668    619   
        match &self {
  669         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         620  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  670    621   
                _inner,
  671    622   
            ) => _inner.fmt(f),
  672    623   
        }
  673    624   
    }
  674    625   
}
  675         -
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
  676         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
         626  +
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
         627  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
  677    628   
    pub fn is_validation_exception(&self) -> bool {
  678    629   
        matches!(
  679    630   
            &self,
  680         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
         631  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
  681    632   
        )
  682    633   
    }
  683    634   
    /// Returns the error name string by matching the correct variant.
  684    635   
    pub fn name(&self) -> &'static str {
  685    636   
        match &self {
  686         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         637  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  687    638   
                _inner,
  688    639   
            ) => _inner.name(),
  689    640   
        }
  690    641   
    }
  691    642   
}
  692         -
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
         643  +
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
  693    644   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  694    645   
        match &self {
  695         -
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
         646  +
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  696    647   
                _inner,
  697    648   
            ) => Some(_inner),
  698    649   
        }
  699    650   
    }
  700    651   
}
  701    652   
impl ::std::convert::From<crate::error::ValidationException>
  702         -
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
         653  +
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  703    654   
{
  704    655   
    fn from(
  705    656   
        variant: crate::error::ValidationException,
  706         -
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
         657  +
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
  707    658   
        Self::ValidationException(variant)
  708    659   
    }
  709    660   
}
  710    661   
  711         -
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
  712         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
         662  +
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         663  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
  713    664   
#[derive(::std::fmt::Debug)]
  714         -
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
         665  +
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  715    666   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  716    667   
    ValidationException(crate::error::ValidationException),
  717    668   
}
  718         -
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
         669  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  719    670   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  720    671   
        match &self {
  721         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  722         -
                _inner.fmt(f)
  723         -
            }
         672  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         673  +
            _inner.fmt(f)
         674  +
            ,
  724    675   
        }
  725    676   
    }
  726    677   
}
  727         -
impl QueryParamsTargetingMapOfLengthStringOperationError {
  728         -
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
         678  +
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         679  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
  729    680   
    pub fn is_validation_exception(&self) -> bool {
  730    681   
        matches!(
  731    682   
            &self,
  732         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
         683  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
         684  +
                _
         685  +
            )
  733    686   
        )
  734    687   
    }
  735    688   
    /// Returns the error name string by matching the correct variant.
  736    689   
    pub fn name(&self) -> &'static str {
  737    690   
        match &self {
  738         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  739         -
                _inner.name()
  740         -
            }
         691  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         692  +
            _inner.name()
         693  +
            ,
  741    694   
        }
  742    695   
    }
  743    696   
}
  744         -
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
         697  +
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  745    698   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  746    699   
        match &self {
  747         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
  748         -
                Some(_inner)
  749         -
            }
         700  +
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         701  +
            Some(_inner)
         702  +
            ,
  750    703   
        }
  751    704   
    }
  752    705   
}
  753    706   
impl ::std::convert::From<crate::error::ValidationException>
  754         -
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
         707  +
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  755    708   
{
  756    709   
    fn from(
  757    710   
        variant: crate::error::ValidationException,
  758         -
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
         711  +
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  759    712   
        Self::ValidationException(variant)
  760    713   
    }
  761    714   
}
  762    715   
  763         -
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
  764         -
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
         716  +
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         717  +
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
  765    718   
#[derive(::std::fmt::Debug)]
  766         -
pub enum QueryParamsTargetingLengthMapOperationError {
         719  +
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
  767    720   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  768    721   
    ValidationException(crate::error::ValidationException),
  769    722   
}
  770         -
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
         723  +
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
  771    724   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  772    725   
        match &self {
  773         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         726  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  774    727   
                _inner.fmt(f)
  775    728   
            }
  776    729   
        }
  777    730   
    }
  778    731   
}
  779         -
impl QueryParamsTargetingLengthMapOperationError {
  780         -
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
         732  +
impl HttpPrefixHeadersTargetingLengthMapOperationError {
         733  +
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
  781    734   
    pub fn is_validation_exception(&self) -> bool {
  782    735   
        matches!(
  783    736   
            &self,
  784         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
         737  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
  785    738   
        )
  786    739   
    }
  787    740   
    /// Returns the error name string by matching the correct variant.
  788    741   
    pub fn name(&self) -> &'static str {
  789    742   
        match &self {
  790         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         743  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  791    744   
                _inner.name()
  792    745   
            }
  793    746   
        }
  794    747   
    }
  795    748   
}
  796         -
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
         749  +
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
  797    750   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  798    751   
        match &self {
  799         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
         752  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
  800    753   
                Some(_inner)
  801    754   
            }
  802    755   
        }
  803    756   
    }
  804    757   
}
  805    758   
impl ::std::convert::From<crate::error::ValidationException>
  806         -
    for crate::error::QueryParamsTargetingLengthMapOperationError
         759  +
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  807    760   
{
  808    761   
    fn from(
  809    762   
        variant: crate::error::ValidationException,
  810         -
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
         763  +
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
  811    764   
        Self::ValidationException(variant)
  812    765   
    }
  813    766   
}
  814    767   
  815         -
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
  816         -
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
         768  +
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         769  +
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
  817    770   
#[derive(::std::fmt::Debug)]
  818         -
pub enum ConstrainedRecursiveShapesOperationError {
         771  +
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
  819    772   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  820    773   
    ValidationException(crate::error::ValidationException),
  821    774   
}
  822         -
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
         775  +
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
  823    776   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  824    777   
        match &self {
  825         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         778  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         779  +
                _inner.fmt(f)
         780  +
            }
  826    781   
        }
  827    782   
    }
  828    783   
}
  829         -
impl ConstrainedRecursiveShapesOperationError {
  830         -
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
         784  +
impl QueryParamsTargetingMapOfEnumStringOperationError {
         785  +
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
  831    786   
    pub fn is_validation_exception(&self) -> bool {
  832    787   
        matches!(
  833    788   
            &self,
  834         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
         789  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
  835    790   
        )
  836    791   
    }
  837    792   
    /// Returns the error name string by matching the correct variant.
  838    793   
    pub fn name(&self) -> &'static str {
  839    794   
        match &self {
  840         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
         795  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         796  +
                _inner.name()
         797  +
            }
  841    798   
        }
  842    799   
    }
  843    800   
}
  844         -
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
         801  +
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
  845    802   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  846    803   
        match &self {
  847         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
         804  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         805  +
                Some(_inner)
         806  +
            }
  848    807   
        }
  849    808   
    }
  850    809   
}
  851    810   
impl ::std::convert::From<crate::error::ValidationException>
  852         -
    for crate::error::ConstrainedRecursiveShapesOperationError
         811  +
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  853    812   
{
  854    813   
    fn from(
  855    814   
        variant: crate::error::ValidationException,
  856         -
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
         815  +
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
  857    816   
        Self::ValidationException(variant)
  858    817   
    }
  859    818   
}
  860    819   
  861         -
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
  862         -
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
         820  +
/// Error type for the `EventStreamsOperation` operation.
         821  +
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
  863    822   
#[derive(::std::fmt::Debug)]
  864         -
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
         823  +
pub enum EventStreamsOperationError {
  865    824   
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  866    825   
    ValidationException(crate::error::ValidationException),
         826  +
    #[allow(missing_docs)] // documentation missing in model
         827  +
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
  867    828   
}
  868         -
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
         829  +
impl ::std::fmt::Display for EventStreamsOperationError {
  869    830   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  870    831   
        match &self {
  871         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  872         -
                _inner.fmt(f)
  873         -
            }
         832  +
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
         833  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
  874    834   
        }
  875    835   
    }
  876    836   
}
  877         -
impl ConstrainedHttpPayloadBoundShapeOperationError {
  878         -
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
         837  +
impl EventStreamsOperationError {
         838  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
  879    839   
    pub fn is_validation_exception(&self) -> bool {
         840  +
        matches!(&self, EventStreamsOperationError::ValidationException(_))
         841  +
    }
         842  +
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
         843  +
    pub fn is_event_stream_error_message(&self) -> bool {
  880    844   
        matches!(
  881    845   
            &self,
  882         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
         846  +
            EventStreamsOperationError::EventStreamErrorMessage(_)
  883    847   
        )
  884    848   
    }
  885    849   
    /// Returns the error name string by matching the correct variant.
  886    850   
    pub fn name(&self) -> &'static str {
  887    851   
        match &self {
  888         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  889         -
                _inner.name()
  890         -
            }
         852  +
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
         853  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
  891    854   
        }
  892    855   
    }
  893    856   
}
  894         -
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
         857  +
impl ::std::error::Error for EventStreamsOperationError {
  895    858   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  896    859   
        match &self {
  897         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
  898         -
                Some(_inner)
  899         -
            }
         860  +
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
         861  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
  900    862   
        }
  901    863   
    }
  902    864   
}
  903    865   
impl ::std::convert::From<crate::error::ValidationException>
  904         -
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
         866  +
    for crate::error::EventStreamsOperationError
  905    867   
{
  906    868   
    fn from(
  907    869   
        variant: crate::error::ValidationException,
  908         -
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
         870  +
    ) -> crate::error::EventStreamsOperationError {
  909    871   
        Self::ValidationException(variant)
  910    872   
    }
  911    873   
}
         874  +
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
         875  +
    for crate::error::EventStreamsOperationError
         876  +
{
         877  +
    fn from(
         878  +
        variant: crate::error::EventStreamErrorMessage,
         879  +
    ) -> crate::error::EventStreamsOperationError {
         880  +
        Self::EventStreamErrorMessage(variant)
         881  +
    }
         882  +
}
  912    883   
  913         -
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
  914         -
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
  915         -
#[derive(::std::fmt::Debug)]
  916         -
pub enum ConstrainedHttpBoundShapesOperationError {
  917         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  918         -
    ValidationException(crate::error::ValidationException),
         884  +
/// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
         885  +
#[derive(
         886  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
         887  +
)]
         888  +
pub struct ValidationException {
         889  +
    /// A summary of the validation failure.
         890  +
    pub message: ::std::string::String,
         891  +
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         892  +
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
  919    893   
}
  920         -
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
         894  +
impl ValidationException {
         895  +
    /// A list of specific failures encountered while validating the input. A member can appear in this list more than once if it failed to satisfy multiple constraints.
         896  +
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         897  +
        self.field_list.as_deref()
         898  +
    }
         899  +
}
         900  +
impl ValidationException {
         901  +
    /// Returns the error message.
         902  +
    pub fn message(&self) -> &str {
         903  +
        &self.message
         904  +
    }
         905  +
    #[doc(hidden)]
         906  +
    /// Returns the error name.
         907  +
    pub fn name(&self) -> &'static str {
         908  +
        "ValidationException"
         909  +
    }
         910  +
}
         911  +
impl ::std::fmt::Display for ValidationException {
  921    912   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  922         -
        match &self {
  923         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         913  +
        ::std::write!(f, "ValidationException")?;
         914  +
        {
         915  +
            ::std::write!(f, ": {}", &self.message)?;
  924    916   
        }
         917  +
        Ok(())
  925    918   
    }
  926    919   
}
  927         -
impl ConstrainedHttpBoundShapesOperationError {
  928         -
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
  929         -
    pub fn is_validation_exception(&self) -> bool {
  930         -
        matches!(
  931         -
            &self,
  932         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
  933         -
        )
         920  +
impl ::std::error::Error for ValidationException {}
         921  +
impl ValidationException {
         922  +
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         923  +
    pub fn builder() -> crate::error::validation_exception::Builder {
         924  +
        crate::error::validation_exception::Builder::default()
  934    925   
    }
  935         -
    /// Returns the error name string by matching the correct variant.
         926  +
}
         927  +
         928  +
#[allow(missing_docs)] // documentation missing in model
         929  +
#[derive(
         930  +
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
         931  +
)]
         932  +
pub struct EventStreamErrorMessage {
         933  +
    #[allow(missing_docs)] // documentation missing in model
         934  +
    pub message_content: ::std::option::Option<::std::string::String>,
         935  +
}
         936  +
impl EventStreamErrorMessage {
         937  +
    #[allow(missing_docs)] // documentation missing in model
         938  +
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         939  +
        self.message_content.as_deref()
         940  +
    }
         941  +
}
         942  +
impl EventStreamErrorMessage {
         943  +
    #[doc(hidden)]
         944  +
    /// Returns the error name.
  936    945   
    pub fn name(&self) -> &'static str {
  937         -
        match &self {
  938         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
  939         -
        }
         946  +
        "EventStreamErrorMessage"
  940    947   
    }
  941    948   
}
  942         -
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
  943         -
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  944         -
        match &self {
  945         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
  946         -
        }
         949  +
impl ::std::fmt::Display for EventStreamErrorMessage {
         950  +
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         951  +
        ::std::write!(f, "EventStreamErrorMessage")?;
         952  +
        Ok(())
  947    953   
    }
  948    954   
}
  949         -
impl ::std::convert::From<crate::error::ValidationException>
  950         -
    for crate::error::ConstrainedHttpBoundShapesOperationError
  951         -
{
  952         -
    fn from(
  953         -
        variant: crate::error::ValidationException,
  954         -
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
  955         -
        Self::ValidationException(variant)
         955  +
impl ::std::error::Error for EventStreamErrorMessage {}
         956  +
impl EventStreamErrorMessage {
         957  +
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         958  +
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
         959  +
        crate::error::event_stream_error_message::Builder::default()
  956    960   
    }
  957    961   
}
         962  +
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
         963  +
    type Unconstrained = crate::error::event_stream_error_message::Builder;
         964  +
}
  958    965   
  959         -
/// Error type for the `ConstrainedShapesOperation` operation.
  960         -
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
         966  +
/// Error type for the `Event` operation.
         967  +
/// Each variant represents an error that can occur for the `Event` operation.
  961    968   
#[derive(::std::fmt::Debug)]
  962         -
pub enum ConstrainedShapesOperationError {
  963         -
    /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
  964         -
    ValidationException(crate::error::ValidationException),
         969  +
pub enum EventError {
         970  +
    #[allow(missing_docs)] // documentation missing in model
         971  +
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
  965    972   
}
  966         -
impl ::std::fmt::Display for ConstrainedShapesOperationError {
         973  +
impl ::std::fmt::Display for EventError {
  967    974   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  968    975   
        match &self {
  969         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
         976  +
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
  970    977   
        }
  971    978   
    }
  972    979   
}
  973         -
impl ConstrainedShapesOperationError {
  974         -
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
  975         -
    pub fn is_validation_exception(&self) -> bool {
  976         -
        matches!(
  977         -
            &self,
  978         -
            ConstrainedShapesOperationError::ValidationException(_)
  979         -
        )
         980  +
impl EventError {
         981  +
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
         982  +
    pub fn is_event_stream_error_message(&self) -> bool {
         983  +
        matches!(&self, EventError::EventStreamErrorMessage(_))
  980    984   
    }
  981    985   
    /// Returns the error name string by matching the correct variant.
  982    986   
    pub fn name(&self) -> &'static str {
  983    987   
        match &self {
  984         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
         988  +
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
  985    989   
        }
  986    990   
    }
  987    991   
}
  988         -
impl ::std::error::Error for ConstrainedShapesOperationError {
         992  +
impl ::std::error::Error for EventError {
  989    993   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
  990    994   
        match &self {
  991         -
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
         995  +
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
  992    996   
        }
  993    997   
    }
  994    998   
}
  995         -
impl ::std::convert::From<crate::error::ValidationException>
  996         -
    for crate::error::ConstrainedShapesOperationError
  997         -
{
  998         -
    fn from(
  999         -
        variant: crate::error::ValidationException,
 1000         -
    ) -> crate::error::ConstrainedShapesOperationError {
 1001         -
        Self::ValidationException(variant)
 1002         -
    }
 1003         -
}
 1004         -
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1005         -
pub mod event_stream_error_message {
 1006         -
 1007         -
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 1008         -
        fn from(builder: Builder) -> Self {
 1009         -
            builder.build()
 1010         -
        }
 1011         -
    }
 1012         -
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1013         -
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1014         -
    pub struct Builder {
 1015         -
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
 1016         -
    }
 1017         -
    impl Builder {
 1018         -
        #[allow(missing_docs)] // documentation missing in model
 1019         -
        pub fn message_content(
 1020         -
            mut self,
 1021         -
            input: ::std::option::Option<::std::string::String>,
 1022         -
        ) -> Self {
 1023         -
            self.message_content = input;
 1024         -
            self
 1025         -
        }
 1026         -
        #[allow(missing_docs)] // documentation missing in model
 1027         -
        pub(crate) fn set_message_content(
 1028         -
            mut self,
 1029         -
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 1030         -
        ) -> Self {
 1031         -
            self.message_content = input.map(|v| v.into());
 1032         -
            self
 1033         -
        }
 1034         -
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1035         -
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 1036         -
            self.build_enforcing_all_constraints()
 1037         -
        }
 1038         -
        fn build_enforcing_all_constraints(self) -> crate::error::EventStreamErrorMessage {
 1039         -
            crate::error::EventStreamErrorMessage {
 1040         -
                message_content: self.message_content,
 1041         -
            }
 1042         -
        }
         999  +
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
        1000  +
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
        1001  +
        Self::EventStreamErrorMessage(variant)
 1043   1002   
    }
 1044   1003   
}
 1045   1004   
/// See [`ValidationException`](crate::error::ValidationException).
 1046   1005   
pub mod validation_exception {
 1047   1006   
 1048   1007   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1049   1008   
    /// Holds one variant for each of the ways the builder can fail.
 1050   1009   
    #[non_exhaustive]
 1051   1010   
    #[allow(clippy::enum_variant_names)]
 1052   1011   
    pub enum ConstraintViolation {
@@ -1079,1038 +0,1108 @@
 1099   1058   
        fn build_enforcing_all_constraints(
 1100   1059   
            self,
 1101   1060   
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1102   1061   
            Ok(crate::error::ValidationException {
 1103   1062   
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 1104   1063   
                field_list: self.field_list,
 1105   1064   
            })
 1106   1065   
        }
 1107   1066   
    }
 1108   1067   
}
        1068  +
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1069  +
pub mod event_stream_error_message {
        1070  +
        1071  +
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
        1072  +
        fn from(builder: Builder) -> Self {
        1073  +
            builder.build()
        1074  +
        }
        1075  +
    }
        1076  +
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1077  +
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1078  +
    pub struct Builder {
        1079  +
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        1080  +
    }
        1081  +
    impl Builder {
        1082  +
        #[allow(missing_docs)] // documentation missing in model
        1083  +
        pub fn message_content(
        1084  +
            mut self,
        1085  +
            input: ::std::option::Option<::std::string::String>,
        1086  +
        ) -> Self {
        1087  +
            self.message_content = input;
        1088  +
            self
        1089  +
        }
        1090  +
        #[allow(missing_docs)] // documentation missing in model
        1091  +
        pub(crate) fn set_message_content(
        1092  +
            mut self,
        1093  +
            input: Option<impl ::std::convert::Into<::std::string::String>>,
        1094  +
        ) -> Self {
        1095  +
            self.message_content = input.map(|v| v.into());
        1096  +
            self
        1097  +
        }
        1098  +
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1099  +
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
        1100  +
            self.build_enforcing_all_constraints()
        1101  +
        }
        1102  +
        fn build_enforcing_all_constraints(self) -> crate::error::EventStreamErrorMessage {
        1103  +
            crate::error::EventStreamErrorMessage {
        1104  +
                message_content: self.message_content,
        1105  +
            }
        1106  +
        }
        1107  +
    }
        1108  +
}