Server Test

Server Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-server-test/.cargo/config.toml

@@ -1,1 +0,2 @@
    1      1   
[build]
    2         -
rustflags = ["--cfg", "aws_sdk_unstable"]
              \
 No newline at end of file
           2  +
rustflags = ["--deny", "warnings", "--cfg", "aws_sdk_unstable"]

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

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

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

@@ -1,1 +1108,2064 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* ServerOperationErrorGenerator.kt:63 */
    2      3   
/// Error type for the `EventStreamsOperation` operation.
           4  +
/* ServerOperationErrorGenerator.kt:64 */
    3      5   
/// Each variant represents an error that can occur for the `EventStreamsOperation` operation.
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::fmt::Debug)]
    5         -
pub enum EventStreamsOperationError {
    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.
           8  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EventStreamsOperationError {
           9  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
          10  +
    /* ServerOperationErrorGenerator.kt:71 */
    7     11   
    ValidationException(crate::error::ValidationException),
          12  +
    /* ServerOperationErrorGenerator.kt:68 */
    8     13   
    #[allow(missing_docs)] // documentation missing in model
          14  +
    /* ServerOperationErrorGenerator.kt:71 */
    9     15   
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
          16  +
    /* ServerOperationErrorGenerator.kt:66 */
   10     17   
}
          18  +
/* ServerOperationErrorGenerator.kt:75 */
   11     19   
impl ::std::fmt::Display for EventStreamsOperationError {
          20  +
    /* ServerOperationErrorGenerator.kt:76 */
   12     21   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
          22  +
        /* ServerOperationErrorGenerator.kt:139 */
   13     23   
        match &self {
   14         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.fmt(f),
   15         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
          24  +
            /* ServerOperationErrorGenerator.kt:142 */
          25  +
            EventStreamsOperationError::ValidationException(_inner) =>
          26  +
            /* ServerOperationErrorGenerator.kt:78 */
          27  +
            {
          28  +
                _inner.fmt(f)
          29  +
            }
          30  +
            ,
          31  +
            /* ServerOperationErrorGenerator.kt:142 */
          32  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
          33  +
            /* ServerOperationErrorGenerator.kt:78 */
          34  +
            {
          35  +
                _inner.fmt(f)
          36  +
            }
          37  +
            /* ServerOperationErrorGenerator.kt:139 */
   16     38   
        }
          39  +
        /* ServerOperationErrorGenerator.kt:76 */
   17     40   
    }
          41  +
    /* ServerOperationErrorGenerator.kt:75 */
   18     42   
}
          43  +
/* ServerOperationErrorGenerator.kt:83 */
   19     44   
impl EventStreamsOperationError {
          45  +
    /* ServerOperationErrorGenerator.kt:87 */
   20     46   
    /// Returns `true` if the error kind is `EventStreamsOperationError::ValidationException`.
          47  +
    /* ServerOperationErrorGenerator.kt:88 */
   21     48   
    pub fn is_validation_exception(&self) -> bool {
          49  +
        /* ServerOperationErrorGenerator.kt:89 */
   22     50   
        matches!(&self, EventStreamsOperationError::ValidationException(_))
          51  +
        /* ServerOperationErrorGenerator.kt:88 */
   23     52   
    }
          53  +
    /* ServerOperationErrorGenerator.kt:87 */
   24     54   
    /// Returns `true` if the error kind is `EventStreamsOperationError::EventStreamErrorMessage`.
          55  +
    /* ServerOperationErrorGenerator.kt:88 */
   25     56   
    pub fn is_event_stream_error_message(&self) -> bool {
          57  +
        /* ServerOperationErrorGenerator.kt:89 */
   26     58   
        matches!(
   27     59   
            &self,
   28     60   
            EventStreamsOperationError::EventStreamErrorMessage(_)
   29     61   
        )
          62  +
        /* ServerOperationErrorGenerator.kt:88 */
   30     63   
    }
          64  +
    /* ServerOperationErrorGenerator.kt:92 */
   31     65   
    /// Returns the error name string by matching the correct variant.
          66  +
    /* ServerOperationErrorGenerator.kt:93 */
   32     67   
    pub fn name(&self) -> &'static str {
          68  +
        /* ServerOperationErrorGenerator.kt:139 */
   33     69   
        match &self {
   34         -
            EventStreamsOperationError::ValidationException(_inner) => _inner.name(),
   35         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => _inner.name(),
          70  +
            /* ServerOperationErrorGenerator.kt:142 */
          71  +
            EventStreamsOperationError::ValidationException(_inner) =>
          72  +
            /* ServerOperationErrorGenerator.kt:95 */
          73  +
            {
          74  +
                _inner.name()
          75  +
            }
          76  +
            ,
          77  +
            /* ServerOperationErrorGenerator.kt:142 */
          78  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
          79  +
            /* ServerOperationErrorGenerator.kt:95 */
          80  +
            {
          81  +
                _inner.name()
          82  +
            }
          83  +
            /* ServerOperationErrorGenerator.kt:139 */
   36     84   
        }
          85  +
        /* ServerOperationErrorGenerator.kt:93 */
   37     86   
    }
          87  +
    /* ServerOperationErrorGenerator.kt:83 */
   38     88   
}
          89  +
/* ServerOperationErrorGenerator.kt:100 */
   39     90   
impl ::std::error::Error for EventStreamsOperationError {
          91  +
    /* ServerOperationErrorGenerator.kt:101 */
   40     92   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
          93  +
        /* ServerOperationErrorGenerator.kt:139 */
   41     94   
        match &self {
   42         -
            EventStreamsOperationError::ValidationException(_inner) => Some(_inner),
   43         -
            EventStreamsOperationError::EventStreamErrorMessage(_inner) => Some(_inner),
          95  +
            /* ServerOperationErrorGenerator.kt:142 */
          96  +
            EventStreamsOperationError::ValidationException(_inner) =>
          97  +
            /* ServerOperationErrorGenerator.kt:103 */
          98  +
            {
          99  +
                Some(_inner)
         100  +
            }
         101  +
            ,
         102  +
            /* ServerOperationErrorGenerator.kt:142 */
         103  +
            EventStreamsOperationError::EventStreamErrorMessage(_inner) =>
         104  +
            /* ServerOperationErrorGenerator.kt:103 */
         105  +
            {
         106  +
                Some(_inner)
         107  +
            }
         108  +
            /* ServerOperationErrorGenerator.kt:139 */
   44    109   
        }
         110  +
        /* ServerOperationErrorGenerator.kt:101 */
   45    111   
    }
         112  +
    /* ServerOperationErrorGenerator.kt:100 */
   46    113   
}
         114  +
/* ServerOperationErrorGenerator.kt:110 */
   47    115   
impl ::std::convert::From<crate::error::ValidationException>
   48    116   
    for crate::error::EventStreamsOperationError
   49    117   
{
         118  +
    /* ServerOperationErrorGenerator.kt:111 */
   50    119   
    fn from(
   51    120   
        variant: crate::error::ValidationException,
   52    121   
    ) -> crate::error::EventStreamsOperationError {
         122  +
        /* ServerOperationErrorGenerator.kt:112 */
   53    123   
        Self::ValidationException(variant)
         124  +
        /* ServerOperationErrorGenerator.kt:111 */
   54    125   
    }
         126  +
    /* ServerOperationErrorGenerator.kt:110 */
   55    127   
}
         128  +
/* ServerOperationErrorGenerator.kt:110 */
   56    129   
impl ::std::convert::From<crate::error::EventStreamErrorMessage>
   57    130   
    for crate::error::EventStreamsOperationError
   58    131   
{
         132  +
    /* ServerOperationErrorGenerator.kt:111 */
   59    133   
    fn from(
   60    134   
        variant: crate::error::EventStreamErrorMessage,
   61    135   
    ) -> crate::error::EventStreamsOperationError {
         136  +
        /* ServerOperationErrorGenerator.kt:112 */
   62    137   
        Self::EventStreamErrorMessage(variant)
         138  +
        /* ServerOperationErrorGenerator.kt:111 */
   63    139   
    }
         140  +
    /* ServerOperationErrorGenerator.kt:110 */
   64    141   
}
   65    142   
         143  +
/* StructureGenerator.kt:197 */
   66    144   
#[allow(missing_docs)] // documentation missing in model
         145  +
/* RustType.kt:516 */
   67    146   
#[derive(
   68    147   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   69    148   
)]
   70         -
pub struct EventStreamErrorMessage {
         149  +
pub /* StructureGenerator.kt:201 */ struct EventStreamErrorMessage {
         150  +
    /* StructureGenerator.kt:231 */
   71    151   
    #[allow(missing_docs)] // documentation missing in model
   72    152   
    pub message_content: ::std::option::Option<::std::string::String>,
         153  +
    /* StructureGenerator.kt:201 */
   73    154   
}
         155  +
/* StructureGenerator.kt:135 */
   74    156   
impl EventStreamErrorMessage {
         157  +
    /* StructureGenerator.kt:231 */
   75    158   
    #[allow(missing_docs)] // documentation missing in model
         159  +
                           /* StructureGenerator.kt:166 */
   76    160   
    pub fn message_content(&self) -> ::std::option::Option<&str> {
         161  +
        /* StructureGenerator.kt:169 */
   77    162   
        self.message_content.as_deref()
         163  +
        /* StructureGenerator.kt:166 */
   78    164   
    }
         165  +
    /* StructureGenerator.kt:135 */
   79    166   
}
         167  +
/* ErrorImplGenerator.kt:99 */
   80    168   
impl EventStreamErrorMessage {
         169  +
    /* ErrorImplGenerator.kt:141 */
   81    170   
    #[doc(hidden)]
   82    171   
    /// Returns the error name.
   83    172   
    pub fn name(&self) -> &'static str {
   84    173   
        "EventStreamErrorMessage"
   85    174   
    }
         175  +
    /* ErrorImplGenerator.kt:99 */
   86    176   
}
         177  +
/* ErrorImplGenerator.kt:153 */
   87    178   
impl ::std::fmt::Display for EventStreamErrorMessage {
         179  +
    /* ErrorImplGenerator.kt:154 */
   88    180   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         181  +
        /* ErrorImplGenerator.kt:161 */
   89    182   
        ::std::write!(f, "EventStreamErrorMessage")?;
         183  +
        /* ErrorImplGenerator.kt:171 */
   90    184   
        Ok(())
         185  +
        /* ErrorImplGenerator.kt:154 */
   91    186   
    }
         187  +
    /* ErrorImplGenerator.kt:153 */
   92    188   
}
         189  +
/* ErrorImplGenerator.kt:175 */
   93    190   
impl ::std::error::Error for EventStreamErrorMessage {}
         191  +
/* ServerCodegenVisitor.kt:345 */
   94    192   
impl EventStreamErrorMessage {
   95         -
    /// Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         193  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
         194  +
    /* ServerBuilderGenerator.kt:295 */
   96    195   
    pub fn builder() -> crate::error::event_stream_error_message::Builder {
         196  +
        /* ServerBuilderGenerator.kt:296 */
   97    197   
        crate::error::event_stream_error_message::Builder::default()
         198  +
        /* ServerBuilderGenerator.kt:295 */
   98    199   
    }
         200  +
    /* ServerCodegenVisitor.kt:345 */
   99    201   
}
         202  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  100    203   
impl crate::constrained::Constrained for crate::error::EventStreamErrorMessage {
  101    204   
    type Unconstrained = crate::error::event_stream_error_message::Builder;
  102    205   
}
  103    206   
  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.
         207  +
/// /* StructureGenerator.kt:197 */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.
         208  +
/* RustType.kt:516 */
  105    209   
#[derive(
  106    210   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  107    211   
)]
  108         -
pub struct ValidationException {
  109         -
    /// A summary of the validation failure.
         212  +
pub /* StructureGenerator.kt:201 */ struct ValidationException {
         213  +
    /// /* StructureGenerator.kt:231 */A summary of the validation failure.
  110    214   
    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.
         215  +
    /// /* StructureGenerator.kt:231 */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    216   
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
         217  +
    /* StructureGenerator.kt:201 */
  113    218   
}
         219  +
/* StructureGenerator.kt:135 */
  114    220   
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.
         221  +
    /// /* StructureGenerator.kt:231 */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.
         222  +
    /* StructureGenerator.kt:166 */
  116    223   
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         224  +
        /* StructureGenerator.kt:169 */
  117    225   
        self.field_list.as_deref()
         226  +
        /* StructureGenerator.kt:166 */
  118    227   
    }
         228  +
    /* StructureGenerator.kt:135 */
  119    229   
}
         230  +
/* ErrorImplGenerator.kt:99 */
  120    231   
impl ValidationException {
         232  +
    /* ErrorImplGenerator.kt:128 */
  121    233   
    /// Returns the error message.
  122    234   
    pub fn message(&self) -> &str {
  123    235   
        &self.message
  124    236   
    }
         237  +
    /* ErrorImplGenerator.kt:141 */
  125    238   
    #[doc(hidden)]
  126    239   
    /// Returns the error name.
  127    240   
    pub fn name(&self) -> &'static str {
  128    241   
        "ValidationException"
  129    242   
    }
         243  +
    /* ErrorImplGenerator.kt:99 */
  130    244   
}
         245  +
/* ErrorImplGenerator.kt:153 */
  131    246   
impl ::std::fmt::Display for ValidationException {
         247  +
    /* ErrorImplGenerator.kt:154 */
  132    248   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         249  +
        /* ErrorImplGenerator.kt:161 */
  133    250   
        ::std::write!(f, "ValidationException")?;
         251  +
        /* ErrorImplGenerator.kt:166 */
  134    252   
        {
         253  +
            /* ErrorImplGenerator.kt:167 */
  135    254   
            ::std::write!(f, ": {}", &self.message)?;
         255  +
            /* ErrorImplGenerator.kt:166 */
  136    256   
        }
         257  +
        /* ErrorImplGenerator.kt:171 */
  137    258   
        Ok(())
         259  +
        /* ErrorImplGenerator.kt:154 */
  138    260   
    }
         261  +
    /* ErrorImplGenerator.kt:153 */
  139    262   
}
         263  +
/* ErrorImplGenerator.kt:175 */
  140    264   
impl ::std::error::Error for ValidationException {}
         265  +
/* ServerCodegenVisitor.kt:345 */
  141    266   
impl ValidationException {
  142         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         267  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         268  +
    /* ServerBuilderGenerator.kt:295 */
  143    269   
    pub fn builder() -> crate::error::validation_exception::Builder {
         270  +
        /* ServerBuilderGenerator.kt:296 */
  144    271   
        crate::error::validation_exception::Builder::default()
         272  +
        /* ServerBuilderGenerator.kt:295 */
  145    273   
    }
         274  +
    /* ServerCodegenVisitor.kt:345 */
  146    275   
}
  147    276   
         277  +
/* ServerOperationErrorGenerator.kt:63 */
  148    278   
/// Error type for the `Event` operation.
         279  +
/* ServerOperationErrorGenerator.kt:64 */
  149    280   
/// Each variant represents an error that can occur for the `Event` operation.
         281  +
/* RustType.kt:516 */
  150    282   
#[derive(::std::fmt::Debug)]
  151         -
pub enum EventError {
         283  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EventError {
         284  +
    /* ServerOperationErrorGenerator.kt:68 */
  152    285   
    #[allow(missing_docs)] // documentation missing in model
         286  +
    /* ServerOperationErrorGenerator.kt:71 */
  153    287   
    EventStreamErrorMessage(crate::error::EventStreamErrorMessage),
         288  +
    /* ServerOperationErrorGenerator.kt:66 */
  154    289   
}
         290  +
/* ServerOperationErrorGenerator.kt:75 */
  155    291   
impl ::std::fmt::Display for EventError {
         292  +
    /* ServerOperationErrorGenerator.kt:76 */
  156    293   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         294  +
        /* ServerOperationErrorGenerator.kt:139 */
  157    295   
        match &self {
  158         -
            EventError::EventStreamErrorMessage(_inner) => _inner.fmt(f),
         296  +
            /* ServerOperationErrorGenerator.kt:142 */
         297  +
            EventError::EventStreamErrorMessage(_inner) =>
         298  +
            /* ServerOperationErrorGenerator.kt:78 */
         299  +
            {
         300  +
                _inner.fmt(f)
         301  +
            }
         302  +
            /* ServerOperationErrorGenerator.kt:139 */
  159    303   
        }
         304  +
        /* ServerOperationErrorGenerator.kt:76 */
  160    305   
    }
         306  +
    /* ServerOperationErrorGenerator.kt:75 */
  161    307   
}
         308  +
/* ServerOperationErrorGenerator.kt:83 */
  162    309   
impl EventError {
         310  +
    /* ServerOperationErrorGenerator.kt:87 */
  163    311   
    /// Returns `true` if the error kind is `EventError::EventStreamErrorMessage`.
         312  +
    /* ServerOperationErrorGenerator.kt:88 */
  164    313   
    pub fn is_event_stream_error_message(&self) -> bool {
         314  +
        /* ServerOperationErrorGenerator.kt:89 */
  165    315   
        matches!(&self, EventError::EventStreamErrorMessage(_))
         316  +
        /* ServerOperationErrorGenerator.kt:88 */
  166    317   
    }
         318  +
    /* ServerOperationErrorGenerator.kt:92 */
  167    319   
    /// Returns the error name string by matching the correct variant.
         320  +
    /* ServerOperationErrorGenerator.kt:93 */
  168    321   
    pub fn name(&self) -> &'static str {
         322  +
        /* ServerOperationErrorGenerator.kt:139 */
  169    323   
        match &self {
  170         -
            EventError::EventStreamErrorMessage(_inner) => _inner.name(),
         324  +
            /* ServerOperationErrorGenerator.kt:142 */
         325  +
            EventError::EventStreamErrorMessage(_inner) =>
         326  +
            /* ServerOperationErrorGenerator.kt:95 */
         327  +
            {
         328  +
                _inner.name()
         329  +
            }
         330  +
            /* ServerOperationErrorGenerator.kt:139 */
  171    331   
        }
         332  +
        /* ServerOperationErrorGenerator.kt:93 */
  172    333   
    }
         334  +
    /* ServerOperationErrorGenerator.kt:83 */
  173    335   
}
         336  +
/* ServerOperationErrorGenerator.kt:100 */
  174    337   
impl ::std::error::Error for EventError {
         338  +
    /* ServerOperationErrorGenerator.kt:101 */
  175    339   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         340  +
        /* ServerOperationErrorGenerator.kt:139 */
  176    341   
        match &self {
  177         -
            EventError::EventStreamErrorMessage(_inner) => Some(_inner),
         342  +
            /* ServerOperationErrorGenerator.kt:142 */
         343  +
            EventError::EventStreamErrorMessage(_inner) =>
         344  +
            /* ServerOperationErrorGenerator.kt:103 */
         345  +
            {
         346  +
                Some(_inner)
         347  +
            }
         348  +
            /* ServerOperationErrorGenerator.kt:139 */
  178    349   
        }
         350  +
        /* ServerOperationErrorGenerator.kt:101 */
  179    351   
    }
         352  +
    /* ServerOperationErrorGenerator.kt:100 */
  180    353   
}
         354  +
/* ServerOperationErrorGenerator.kt:110 */
  181    355   
impl ::std::convert::From<crate::error::EventStreamErrorMessage> for crate::error::EventError {
         356  +
    /* ServerOperationErrorGenerator.kt:111 */
  182    357   
    fn from(variant: crate::error::EventStreamErrorMessage) -> crate::error::EventError {
         358  +
        /* ServerOperationErrorGenerator.kt:112 */
  183    359   
        Self::EventStreamErrorMessage(variant)
         360  +
        /* ServerOperationErrorGenerator.kt:111 */
  184    361   
    }
         362  +
    /* ServerOperationErrorGenerator.kt:110 */
  185    363   
}
  186    364   
         365  +
/* ServerOperationErrorGenerator.kt:63 */
  187    366   
/// Error type for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         367  +
/* ServerOperationErrorGenerator.kt:64 */
  188    368   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfEnumStringOperation` operation.
         369  +
/* RustType.kt:516 */
  189    370   
#[derive(::std::fmt::Debug)]
  190         -
pub enum QueryParamsTargetingMapOfEnumStringOperationError {
  191         -
    /// 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.
         371  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfEnumStringOperationError
         372  +
{
         373  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         374  +
    /* ServerOperationErrorGenerator.kt:71 */
  192    375   
    ValidationException(crate::error::ValidationException),
         376  +
    /* ServerOperationErrorGenerator.kt:66 */
  193    377   
}
         378  +
/* ServerOperationErrorGenerator.kt:75 */
  194    379   
impl ::std::fmt::Display for QueryParamsTargetingMapOfEnumStringOperationError {
         380  +
    /* ServerOperationErrorGenerator.kt:76 */
  195    381   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         382  +
        /* ServerOperationErrorGenerator.kt:139 */
  196    383   
        match &self {
  197         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         384  +
            /* ServerOperationErrorGenerator.kt:142 */
         385  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         386  +
            /* ServerOperationErrorGenerator.kt:78 */
         387  +
            {
  198    388   
                _inner.fmt(f)
  199    389   
            }
         390  +
            /* ServerOperationErrorGenerator.kt:139 */
  200    391   
        }
         392  +
        /* ServerOperationErrorGenerator.kt:76 */
  201    393   
    }
         394  +
    /* ServerOperationErrorGenerator.kt:75 */
  202    395   
}
         396  +
/* ServerOperationErrorGenerator.kt:83 */
  203    397   
impl QueryParamsTargetingMapOfEnumStringOperationError {
         398  +
    /* ServerOperationErrorGenerator.kt:87 */
  204    399   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfEnumStringOperationError::ValidationException`.
         400  +
    /* ServerOperationErrorGenerator.kt:88 */
  205    401   
    pub fn is_validation_exception(&self) -> bool {
         402  +
        /* ServerOperationErrorGenerator.kt:89 */
  206    403   
        matches!(
  207    404   
            &self,
  208    405   
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_)
  209    406   
        )
         407  +
        /* ServerOperationErrorGenerator.kt:88 */
  210    408   
    }
         409  +
    /* ServerOperationErrorGenerator.kt:92 */
  211    410   
    /// Returns the error name string by matching the correct variant.
         411  +
    /* ServerOperationErrorGenerator.kt:93 */
  212    412   
    pub fn name(&self) -> &'static str {
         413  +
        /* ServerOperationErrorGenerator.kt:139 */
  213    414   
        match &self {
  214         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         415  +
            /* ServerOperationErrorGenerator.kt:142 */
         416  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         417  +
            /* ServerOperationErrorGenerator.kt:95 */
         418  +
            {
  215    419   
                _inner.name()
  216    420   
            }
         421  +
            /* ServerOperationErrorGenerator.kt:139 */
  217    422   
        }
         423  +
        /* ServerOperationErrorGenerator.kt:93 */
  218    424   
    }
         425  +
    /* ServerOperationErrorGenerator.kt:83 */
  219    426   
}
         427  +
/* ServerOperationErrorGenerator.kt:100 */
  220    428   
impl ::std::error::Error for QueryParamsTargetingMapOfEnumStringOperationError {
         429  +
    /* ServerOperationErrorGenerator.kt:101 */
  221    430   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         431  +
        /* ServerOperationErrorGenerator.kt:139 */
  222    432   
        match &self {
  223         -
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) => {
         433  +
            /* ServerOperationErrorGenerator.kt:142 */
         434  +
            QueryParamsTargetingMapOfEnumStringOperationError::ValidationException(_inner) =>
         435  +
            /* ServerOperationErrorGenerator.kt:103 */
         436  +
            {
  224    437   
                Some(_inner)
  225    438   
            }
         439  +
            /* ServerOperationErrorGenerator.kt:139 */
  226    440   
        }
         441  +
        /* ServerOperationErrorGenerator.kt:101 */
  227    442   
    }
         443  +
    /* ServerOperationErrorGenerator.kt:100 */
  228    444   
}
         445  +
/* ServerOperationErrorGenerator.kt:110 */
  229    446   
impl ::std::convert::From<crate::error::ValidationException>
  230    447   
    for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  231    448   
{
         449  +
    /* ServerOperationErrorGenerator.kt:111 */
  232    450   
    fn from(
  233    451   
        variant: crate::error::ValidationException,
  234    452   
    ) -> crate::error::QueryParamsTargetingMapOfEnumStringOperationError {
         453  +
        /* ServerOperationErrorGenerator.kt:112 */
  235    454   
        Self::ValidationException(variant)
         455  +
        /* ServerOperationErrorGenerator.kt:111 */
  236    456   
    }
         457  +
    /* ServerOperationErrorGenerator.kt:110 */
  237    458   
}
  238    459   
         460  +
/* ServerOperationErrorGenerator.kt:63 */
  239    461   
/// Error type for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         462  +
/* ServerOperationErrorGenerator.kt:64 */
  240    463   
/// Each variant represents an error that can occur for the `HttpPrefixHeadersTargetingLengthMapOperation` operation.
         464  +
/* RustType.kt:516 */
  241    465   
#[derive(::std::fmt::Debug)]
  242         -
pub enum HttpPrefixHeadersTargetingLengthMapOperationError {
  243         -
    /// 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.
         466  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpPrefixHeadersTargetingLengthMapOperationError
         467  +
{
         468  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         469  +
    /* ServerOperationErrorGenerator.kt:71 */
  244    470   
    ValidationException(crate::error::ValidationException),
         471  +
    /* ServerOperationErrorGenerator.kt:66 */
  245    472   
}
         473  +
/* ServerOperationErrorGenerator.kt:75 */
  246    474   
impl ::std::fmt::Display for HttpPrefixHeadersTargetingLengthMapOperationError {
         475  +
    /* ServerOperationErrorGenerator.kt:76 */
  247    476   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         477  +
        /* ServerOperationErrorGenerator.kt:139 */
  248    478   
        match &self {
  249         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
         479  +
            /* ServerOperationErrorGenerator.kt:142 */
         480  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
         481  +
            /* ServerOperationErrorGenerator.kt:78 */
         482  +
            {
  250    483   
                _inner.fmt(f)
  251    484   
            }
         485  +
            /* ServerOperationErrorGenerator.kt:139 */
  252    486   
        }
         487  +
        /* ServerOperationErrorGenerator.kt:76 */
  253    488   
    }
         489  +
    /* ServerOperationErrorGenerator.kt:75 */
  254    490   
}
         491  +
/* ServerOperationErrorGenerator.kt:83 */
  255    492   
impl HttpPrefixHeadersTargetingLengthMapOperationError {
         493  +
    /* ServerOperationErrorGenerator.kt:87 */
  256    494   
    /// Returns `true` if the error kind is `HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException`.
         495  +
    /* ServerOperationErrorGenerator.kt:88 */
  257    496   
    pub fn is_validation_exception(&self) -> bool {
         497  +
        /* ServerOperationErrorGenerator.kt:89 */
  258    498   
        matches!(
  259    499   
            &self,
  260    500   
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_)
  261    501   
        )
         502  +
        /* ServerOperationErrorGenerator.kt:88 */
  262    503   
    }
         504  +
    /* ServerOperationErrorGenerator.kt:92 */
  263    505   
    /// Returns the error name string by matching the correct variant.
         506  +
    /* ServerOperationErrorGenerator.kt:93 */
  264    507   
    pub fn name(&self) -> &'static str {
         508  +
        /* ServerOperationErrorGenerator.kt:139 */
  265    509   
        match &self {
  266         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
         510  +
            /* ServerOperationErrorGenerator.kt:142 */
         511  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
         512  +
            /* ServerOperationErrorGenerator.kt:95 */
         513  +
            {
  267    514   
                _inner.name()
  268    515   
            }
         516  +
            /* ServerOperationErrorGenerator.kt:139 */
  269    517   
        }
         518  +
        /* ServerOperationErrorGenerator.kt:93 */
  270    519   
    }
         520  +
    /* ServerOperationErrorGenerator.kt:83 */
  271    521   
}
         522  +
/* ServerOperationErrorGenerator.kt:100 */
  272    523   
impl ::std::error::Error for HttpPrefixHeadersTargetingLengthMapOperationError {
         524  +
    /* ServerOperationErrorGenerator.kt:101 */
  273    525   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         526  +
        /* ServerOperationErrorGenerator.kt:139 */
  274    527   
        match &self {
  275         -
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) => {
         528  +
            /* ServerOperationErrorGenerator.kt:142 */
         529  +
            HttpPrefixHeadersTargetingLengthMapOperationError::ValidationException(_inner) =>
         530  +
            /* ServerOperationErrorGenerator.kt:103 */
         531  +
            {
  276    532   
                Some(_inner)
  277    533   
            }
         534  +
            /* ServerOperationErrorGenerator.kt:139 */
  278    535   
        }
         536  +
        /* ServerOperationErrorGenerator.kt:101 */
  279    537   
    }
         538  +
    /* ServerOperationErrorGenerator.kt:100 */
  280    539   
}
         540  +
/* ServerOperationErrorGenerator.kt:110 */
  281    541   
impl ::std::convert::From<crate::error::ValidationException>
  282    542   
    for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  283    543   
{
         544  +
    /* ServerOperationErrorGenerator.kt:111 */
  284    545   
    fn from(
  285    546   
        variant: crate::error::ValidationException,
  286    547   
    ) -> crate::error::HttpPrefixHeadersTargetingLengthMapOperationError {
         548  +
        /* ServerOperationErrorGenerator.kt:112 */
  287    549   
        Self::ValidationException(variant)
         550  +
        /* ServerOperationErrorGenerator.kt:111 */
  288    551   
    }
         552  +
    /* ServerOperationErrorGenerator.kt:110 */
  289    553   
}
  290    554   
         555  +
/* ServerOperationErrorGenerator.kt:63 */
  291    556   
/// Error type for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         557  +
/* ServerOperationErrorGenerator.kt:64 */
  292    558   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthPatternStringOperation` operation.
         559  +
/* RustType.kt:516 */
  293    560   
#[derive(::std::fmt::Debug)]
  294         -
pub enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
  295         -
    /// 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.
         561  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
         562  +
{
         563  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         564  +
    /* ServerOperationErrorGenerator.kt:71 */
  296    565   
    ValidationException(crate::error::ValidationException),
         566  +
    /* ServerOperationErrorGenerator.kt:66 */
  297    567   
}
         568  +
/* ServerOperationErrorGenerator.kt:75 */
  298    569   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         570  +
    /* ServerOperationErrorGenerator.kt:76 */
  299    571   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         572  +
        /* ServerOperationErrorGenerator.kt:139 */
  300    573   
        match &self {
  301         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  302         -
            _inner.fmt(f)
         574  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         575  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
  303    576   
            ,
  304         -
        }
         577  +
        /* ServerOperationErrorGenerator.kt:139 */}
         578  +
        /* ServerOperationErrorGenerator.kt:76 */
  305    579   
    }
         580  +
    /* ServerOperationErrorGenerator.kt:75 */
  306    581   
}
         582  +
/* ServerOperationErrorGenerator.kt:83 */
  307    583   
impl QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         584  +
    /* ServerOperationErrorGenerator.kt:87 */
  308    585   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException`.
         586  +
    /* ServerOperationErrorGenerator.kt:88 */
  309    587   
    pub fn is_validation_exception(&self) -> bool {
         588  +
        /* ServerOperationErrorGenerator.kt:89 */
  310    589   
        matches!(
  311    590   
            &self,
  312    591   
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(
  313    592   
                _
  314    593   
            )
  315    594   
        )
         595  +
        /* ServerOperationErrorGenerator.kt:88 */
  316    596   
    }
         597  +
    /* ServerOperationErrorGenerator.kt:92 */
  317    598   
    /// Returns the error name string by matching the correct variant.
         599  +
    /* ServerOperationErrorGenerator.kt:93 */
  318    600   
    pub fn name(&self) -> &'static str {
         601  +
        /* ServerOperationErrorGenerator.kt:139 */
  319    602   
        match &self {
  320         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  321         -
            _inner.name()
         603  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         604  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
  322    605   
            ,
  323         -
        }
         606  +
        /* ServerOperationErrorGenerator.kt:139 */}
         607  +
        /* ServerOperationErrorGenerator.kt:93 */
  324    608   
    }
         609  +
    /* ServerOperationErrorGenerator.kt:83 */
  325    610   
}
         611  +
/* ServerOperationErrorGenerator.kt:100 */
  326    612   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         613  +
    /* ServerOperationErrorGenerator.kt:101 */
  327    614   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         615  +
        /* ServerOperationErrorGenerator.kt:139 */
  328    616   
        match &self {
  329         -
            QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
  330         -
            Some(_inner)
         617  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfListOfLengthPatternStringOperationError::ValidationException(_inner) =>
         618  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
  331    619   
            ,
  332         -
        }
         620  +
        /* ServerOperationErrorGenerator.kt:139 */}
         621  +
        /* ServerOperationErrorGenerator.kt:101 */
  333    622   
    }
         623  +
    /* ServerOperationErrorGenerator.kt:100 */
  334    624   
}
         625  +
/* ServerOperationErrorGenerator.kt:110 */
  335    626   
impl ::std::convert::From<crate::error::ValidationException>
  336    627   
    for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  337    628   
{
         629  +
    /* ServerOperationErrorGenerator.kt:111 */
  338    630   
    fn from(
  339    631   
        variant: crate::error::ValidationException,
  340    632   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError {
         633  +
        /* ServerOperationErrorGenerator.kt:112 */
  341    634   
        Self::ValidationException(variant)
         635  +
        /* ServerOperationErrorGenerator.kt:111 */
  342    636   
    }
         637  +
    /* ServerOperationErrorGenerator.kt:110 */
  343    638   
}
  344    639   
         640  +
/* ServerOperationErrorGenerator.kt:63 */
  345    641   
/// Error type for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         642  +
/* ServerOperationErrorGenerator.kt:64 */
  346    643   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthPatternStringOperation` operation.
         644  +
/* RustType.kt:516 */
  347    645   
#[derive(::std::fmt::Debug)]
  348         -
pub enum QueryParamsTargetingMapOfLengthPatternStringOperationError {
  349         -
    /// 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.
         646  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthPatternStringOperationError
         647  +
{
         648  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         649  +
    /* ServerOperationErrorGenerator.kt:71 */
  350    650   
    ValidationException(crate::error::ValidationException),
         651  +
    /* ServerOperationErrorGenerator.kt:66 */
  351    652   
}
         653  +
/* ServerOperationErrorGenerator.kt:75 */
  352    654   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         655  +
    /* ServerOperationErrorGenerator.kt:76 */
  353    656   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         657  +
        /* ServerOperationErrorGenerator.kt:139 */
  354    658   
        match &self {
         659  +
            /* ServerOperationErrorGenerator.kt:142 */
  355    660   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  356    661   
                _inner,
  357         -
            ) => _inner.fmt(f),
         662  +
            ) =>
         663  +
            /* ServerOperationErrorGenerator.kt:78 */
         664  +
            {
         665  +
                _inner.fmt(f)
         666  +
            }
         667  +
            /* ServerOperationErrorGenerator.kt:139 */
  358    668   
        }
         669  +
        /* ServerOperationErrorGenerator.kt:76 */
  359    670   
    }
         671  +
    /* ServerOperationErrorGenerator.kt:75 */
  360    672   
}
         673  +
/* ServerOperationErrorGenerator.kt:83 */
  361    674   
impl QueryParamsTargetingMapOfLengthPatternStringOperationError {
         675  +
    /* ServerOperationErrorGenerator.kt:87 */
  362    676   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException`.
         677  +
    /* ServerOperationErrorGenerator.kt:88 */
  363    678   
    pub fn is_validation_exception(&self) -> bool {
         679  +
        /* ServerOperationErrorGenerator.kt:89 */
  364    680   
        matches!(
  365    681   
            &self,
  366    682   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(_)
  367    683   
        )
         684  +
        /* ServerOperationErrorGenerator.kt:88 */
  368    685   
    }
         686  +
    /* ServerOperationErrorGenerator.kt:92 */
  369    687   
    /// Returns the error name string by matching the correct variant.
         688  +
    /* ServerOperationErrorGenerator.kt:93 */
  370    689   
    pub fn name(&self) -> &'static str {
         690  +
        /* ServerOperationErrorGenerator.kt:139 */
  371    691   
        match &self {
         692  +
            /* ServerOperationErrorGenerator.kt:142 */
  372    693   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  373    694   
                _inner,
  374         -
            ) => _inner.name(),
         695  +
            ) =>
         696  +
            /* ServerOperationErrorGenerator.kt:95 */
         697  +
            {
         698  +
                _inner.name()
         699  +
            }
         700  +
            /* ServerOperationErrorGenerator.kt:139 */
  375    701   
        }
         702  +
        /* ServerOperationErrorGenerator.kt:93 */
  376    703   
    }
         704  +
    /* ServerOperationErrorGenerator.kt:83 */
  377    705   
}
         706  +
/* ServerOperationErrorGenerator.kt:100 */
  378    707   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthPatternStringOperationError {
         708  +
    /* ServerOperationErrorGenerator.kt:101 */
  379    709   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         710  +
        /* ServerOperationErrorGenerator.kt:139 */
  380    711   
        match &self {
         712  +
            /* ServerOperationErrorGenerator.kt:142 */
  381    713   
            QueryParamsTargetingMapOfLengthPatternStringOperationError::ValidationException(
  382    714   
                _inner,
  383         -
            ) => Some(_inner),
         715  +
            ) =>
         716  +
            /* ServerOperationErrorGenerator.kt:103 */
         717  +
            {
         718  +
                Some(_inner)
         719  +
            }
         720  +
            /* ServerOperationErrorGenerator.kt:139 */
  384    721   
        }
         722  +
        /* ServerOperationErrorGenerator.kt:101 */
  385    723   
    }
         724  +
    /* ServerOperationErrorGenerator.kt:100 */
  386    725   
}
         726  +
/* ServerOperationErrorGenerator.kt:110 */
  387    727   
impl ::std::convert::From<crate::error::ValidationException>
  388    728   
    for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  389    729   
{
         730  +
    /* ServerOperationErrorGenerator.kt:111 */
  390    731   
    fn from(
  391    732   
        variant: crate::error::ValidationException,
  392    733   
    ) -> crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError {
         734  +
        /* ServerOperationErrorGenerator.kt:112 */
  393    735   
        Self::ValidationException(variant)
         736  +
        /* ServerOperationErrorGenerator.kt:111 */
  394    737   
    }
         738  +
    /* ServerOperationErrorGenerator.kt:110 */
  395    739   
}
  396    740   
         741  +
/* ServerOperationErrorGenerator.kt:63 */
  397    742   
/// Error type for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         743  +
/* ServerOperationErrorGenerator.kt:64 */
  398    744   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfPatternStringOperation` operation.
         745  +
/* RustType.kt:516 */
  399    746   
#[derive(::std::fmt::Debug)]
  400         -
pub enum QueryParamsTargetingMapOfListOfPatternStringOperationError {
  401         -
    /// 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.
         747  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfPatternStringOperationError
         748  +
{
         749  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         750  +
    /* ServerOperationErrorGenerator.kt:71 */
  402    751   
    ValidationException(crate::error::ValidationException),
         752  +
    /* ServerOperationErrorGenerator.kt:66 */
  403    753   
}
         754  +
/* ServerOperationErrorGenerator.kt:75 */
  404    755   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         756  +
    /* ServerOperationErrorGenerator.kt:76 */
  405    757   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         758  +
        /* ServerOperationErrorGenerator.kt:139 */
  406    759   
        match &self {
         760  +
            /* ServerOperationErrorGenerator.kt:142 */
  407    761   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  408    762   
                _inner,
  409         -
            ) => _inner.fmt(f),
         763  +
            ) =>
         764  +
            /* ServerOperationErrorGenerator.kt:78 */
         765  +
            {
         766  +
                _inner.fmt(f)
         767  +
            }
         768  +
            /* ServerOperationErrorGenerator.kt:139 */
  410    769   
        }
         770  +
        /* ServerOperationErrorGenerator.kt:76 */
  411    771   
    }
         772  +
    /* ServerOperationErrorGenerator.kt:75 */
  412    773   
}
         774  +
/* ServerOperationErrorGenerator.kt:83 */
  413    775   
impl QueryParamsTargetingMapOfListOfPatternStringOperationError {
         776  +
    /* ServerOperationErrorGenerator.kt:87 */
  414    777   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException`.
         778  +
    /* ServerOperationErrorGenerator.kt:88 */
  415    779   
    pub fn is_validation_exception(&self) -> bool {
         780  +
        /* ServerOperationErrorGenerator.kt:89 */
  416    781   
        matches!(
  417    782   
            &self,
  418    783   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(_)
  419    784   
        )
         785  +
        /* ServerOperationErrorGenerator.kt:88 */
  420    786   
    }
         787  +
    /* ServerOperationErrorGenerator.kt:92 */
  421    788   
    /// Returns the error name string by matching the correct variant.
         789  +
    /* ServerOperationErrorGenerator.kt:93 */
  422    790   
    pub fn name(&self) -> &'static str {
         791  +
        /* ServerOperationErrorGenerator.kt:139 */
  423    792   
        match &self {
         793  +
            /* ServerOperationErrorGenerator.kt:142 */
  424    794   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  425    795   
                _inner,
  426         -
            ) => _inner.name(),
         796  +
            ) =>
         797  +
            /* ServerOperationErrorGenerator.kt:95 */
         798  +
            {
         799  +
                _inner.name()
         800  +
            }
         801  +
            /* ServerOperationErrorGenerator.kt:139 */
  427    802   
        }
         803  +
        /* ServerOperationErrorGenerator.kt:93 */
  428    804   
    }
         805  +
    /* ServerOperationErrorGenerator.kt:83 */
  429    806   
}
         807  +
/* ServerOperationErrorGenerator.kt:100 */
  430    808   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfPatternStringOperationError {
         809  +
    /* ServerOperationErrorGenerator.kt:101 */
  431    810   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         811  +
        /* ServerOperationErrorGenerator.kt:139 */
  432    812   
        match &self {
         813  +
            /* ServerOperationErrorGenerator.kt:142 */
  433    814   
            QueryParamsTargetingMapOfListOfPatternStringOperationError::ValidationException(
  434    815   
                _inner,
  435         -
            ) => Some(_inner),
         816  +
            ) =>
         817  +
            /* ServerOperationErrorGenerator.kt:103 */
         818  +
            {
         819  +
                Some(_inner)
         820  +
            }
         821  +
            /* ServerOperationErrorGenerator.kt:139 */
  436    822   
        }
         823  +
        /* ServerOperationErrorGenerator.kt:101 */
  437    824   
    }
         825  +
    /* ServerOperationErrorGenerator.kt:100 */
  438    826   
}
         827  +
/* ServerOperationErrorGenerator.kt:110 */
  439    828   
impl ::std::convert::From<crate::error::ValidationException>
  440    829   
    for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  441    830   
{
         831  +
    /* ServerOperationErrorGenerator.kt:111 */
  442    832   
    fn from(
  443    833   
        variant: crate::error::ValidationException,
  444    834   
    ) -> crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError {
         835  +
        /* ServerOperationErrorGenerator.kt:112 */
  445    836   
        Self::ValidationException(variant)
         837  +
        /* ServerOperationErrorGenerator.kt:111 */
  446    838   
    }
         839  +
    /* ServerOperationErrorGenerator.kt:110 */
  447    840   
}
  448    841   
         842  +
/* ServerOperationErrorGenerator.kt:63 */
  449    843   
/// Error type for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         844  +
/* ServerOperationErrorGenerator.kt:64 */
  450    845   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfPatternStringOperation` operation.
         846  +
/* RustType.kt:516 */
  451    847   
#[derive(::std::fmt::Debug)]
  452         -
pub enum QueryParamsTargetingMapOfPatternStringOperationError {
  453         -
    /// 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.
         848  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfPatternStringOperationError
         849  +
{
         850  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         851  +
    /* ServerOperationErrorGenerator.kt:71 */
  454    852   
    ValidationException(crate::error::ValidationException),
         853  +
    /* ServerOperationErrorGenerator.kt:66 */
  455    854   
}
         855  +
/* ServerOperationErrorGenerator.kt:75 */
  456    856   
impl ::std::fmt::Display for QueryParamsTargetingMapOfPatternStringOperationError {
         857  +
    /* ServerOperationErrorGenerator.kt:76 */
  457    858   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         859  +
        /* ServerOperationErrorGenerator.kt:139 */
  458    860   
        match &self {
  459         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         861  +
            /* ServerOperationErrorGenerator.kt:142 */
         862  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
         863  +
            /* ServerOperationErrorGenerator.kt:78 */
         864  +
            {
  460    865   
                _inner.fmt(f)
  461    866   
            }
         867  +
            /* ServerOperationErrorGenerator.kt:139 */
  462    868   
        }
         869  +
        /* ServerOperationErrorGenerator.kt:76 */
  463    870   
    }
         871  +
    /* ServerOperationErrorGenerator.kt:75 */
  464    872   
}
         873  +
/* ServerOperationErrorGenerator.kt:83 */
  465    874   
impl QueryParamsTargetingMapOfPatternStringOperationError {
         875  +
    /* ServerOperationErrorGenerator.kt:87 */
  466    876   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfPatternStringOperationError::ValidationException`.
         877  +
    /* ServerOperationErrorGenerator.kt:88 */
  467    878   
    pub fn is_validation_exception(&self) -> bool {
         879  +
        /* ServerOperationErrorGenerator.kt:89 */
  468    880   
        matches!(
  469    881   
            &self,
  470    882   
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_)
  471    883   
        )
         884  +
        /* ServerOperationErrorGenerator.kt:88 */
  472    885   
    }
         886  +
    /* ServerOperationErrorGenerator.kt:92 */
  473    887   
    /// Returns the error name string by matching the correct variant.
         888  +
    /* ServerOperationErrorGenerator.kt:93 */
  474    889   
    pub fn name(&self) -> &'static str {
         890  +
        /* ServerOperationErrorGenerator.kt:139 */
  475    891   
        match &self {
  476         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         892  +
            /* ServerOperationErrorGenerator.kt:142 */
         893  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
         894  +
            /* ServerOperationErrorGenerator.kt:95 */
         895  +
            {
  477    896   
                _inner.name()
  478    897   
            }
         898  +
            /* ServerOperationErrorGenerator.kt:139 */
  479    899   
        }
         900  +
        /* ServerOperationErrorGenerator.kt:93 */
  480    901   
    }
         902  +
    /* ServerOperationErrorGenerator.kt:83 */
  481    903   
}
         904  +
/* ServerOperationErrorGenerator.kt:100 */
  482    905   
impl ::std::error::Error for QueryParamsTargetingMapOfPatternStringOperationError {
         906  +
    /* ServerOperationErrorGenerator.kt:101 */
  483    907   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         908  +
        /* ServerOperationErrorGenerator.kt:139 */
  484    909   
        match &self {
  485         -
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) => {
         910  +
            /* ServerOperationErrorGenerator.kt:142 */
         911  +
            QueryParamsTargetingMapOfPatternStringOperationError::ValidationException(_inner) =>
         912  +
            /* ServerOperationErrorGenerator.kt:103 */
         913  +
            {
  486    914   
                Some(_inner)
  487    915   
            }
         916  +
            /* ServerOperationErrorGenerator.kt:139 */
  488    917   
        }
         918  +
        /* ServerOperationErrorGenerator.kt:101 */
  489    919   
    }
         920  +
    /* ServerOperationErrorGenerator.kt:100 */
  490    921   
}
         922  +
/* ServerOperationErrorGenerator.kt:110 */
  491    923   
impl ::std::convert::From<crate::error::ValidationException>
  492    924   
    for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
  493    925   
{
         926  +
    /* ServerOperationErrorGenerator.kt:111 */
  494    927   
    fn from(
  495    928   
        variant: crate::error::ValidationException,
  496    929   
    ) -> crate::error::QueryParamsTargetingMapOfPatternStringOperationError {
         930  +
        /* ServerOperationErrorGenerator.kt:112 */
  497    931   
        Self::ValidationException(variant)
         932  +
        /* ServerOperationErrorGenerator.kt:111 */
  498    933   
    }
         934  +
    /* ServerOperationErrorGenerator.kt:110 */
  499    935   
}
  500    936   
         937  +
/* ServerOperationErrorGenerator.kt:63 */
  501    938   
/// Error type for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
         939  +
/* ServerOperationErrorGenerator.kt:64 */
  502    940   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfEnumStringOperation` operation.
         941  +
/* RustType.kt:516 */
  503    942   
#[derive(::std::fmt::Debug)]
  504         -
pub enum QueryParamsTargetingMapOfListOfEnumStringOperationError {
  505         -
    /// 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.
         943  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfEnumStringOperationError
         944  +
{
         945  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
         946  +
    /* ServerOperationErrorGenerator.kt:71 */
  506    947   
    ValidationException(crate::error::ValidationException),
         948  +
    /* ServerOperationErrorGenerator.kt:66 */
  507    949   
}
         950  +
/* ServerOperationErrorGenerator.kt:75 */
  508    951   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfEnumStringOperationError {
         952  +
    /* ServerOperationErrorGenerator.kt:76 */
  509    953   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         954  +
        /* ServerOperationErrorGenerator.kt:139 */
  510    955   
        match &self {
         956  +
            /* ServerOperationErrorGenerator.kt:142 */
  511    957   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  512    958   
                _inner,
  513         -
            ) => _inner.fmt(f),
         959  +
            ) =>
         960  +
            /* ServerOperationErrorGenerator.kt:78 */
         961  +
            {
         962  +
                _inner.fmt(f)
         963  +
            }
         964  +
            /* ServerOperationErrorGenerator.kt:139 */
  514    965   
        }
         966  +
        /* ServerOperationErrorGenerator.kt:76 */
  515    967   
    }
         968  +
    /* ServerOperationErrorGenerator.kt:75 */
  516    969   
}
         970  +
/* ServerOperationErrorGenerator.kt:83 */
  517    971   
impl QueryParamsTargetingMapOfListOfEnumStringOperationError {
         972  +
    /* ServerOperationErrorGenerator.kt:87 */
  518    973   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException`.
         974  +
    /* ServerOperationErrorGenerator.kt:88 */
  519    975   
    pub fn is_validation_exception(&self) -> bool {
         976  +
        /* ServerOperationErrorGenerator.kt:89 */
  520    977   
        matches!(
  521    978   
            &self,
  522    979   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(_)
  523    980   
        )
         981  +
        /* ServerOperationErrorGenerator.kt:88 */
  524    982   
    }
         983  +
    /* ServerOperationErrorGenerator.kt:92 */
  525    984   
    /// Returns the error name string by matching the correct variant.
         985  +
    /* ServerOperationErrorGenerator.kt:93 */
  526    986   
    pub fn name(&self) -> &'static str {
         987  +
        /* ServerOperationErrorGenerator.kt:139 */
  527    988   
        match &self {
         989  +
            /* ServerOperationErrorGenerator.kt:142 */
  528    990   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  529    991   
                _inner,
  530         -
            ) => _inner.name(),
         992  +
            ) =>
         993  +
            /* ServerOperationErrorGenerator.kt:95 */
         994  +
            {
         995  +
                _inner.name()
         996  +
            }
         997  +
            /* ServerOperationErrorGenerator.kt:139 */
  531    998   
        }
         999  +
        /* ServerOperationErrorGenerator.kt:93 */
  532   1000   
    }
        1001  +
    /* ServerOperationErrorGenerator.kt:83 */
  533   1002   
}
        1003  +
/* ServerOperationErrorGenerator.kt:100 */
  534   1004   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1005  +
    /* ServerOperationErrorGenerator.kt:101 */
  535   1006   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1007  +
        /* ServerOperationErrorGenerator.kt:139 */
  536   1008   
        match &self {
        1009  +
            /* ServerOperationErrorGenerator.kt:142 */
  537   1010   
            QueryParamsTargetingMapOfListOfEnumStringOperationError::ValidationException(
  538   1011   
                _inner,
  539         -
            ) => Some(_inner),
        1012  +
            ) =>
        1013  +
            /* ServerOperationErrorGenerator.kt:103 */
        1014  +
            {
        1015  +
                Some(_inner)
        1016  +
            }
        1017  +
            /* ServerOperationErrorGenerator.kt:139 */
  540   1018   
        }
        1019  +
        /* ServerOperationErrorGenerator.kt:101 */
  541   1020   
    }
        1021  +
    /* ServerOperationErrorGenerator.kt:100 */
  542   1022   
}
        1023  +
/* ServerOperationErrorGenerator.kt:110 */
  543   1024   
impl ::std::convert::From<crate::error::ValidationException>
  544   1025   
    for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  545   1026   
{
        1027  +
    /* ServerOperationErrorGenerator.kt:111 */
  546   1028   
    fn from(
  547   1029   
        variant: crate::error::ValidationException,
  548   1030   
    ) -> crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError {
        1031  +
        /* ServerOperationErrorGenerator.kt:112 */
  549   1032   
        Self::ValidationException(variant)
        1033  +
        /* ServerOperationErrorGenerator.kt:111 */
  550   1034   
    }
        1035  +
    /* ServerOperationErrorGenerator.kt:110 */
  551   1036   
}
  552   1037   
        1038  +
/* ServerOperationErrorGenerator.kt:63 */
  553   1039   
/// Error type for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
        1040  +
/* ServerOperationErrorGenerator.kt:64 */
  554   1041   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthListOfPatternStringOperation` operation.
        1042  +
/* RustType.kt:516 */
  555   1043   
#[derive(::std::fmt::Debug)]
  556         -
pub enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
  557         -
    /// 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.
        1044  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
        1045  +
{
        1046  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1047  +
    /* ServerOperationErrorGenerator.kt:71 */
  558   1048   
    ValidationException(crate::error::ValidationException),
        1049  +
    /* ServerOperationErrorGenerator.kt:66 */
  559   1050   
}
        1051  +
/* ServerOperationErrorGenerator.kt:75 */
  560   1052   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1053  +
    /* ServerOperationErrorGenerator.kt:76 */
  561   1054   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1055  +
        /* ServerOperationErrorGenerator.kt:139 */
  562   1056   
        match &self {
  563         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  564         -
            _inner.fmt(f)
        1057  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        1058  +
            /* ServerOperationErrorGenerator.kt:78 */_inner.fmt(f)
  565   1059   
            ,
  566         -
        }
        1060  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1061  +
        /* ServerOperationErrorGenerator.kt:76 */
  567   1062   
    }
        1063  +
    /* ServerOperationErrorGenerator.kt:75 */
  568   1064   
}
        1065  +
/* ServerOperationErrorGenerator.kt:83 */
  569   1066   
impl QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1067  +
    /* ServerOperationErrorGenerator.kt:87 */
  570   1068   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException`.
        1069  +
    /* ServerOperationErrorGenerator.kt:88 */
  571   1070   
    pub fn is_validation_exception(&self) -> bool {
        1071  +
        /* ServerOperationErrorGenerator.kt:89 */
  572   1072   
        matches!(
  573   1073   
            &self,
  574   1074   
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(
  575   1075   
                _
  576   1076   
            )
  577   1077   
        )
        1078  +
        /* ServerOperationErrorGenerator.kt:88 */
  578   1079   
    }
        1080  +
    /* ServerOperationErrorGenerator.kt:92 */
  579   1081   
    /// Returns the error name string by matching the correct variant.
        1082  +
    /* ServerOperationErrorGenerator.kt:93 */
  580   1083   
    pub fn name(&self) -> &'static str {
        1084  +
        /* ServerOperationErrorGenerator.kt:139 */
  581   1085   
        match &self {
  582         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  583         -
            _inner.name()
        1086  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        1087  +
            /* ServerOperationErrorGenerator.kt:95 */_inner.name()
  584   1088   
            ,
  585         -
        }
        1089  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1090  +
        /* ServerOperationErrorGenerator.kt:93 */
  586   1091   
    }
        1092  +
    /* ServerOperationErrorGenerator.kt:83 */
  587   1093   
}
        1094  +
/* ServerOperationErrorGenerator.kt:100 */
  588   1095   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1096  +
    /* ServerOperationErrorGenerator.kt:101 */
  589   1097   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1098  +
        /* ServerOperationErrorGenerator.kt:139 */
  590   1099   
        match &self {
  591         -
            QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
  592         -
            Some(_inner)
        1100  +
            /* ServerOperationErrorGenerator.kt:142 */QueryParamsTargetingMapOfLengthListOfPatternStringOperationError::ValidationException(_inner) =>
        1101  +
            /* ServerOperationErrorGenerator.kt:103 */Some(_inner)
  593   1102   
            ,
  594         -
        }
        1103  +
        /* ServerOperationErrorGenerator.kt:139 */}
        1104  +
        /* ServerOperationErrorGenerator.kt:101 */
  595   1105   
    }
        1106  +
    /* ServerOperationErrorGenerator.kt:100 */
  596   1107   
}
        1108  +
/* ServerOperationErrorGenerator.kt:110 */
  597   1109   
impl ::std::convert::From<crate::error::ValidationException>
  598   1110   
    for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
  599   1111   
{
        1112  +
    /* ServerOperationErrorGenerator.kt:111 */
  600   1113   
    fn from(
  601   1114   
        variant: crate::error::ValidationException,
  602   1115   
    ) -> crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError {
        1116  +
        /* ServerOperationErrorGenerator.kt:112 */
  603   1117   
        Self::ValidationException(variant)
        1118  +
        /* ServerOperationErrorGenerator.kt:111 */
  604   1119   
    }
        1120  +
    /* ServerOperationErrorGenerator.kt:110 */
  605   1121   
}
  606   1122   
        1123  +
/* ServerOperationErrorGenerator.kt:63 */
  607   1124   
/// Error type for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        1125  +
/* ServerOperationErrorGenerator.kt:64 */
  608   1126   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfSetOfLengthStringOperation` operation.
        1127  +
/* RustType.kt:516 */
  609   1128   
#[derive(::std::fmt::Debug)]
  610         -
pub enum QueryParamsTargetingMapOfSetOfLengthStringOperationError {
  611         -
    /// 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.
        1129  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfSetOfLengthStringOperationError
        1130  +
{
        1131  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1132  +
    /* ServerOperationErrorGenerator.kt:71 */
  612   1133   
    ValidationException(crate::error::ValidationException),
        1134  +
    /* ServerOperationErrorGenerator.kt:66 */
  613   1135   
}
        1136  +
/* ServerOperationErrorGenerator.kt:75 */
  614   1137   
impl ::std::fmt::Display for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1138  +
    /* ServerOperationErrorGenerator.kt:76 */
  615   1139   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1140  +
        /* ServerOperationErrorGenerator.kt:139 */
  616   1141   
        match &self {
        1142  +
            /* ServerOperationErrorGenerator.kt:142 */
  617   1143   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  618   1144   
                _inner,
  619         -
            ) => _inner.fmt(f),
        1145  +
            ) =>
        1146  +
            /* ServerOperationErrorGenerator.kt:78 */
        1147  +
            {
        1148  +
                _inner.fmt(f)
        1149  +
            }
        1150  +
            /* ServerOperationErrorGenerator.kt:139 */
  620   1151   
        }
        1152  +
        /* ServerOperationErrorGenerator.kt:76 */
  621   1153   
    }
        1154  +
    /* ServerOperationErrorGenerator.kt:75 */
  622   1155   
}
        1156  +
/* ServerOperationErrorGenerator.kt:83 */
  623   1157   
impl QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1158  +
    /* ServerOperationErrorGenerator.kt:87 */
  624   1159   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException`.
        1160  +
    /* ServerOperationErrorGenerator.kt:88 */
  625   1161   
    pub fn is_validation_exception(&self) -> bool {
        1162  +
        /* ServerOperationErrorGenerator.kt:89 */
  626   1163   
        matches!(
  627   1164   
            &self,
  628   1165   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(_)
  629   1166   
        )
        1167  +
        /* ServerOperationErrorGenerator.kt:88 */
  630   1168   
    }
        1169  +
    /* ServerOperationErrorGenerator.kt:92 */
  631   1170   
    /// Returns the error name string by matching the correct variant.
        1171  +
    /* ServerOperationErrorGenerator.kt:93 */
  632   1172   
    pub fn name(&self) -> &'static str {
        1173  +
        /* ServerOperationErrorGenerator.kt:139 */
  633   1174   
        match &self {
        1175  +
            /* ServerOperationErrorGenerator.kt:142 */
  634   1176   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  635   1177   
                _inner,
  636         -
            ) => _inner.name(),
        1178  +
            ) =>
        1179  +
            /* ServerOperationErrorGenerator.kt:95 */
        1180  +
            {
        1181  +
                _inner.name()
        1182  +
            }
        1183  +
            /* ServerOperationErrorGenerator.kt:139 */
  637   1184   
        }
        1185  +
        /* ServerOperationErrorGenerator.kt:93 */
  638   1186   
    }
        1187  +
    /* ServerOperationErrorGenerator.kt:83 */
  639   1188   
}
        1189  +
/* ServerOperationErrorGenerator.kt:100 */
  640   1190   
impl ::std::error::Error for QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1191  +
    /* ServerOperationErrorGenerator.kt:101 */
  641   1192   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1193  +
        /* ServerOperationErrorGenerator.kt:139 */
  642   1194   
        match &self {
        1195  +
            /* ServerOperationErrorGenerator.kt:142 */
  643   1196   
            QueryParamsTargetingMapOfSetOfLengthStringOperationError::ValidationException(
  644   1197   
                _inner,
  645         -
            ) => Some(_inner),
        1198  +
            ) =>
        1199  +
            /* ServerOperationErrorGenerator.kt:103 */
        1200  +
            {
        1201  +
                Some(_inner)
        1202  +
            }
        1203  +
            /* ServerOperationErrorGenerator.kt:139 */
  646   1204   
        }
        1205  +
        /* ServerOperationErrorGenerator.kt:101 */
  647   1206   
    }
        1207  +
    /* ServerOperationErrorGenerator.kt:100 */
  648   1208   
}
        1209  +
/* ServerOperationErrorGenerator.kt:110 */
  649   1210   
impl ::std::convert::From<crate::error::ValidationException>
  650   1211   
    for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
  651   1212   
{
        1213  +
    /* ServerOperationErrorGenerator.kt:111 */
  652   1214   
    fn from(
  653   1215   
        variant: crate::error::ValidationException,
  654   1216   
    ) -> crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError {
        1217  +
        /* ServerOperationErrorGenerator.kt:112 */
  655   1218   
        Self::ValidationException(variant)
        1219  +
        /* ServerOperationErrorGenerator.kt:111 */
  656   1220   
    }
        1221  +
    /* ServerOperationErrorGenerator.kt:110 */
  657   1222   
}
  658   1223   
        1224  +
/* ServerOperationErrorGenerator.kt:63 */
  659   1225   
/// Error type for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        1226  +
/* ServerOperationErrorGenerator.kt:64 */
  660   1227   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfListOfLengthStringOperation` operation.
        1228  +
/* RustType.kt:516 */
  661   1229   
#[derive(::std::fmt::Debug)]
  662         -
pub enum QueryParamsTargetingMapOfListOfLengthStringOperationError {
  663         -
    /// 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.
        1230  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfListOfLengthStringOperationError
        1231  +
{
        1232  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1233  +
    /* ServerOperationErrorGenerator.kt:71 */
  664   1234   
    ValidationException(crate::error::ValidationException),
        1235  +
    /* ServerOperationErrorGenerator.kt:66 */
  665   1236   
}
        1237  +
/* ServerOperationErrorGenerator.kt:75 */
  666   1238   
impl ::std::fmt::Display for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1239  +
    /* ServerOperationErrorGenerator.kt:76 */
  667   1240   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1241  +
        /* ServerOperationErrorGenerator.kt:139 */
  668   1242   
        match &self {
        1243  +
            /* ServerOperationErrorGenerator.kt:142 */
  669   1244   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  670   1245   
                _inner,
  671         -
            ) => _inner.fmt(f),
        1246  +
            ) =>
        1247  +
            /* ServerOperationErrorGenerator.kt:78 */
        1248  +
            {
        1249  +
                _inner.fmt(f)
        1250  +
            }
        1251  +
            /* ServerOperationErrorGenerator.kt:139 */
  672   1252   
        }
        1253  +
        /* ServerOperationErrorGenerator.kt:76 */
  673   1254   
    }
        1255  +
    /* ServerOperationErrorGenerator.kt:75 */
  674   1256   
}
        1257  +
/* ServerOperationErrorGenerator.kt:83 */
  675   1258   
impl QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1259  +
    /* ServerOperationErrorGenerator.kt:87 */
  676   1260   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException`.
        1261  +
    /* ServerOperationErrorGenerator.kt:88 */
  677   1262   
    pub fn is_validation_exception(&self) -> bool {
        1263  +
        /* ServerOperationErrorGenerator.kt:89 */
  678   1264   
        matches!(
  679   1265   
            &self,
  680   1266   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(_)
  681   1267   
        )
        1268  +
        /* ServerOperationErrorGenerator.kt:88 */
  682   1269   
    }
        1270  +
    /* ServerOperationErrorGenerator.kt:92 */
  683   1271   
    /// Returns the error name string by matching the correct variant.
        1272  +
    /* ServerOperationErrorGenerator.kt:93 */
  684   1273   
    pub fn name(&self) -> &'static str {
        1274  +
        /* ServerOperationErrorGenerator.kt:139 */
  685   1275   
        match &self {
        1276  +
            /* ServerOperationErrorGenerator.kt:142 */
  686   1277   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  687   1278   
                _inner,
  688         -
            ) => _inner.name(),
        1279  +
            ) =>
        1280  +
            /* ServerOperationErrorGenerator.kt:95 */
        1281  +
            {
        1282  +
                _inner.name()
        1283  +
            }
        1284  +
            /* ServerOperationErrorGenerator.kt:139 */
  689   1285   
        }
        1286  +
        /* ServerOperationErrorGenerator.kt:93 */
  690   1287   
    }
        1288  +
    /* ServerOperationErrorGenerator.kt:83 */
  691   1289   
}
        1290  +
/* ServerOperationErrorGenerator.kt:100 */
  692   1291   
impl ::std::error::Error for QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1292  +
    /* ServerOperationErrorGenerator.kt:101 */
  693   1293   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1294  +
        /* ServerOperationErrorGenerator.kt:139 */
  694   1295   
        match &self {
        1296  +
            /* ServerOperationErrorGenerator.kt:142 */
  695   1297   
            QueryParamsTargetingMapOfListOfLengthStringOperationError::ValidationException(
  696   1298   
                _inner,
  697         -
            ) => Some(_inner),
        1299  +
            ) =>
        1300  +
            /* ServerOperationErrorGenerator.kt:103 */
        1301  +
            {
        1302  +
                Some(_inner)
        1303  +
            }
        1304  +
            /* ServerOperationErrorGenerator.kt:139 */
  698   1305   
        }
        1306  +
        /* ServerOperationErrorGenerator.kt:101 */
  699   1307   
    }
        1308  +
    /* ServerOperationErrorGenerator.kt:100 */
  700   1309   
}
        1310  +
/* ServerOperationErrorGenerator.kt:110 */
  701   1311   
impl ::std::convert::From<crate::error::ValidationException>
  702   1312   
    for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
  703   1313   
{
        1314  +
    /* ServerOperationErrorGenerator.kt:111 */
  704   1315   
    fn from(
  705   1316   
        variant: crate::error::ValidationException,
  706   1317   
    ) -> crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError {
        1318  +
        /* ServerOperationErrorGenerator.kt:112 */
  707   1319   
        Self::ValidationException(variant)
        1320  +
        /* ServerOperationErrorGenerator.kt:111 */
  708   1321   
    }
        1322  +
    /* ServerOperationErrorGenerator.kt:110 */
  709   1323   
}
  710   1324   
        1325  +
/* ServerOperationErrorGenerator.kt:63 */
  711   1326   
/// Error type for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        1327  +
/* ServerOperationErrorGenerator.kt:64 */
  712   1328   
/// Each variant represents an error that can occur for the `QueryParamsTargetingMapOfLengthStringOperation` operation.
        1329  +
/* RustType.kt:516 */
  713   1330   
#[derive(::std::fmt::Debug)]
  714         -
pub enum QueryParamsTargetingMapOfLengthStringOperationError {
  715         -
    /// 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.
        1331  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingMapOfLengthStringOperationError
        1332  +
{
        1333  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1334  +
    /* ServerOperationErrorGenerator.kt:71 */
  716   1335   
    ValidationException(crate::error::ValidationException),
        1336  +
    /* ServerOperationErrorGenerator.kt:66 */
  717   1337   
}
        1338  +
/* ServerOperationErrorGenerator.kt:75 */
  718   1339   
impl ::std::fmt::Display for QueryParamsTargetingMapOfLengthStringOperationError {
        1340  +
    /* ServerOperationErrorGenerator.kt:76 */
  719   1341   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1342  +
        /* ServerOperationErrorGenerator.kt:139 */
  720   1343   
        match &self {
  721         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1344  +
            /* ServerOperationErrorGenerator.kt:142 */
        1345  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        1346  +
            /* ServerOperationErrorGenerator.kt:78 */
        1347  +
            {
  722   1348   
                _inner.fmt(f)
  723   1349   
            }
        1350  +
            /* ServerOperationErrorGenerator.kt:139 */
  724   1351   
        }
        1352  +
        /* ServerOperationErrorGenerator.kt:76 */
  725   1353   
    }
        1354  +
    /* ServerOperationErrorGenerator.kt:75 */
  726   1355   
}
        1356  +
/* ServerOperationErrorGenerator.kt:83 */
  727   1357   
impl QueryParamsTargetingMapOfLengthStringOperationError {
        1358  +
    /* ServerOperationErrorGenerator.kt:87 */
  728   1359   
    /// Returns `true` if the error kind is `QueryParamsTargetingMapOfLengthStringOperationError::ValidationException`.
        1360  +
    /* ServerOperationErrorGenerator.kt:88 */
  729   1361   
    pub fn is_validation_exception(&self) -> bool {
        1362  +
        /* ServerOperationErrorGenerator.kt:89 */
  730   1363   
        matches!(
  731   1364   
            &self,
  732   1365   
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_)
  733   1366   
        )
        1367  +
        /* ServerOperationErrorGenerator.kt:88 */
  734   1368   
    }
        1369  +
    /* ServerOperationErrorGenerator.kt:92 */
  735   1370   
    /// Returns the error name string by matching the correct variant.
        1371  +
    /* ServerOperationErrorGenerator.kt:93 */
  736   1372   
    pub fn name(&self) -> &'static str {
        1373  +
        /* ServerOperationErrorGenerator.kt:139 */
  737   1374   
        match &self {
  738         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1375  +
            /* ServerOperationErrorGenerator.kt:142 */
        1376  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        1377  +
            /* ServerOperationErrorGenerator.kt:95 */
        1378  +
            {
  739   1379   
                _inner.name()
  740   1380   
            }
        1381  +
            /* ServerOperationErrorGenerator.kt:139 */
  741   1382   
        }
        1383  +
        /* ServerOperationErrorGenerator.kt:93 */
  742   1384   
    }
        1385  +
    /* ServerOperationErrorGenerator.kt:83 */
  743   1386   
}
        1387  +
/* ServerOperationErrorGenerator.kt:100 */
  744   1388   
impl ::std::error::Error for QueryParamsTargetingMapOfLengthStringOperationError {
        1389  +
    /* ServerOperationErrorGenerator.kt:101 */
  745   1390   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1391  +
        /* ServerOperationErrorGenerator.kt:139 */
  746   1392   
        match &self {
  747         -
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) => {
        1393  +
            /* ServerOperationErrorGenerator.kt:142 */
        1394  +
            QueryParamsTargetingMapOfLengthStringOperationError::ValidationException(_inner) =>
        1395  +
            /* ServerOperationErrorGenerator.kt:103 */
        1396  +
            {
  748   1397   
                Some(_inner)
  749   1398   
            }
        1399  +
            /* ServerOperationErrorGenerator.kt:139 */
  750   1400   
        }
        1401  +
        /* ServerOperationErrorGenerator.kt:101 */
  751   1402   
    }
        1403  +
    /* ServerOperationErrorGenerator.kt:100 */
  752   1404   
}
        1405  +
/* ServerOperationErrorGenerator.kt:110 */
  753   1406   
impl ::std::convert::From<crate::error::ValidationException>
  754   1407   
    for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
  755   1408   
{
        1409  +
    /* ServerOperationErrorGenerator.kt:111 */
  756   1410   
    fn from(
  757   1411   
        variant: crate::error::ValidationException,
  758   1412   
    ) -> crate::error::QueryParamsTargetingMapOfLengthStringOperationError {
        1413  +
        /* ServerOperationErrorGenerator.kt:112 */
  759   1414   
        Self::ValidationException(variant)
        1415  +
        /* ServerOperationErrorGenerator.kt:111 */
  760   1416   
    }
        1417  +
    /* ServerOperationErrorGenerator.kt:110 */
  761   1418   
}
  762   1419   
        1420  +
/* ServerOperationErrorGenerator.kt:63 */
  763   1421   
/// Error type for the `QueryParamsTargetingLengthMapOperation` operation.
        1422  +
/* ServerOperationErrorGenerator.kt:64 */
  764   1423   
/// Each variant represents an error that can occur for the `QueryParamsTargetingLengthMapOperation` operation.
        1424  +
/* RustType.kt:516 */
  765   1425   
#[derive(::std::fmt::Debug)]
  766         -
pub enum QueryParamsTargetingLengthMapOperationError {
  767         -
    /// 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.
        1426  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum QueryParamsTargetingLengthMapOperationError {
        1427  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1428  +
    /* ServerOperationErrorGenerator.kt:71 */
  768   1429   
    ValidationException(crate::error::ValidationException),
        1430  +
    /* ServerOperationErrorGenerator.kt:66 */
  769   1431   
}
        1432  +
/* ServerOperationErrorGenerator.kt:75 */
  770   1433   
impl ::std::fmt::Display for QueryParamsTargetingLengthMapOperationError {
        1434  +
    /* ServerOperationErrorGenerator.kt:76 */
  771   1435   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1436  +
        /* ServerOperationErrorGenerator.kt:139 */
  772   1437   
        match &self {
  773         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1438  +
            /* ServerOperationErrorGenerator.kt:142 */
        1439  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        1440  +
            /* ServerOperationErrorGenerator.kt:78 */
        1441  +
            {
  774   1442   
                _inner.fmt(f)
  775   1443   
            }
        1444  +
            /* ServerOperationErrorGenerator.kt:139 */
  776   1445   
        }
        1446  +
        /* ServerOperationErrorGenerator.kt:76 */
  777   1447   
    }
        1448  +
    /* ServerOperationErrorGenerator.kt:75 */
  778   1449   
}
        1450  +
/* ServerOperationErrorGenerator.kt:83 */
  779   1451   
impl QueryParamsTargetingLengthMapOperationError {
        1452  +
    /* ServerOperationErrorGenerator.kt:87 */
  780   1453   
    /// Returns `true` if the error kind is `QueryParamsTargetingLengthMapOperationError::ValidationException`.
        1454  +
    /* ServerOperationErrorGenerator.kt:88 */
  781   1455   
    pub fn is_validation_exception(&self) -> bool {
        1456  +
        /* ServerOperationErrorGenerator.kt:89 */
  782   1457   
        matches!(
  783   1458   
            &self,
  784   1459   
            QueryParamsTargetingLengthMapOperationError::ValidationException(_)
  785   1460   
        )
        1461  +
        /* ServerOperationErrorGenerator.kt:88 */
  786   1462   
    }
        1463  +
    /* ServerOperationErrorGenerator.kt:92 */
  787   1464   
    /// Returns the error name string by matching the correct variant.
        1465  +
    /* ServerOperationErrorGenerator.kt:93 */
  788   1466   
    pub fn name(&self) -> &'static str {
        1467  +
        /* ServerOperationErrorGenerator.kt:139 */
  789   1468   
        match &self {
  790         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1469  +
            /* ServerOperationErrorGenerator.kt:142 */
        1470  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        1471  +
            /* ServerOperationErrorGenerator.kt:95 */
        1472  +
            {
  791   1473   
                _inner.name()
  792   1474   
            }
        1475  +
            /* ServerOperationErrorGenerator.kt:139 */
  793   1476   
        }
        1477  +
        /* ServerOperationErrorGenerator.kt:93 */
  794   1478   
    }
        1479  +
    /* ServerOperationErrorGenerator.kt:83 */
  795   1480   
}
        1481  +
/* ServerOperationErrorGenerator.kt:100 */
  796   1482   
impl ::std::error::Error for QueryParamsTargetingLengthMapOperationError {
        1483  +
    /* ServerOperationErrorGenerator.kt:101 */
  797   1484   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1485  +
        /* ServerOperationErrorGenerator.kt:139 */
  798   1486   
        match &self {
  799         -
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) => {
        1487  +
            /* ServerOperationErrorGenerator.kt:142 */
        1488  +
            QueryParamsTargetingLengthMapOperationError::ValidationException(_inner) =>
        1489  +
            /* ServerOperationErrorGenerator.kt:103 */
        1490  +
            {
  800   1491   
                Some(_inner)
  801   1492   
            }
        1493  +
            /* ServerOperationErrorGenerator.kt:139 */
  802   1494   
        }
        1495  +
        /* ServerOperationErrorGenerator.kt:101 */
  803   1496   
    }
        1497  +
    /* ServerOperationErrorGenerator.kt:100 */
  804   1498   
}
        1499  +
/* ServerOperationErrorGenerator.kt:110 */
  805   1500   
impl ::std::convert::From<crate::error::ValidationException>
  806   1501   
    for crate::error::QueryParamsTargetingLengthMapOperationError
  807   1502   
{
        1503  +
    /* ServerOperationErrorGenerator.kt:111 */
  808   1504   
    fn from(
  809   1505   
        variant: crate::error::ValidationException,
  810   1506   
    ) -> crate::error::QueryParamsTargetingLengthMapOperationError {
        1507  +
        /* ServerOperationErrorGenerator.kt:112 */
  811   1508   
        Self::ValidationException(variant)
        1509  +
        /* ServerOperationErrorGenerator.kt:111 */
  812   1510   
    }
        1511  +
    /* ServerOperationErrorGenerator.kt:110 */
  813   1512   
}
  814   1513   
        1514  +
/* ServerOperationErrorGenerator.kt:63 */
  815   1515   
/// Error type for the `ConstrainedRecursiveShapesOperation` operation.
        1516  +
/* ServerOperationErrorGenerator.kt:64 */
  816   1517   
/// Each variant represents an error that can occur for the `ConstrainedRecursiveShapesOperation` operation.
        1518  +
/* RustType.kt:516 */
  817   1519   
#[derive(::std::fmt::Debug)]
  818         -
pub enum ConstrainedRecursiveShapesOperationError {
  819         -
    /// 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.
        1520  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedRecursiveShapesOperationError {
        1521  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1522  +
    /* ServerOperationErrorGenerator.kt:71 */
  820   1523   
    ValidationException(crate::error::ValidationException),
        1524  +
    /* ServerOperationErrorGenerator.kt:66 */
  821   1525   
}
        1526  +
/* ServerOperationErrorGenerator.kt:75 */
  822   1527   
impl ::std::fmt::Display for ConstrainedRecursiveShapesOperationError {
        1528  +
    /* ServerOperationErrorGenerator.kt:76 */
  823   1529   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1530  +
        /* ServerOperationErrorGenerator.kt:139 */
  824   1531   
        match &self {
  825         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
        1532  +
            /* ServerOperationErrorGenerator.kt:142 */
        1533  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        1534  +
            /* ServerOperationErrorGenerator.kt:78 */
        1535  +
            {
        1536  +
                _inner.fmt(f)
        1537  +
            }
        1538  +
            /* ServerOperationErrorGenerator.kt:139 */
  826   1539   
        }
        1540  +
        /* ServerOperationErrorGenerator.kt:76 */
  827   1541   
    }
        1542  +
    /* ServerOperationErrorGenerator.kt:75 */
  828   1543   
}
        1544  +
/* ServerOperationErrorGenerator.kt:83 */
  829   1545   
impl ConstrainedRecursiveShapesOperationError {
        1546  +
    /* ServerOperationErrorGenerator.kt:87 */
  830   1547   
    /// Returns `true` if the error kind is `ConstrainedRecursiveShapesOperationError::ValidationException`.
        1548  +
    /* ServerOperationErrorGenerator.kt:88 */
  831   1549   
    pub fn is_validation_exception(&self) -> bool {
        1550  +
        /* ServerOperationErrorGenerator.kt:89 */
  832   1551   
        matches!(
  833   1552   
            &self,
  834   1553   
            ConstrainedRecursiveShapesOperationError::ValidationException(_)
  835   1554   
        )
        1555  +
        /* ServerOperationErrorGenerator.kt:88 */
  836   1556   
    }
        1557  +
    /* ServerOperationErrorGenerator.kt:92 */
  837   1558   
    /// Returns the error name string by matching the correct variant.
        1559  +
    /* ServerOperationErrorGenerator.kt:93 */
  838   1560   
    pub fn name(&self) -> &'static str {
        1561  +
        /* ServerOperationErrorGenerator.kt:139 */
  839   1562   
        match &self {
  840         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => _inner.name(),
        1563  +
            /* ServerOperationErrorGenerator.kt:142 */
        1564  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        1565  +
            /* ServerOperationErrorGenerator.kt:95 */
        1566  +
            {
        1567  +
                _inner.name()
        1568  +
            }
        1569  +
            /* ServerOperationErrorGenerator.kt:139 */
  841   1570   
        }
        1571  +
        /* ServerOperationErrorGenerator.kt:93 */
  842   1572   
    }
        1573  +
    /* ServerOperationErrorGenerator.kt:83 */
  843   1574   
}
        1575  +
/* ServerOperationErrorGenerator.kt:100 */
  844   1576   
impl ::std::error::Error for ConstrainedRecursiveShapesOperationError {
        1577  +
    /* ServerOperationErrorGenerator.kt:101 */
  845   1578   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1579  +
        /* ServerOperationErrorGenerator.kt:139 */
  846   1580   
        match &self {
  847         -
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) => Some(_inner),
        1581  +
            /* ServerOperationErrorGenerator.kt:142 */
        1582  +
            ConstrainedRecursiveShapesOperationError::ValidationException(_inner) =>
        1583  +
            /* ServerOperationErrorGenerator.kt:103 */
        1584  +
            {
        1585  +
                Some(_inner)
        1586  +
            }
        1587  +
            /* ServerOperationErrorGenerator.kt:139 */
  848   1588   
        }
        1589  +
        /* ServerOperationErrorGenerator.kt:101 */
  849   1590   
    }
        1591  +
    /* ServerOperationErrorGenerator.kt:100 */
  850   1592   
}
        1593  +
/* ServerOperationErrorGenerator.kt:110 */
  851   1594   
impl ::std::convert::From<crate::error::ValidationException>
  852   1595   
    for crate::error::ConstrainedRecursiveShapesOperationError
  853   1596   
{
        1597  +
    /* ServerOperationErrorGenerator.kt:111 */
  854   1598   
    fn from(
  855   1599   
        variant: crate::error::ValidationException,
  856   1600   
    ) -> crate::error::ConstrainedRecursiveShapesOperationError {
        1601  +
        /* ServerOperationErrorGenerator.kt:112 */
  857   1602   
        Self::ValidationException(variant)
        1603  +
        /* ServerOperationErrorGenerator.kt:111 */
  858   1604   
    }
        1605  +
    /* ServerOperationErrorGenerator.kt:110 */
  859   1606   
}
  860   1607   
        1608  +
/* ServerOperationErrorGenerator.kt:63 */
  861   1609   
/// Error type for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        1610  +
/* ServerOperationErrorGenerator.kt:64 */
  862   1611   
/// Each variant represents an error that can occur for the `ConstrainedHttpPayloadBoundShapeOperation` operation.
        1612  +
/* RustType.kt:516 */
  863   1613   
#[derive(::std::fmt::Debug)]
  864         -
pub enum ConstrainedHttpPayloadBoundShapeOperationError {
  865         -
    /// 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.
        1614  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedHttpPayloadBoundShapeOperationError {
        1615  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1616  +
    /* ServerOperationErrorGenerator.kt:71 */
  866   1617   
    ValidationException(crate::error::ValidationException),
        1618  +
    /* ServerOperationErrorGenerator.kt:66 */
  867   1619   
}
        1620  +
/* ServerOperationErrorGenerator.kt:75 */
  868   1621   
impl ::std::fmt::Display for ConstrainedHttpPayloadBoundShapeOperationError {
        1622  +
    /* ServerOperationErrorGenerator.kt:76 */
  869   1623   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1624  +
        /* ServerOperationErrorGenerator.kt:139 */
  870   1625   
        match &self {
  871         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        1626  +
            /* ServerOperationErrorGenerator.kt:142 */
        1627  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        1628  +
            /* ServerOperationErrorGenerator.kt:78 */
        1629  +
            {
  872   1630   
                _inner.fmt(f)
  873   1631   
            }
        1632  +
            /* ServerOperationErrorGenerator.kt:139 */
  874   1633   
        }
        1634  +
        /* ServerOperationErrorGenerator.kt:76 */
  875   1635   
    }
        1636  +
    /* ServerOperationErrorGenerator.kt:75 */
  876   1637   
}
        1638  +
/* ServerOperationErrorGenerator.kt:83 */
  877   1639   
impl ConstrainedHttpPayloadBoundShapeOperationError {
        1640  +
    /* ServerOperationErrorGenerator.kt:87 */
  878   1641   
    /// Returns `true` if the error kind is `ConstrainedHttpPayloadBoundShapeOperationError::ValidationException`.
        1642  +
    /* ServerOperationErrorGenerator.kt:88 */
  879   1643   
    pub fn is_validation_exception(&self) -> bool {
        1644  +
        /* ServerOperationErrorGenerator.kt:89 */
  880   1645   
        matches!(
  881   1646   
            &self,
  882   1647   
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_)
  883   1648   
        )
        1649  +
        /* ServerOperationErrorGenerator.kt:88 */
  884   1650   
    }
        1651  +
    /* ServerOperationErrorGenerator.kt:92 */
  885   1652   
    /// Returns the error name string by matching the correct variant.
        1653  +
    /* ServerOperationErrorGenerator.kt:93 */
  886   1654   
    pub fn name(&self) -> &'static str {
        1655  +
        /* ServerOperationErrorGenerator.kt:139 */
  887   1656   
        match &self {
  888         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        1657  +
            /* ServerOperationErrorGenerator.kt:142 */
        1658  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        1659  +
            /* ServerOperationErrorGenerator.kt:95 */
        1660  +
            {
  889   1661   
                _inner.name()
  890   1662   
            }
        1663  +
            /* ServerOperationErrorGenerator.kt:139 */
  891   1664   
        }
        1665  +
        /* ServerOperationErrorGenerator.kt:93 */
  892   1666   
    }
        1667  +
    /* ServerOperationErrorGenerator.kt:83 */
  893   1668   
}
        1669  +
/* ServerOperationErrorGenerator.kt:100 */
  894   1670   
impl ::std::error::Error for ConstrainedHttpPayloadBoundShapeOperationError {
        1671  +
    /* ServerOperationErrorGenerator.kt:101 */
  895   1672   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1673  +
        /* ServerOperationErrorGenerator.kt:139 */
  896   1674   
        match &self {
  897         -
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) => {
        1675  +
            /* ServerOperationErrorGenerator.kt:142 */
        1676  +
            ConstrainedHttpPayloadBoundShapeOperationError::ValidationException(_inner) =>
        1677  +
            /* ServerOperationErrorGenerator.kt:103 */
        1678  +
            {
  898   1679   
                Some(_inner)
  899   1680   
            }
        1681  +
            /* ServerOperationErrorGenerator.kt:139 */
  900   1682   
        }
        1683  +
        /* ServerOperationErrorGenerator.kt:101 */
  901   1684   
    }
        1685  +
    /* ServerOperationErrorGenerator.kt:100 */
  902   1686   
}
        1687  +
/* ServerOperationErrorGenerator.kt:110 */
  903   1688   
impl ::std::convert::From<crate::error::ValidationException>
  904   1689   
    for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
  905   1690   
{
        1691  +
    /* ServerOperationErrorGenerator.kt:111 */
  906   1692   
    fn from(
  907   1693   
        variant: crate::error::ValidationException,
  908   1694   
    ) -> crate::error::ConstrainedHttpPayloadBoundShapeOperationError {
        1695  +
        /* ServerOperationErrorGenerator.kt:112 */
  909   1696   
        Self::ValidationException(variant)
        1697  +
        /* ServerOperationErrorGenerator.kt:111 */
  910   1698   
    }
        1699  +
    /* ServerOperationErrorGenerator.kt:110 */
  911   1700   
}
  912   1701   
        1702  +
/* ServerOperationErrorGenerator.kt:63 */
  913   1703   
/// Error type for the `ConstrainedHttpBoundShapesOperation` operation.
        1704  +
/* ServerOperationErrorGenerator.kt:64 */
  914   1705   
/// Each variant represents an error that can occur for the `ConstrainedHttpBoundShapesOperation` operation.
        1706  +
/* RustType.kt:516 */
  915   1707   
#[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.
        1708  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedHttpBoundShapesOperationError {
        1709  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1710  +
    /* ServerOperationErrorGenerator.kt:71 */
  918   1711   
    ValidationException(crate::error::ValidationException),
        1712  +
    /* ServerOperationErrorGenerator.kt:66 */
  919   1713   
}
        1714  +
/* ServerOperationErrorGenerator.kt:75 */
  920   1715   
impl ::std::fmt::Display for ConstrainedHttpBoundShapesOperationError {
        1716  +
    /* ServerOperationErrorGenerator.kt:76 */
  921   1717   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1718  +
        /* ServerOperationErrorGenerator.kt:139 */
  922   1719   
        match &self {
  923         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
        1720  +
            /* ServerOperationErrorGenerator.kt:142 */
        1721  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        1722  +
            /* ServerOperationErrorGenerator.kt:78 */
        1723  +
            {
        1724  +
                _inner.fmt(f)
        1725  +
            }
        1726  +
            /* ServerOperationErrorGenerator.kt:139 */
  924   1727   
        }
        1728  +
        /* ServerOperationErrorGenerator.kt:76 */
  925   1729   
    }
        1730  +
    /* ServerOperationErrorGenerator.kt:75 */
  926   1731   
}
        1732  +
/* ServerOperationErrorGenerator.kt:83 */
  927   1733   
impl ConstrainedHttpBoundShapesOperationError {
        1734  +
    /* ServerOperationErrorGenerator.kt:87 */
  928   1735   
    /// Returns `true` if the error kind is `ConstrainedHttpBoundShapesOperationError::ValidationException`.
        1736  +
    /* ServerOperationErrorGenerator.kt:88 */
  929   1737   
    pub fn is_validation_exception(&self) -> bool {
        1738  +
        /* ServerOperationErrorGenerator.kt:89 */
  930   1739   
        matches!(
  931   1740   
            &self,
  932   1741   
            ConstrainedHttpBoundShapesOperationError::ValidationException(_)
  933   1742   
        )
        1743  +
        /* ServerOperationErrorGenerator.kt:88 */
  934   1744   
    }
        1745  +
    /* ServerOperationErrorGenerator.kt:92 */
  935   1746   
    /// Returns the error name string by matching the correct variant.
        1747  +
    /* ServerOperationErrorGenerator.kt:93 */
  936   1748   
    pub fn name(&self) -> &'static str {
        1749  +
        /* ServerOperationErrorGenerator.kt:139 */
  937   1750   
        match &self {
  938         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => _inner.name(),
        1751  +
            /* ServerOperationErrorGenerator.kt:142 */
        1752  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        1753  +
            /* ServerOperationErrorGenerator.kt:95 */
        1754  +
            {
        1755  +
                _inner.name()
        1756  +
            }
        1757  +
            /* ServerOperationErrorGenerator.kt:139 */
  939   1758   
        }
        1759  +
        /* ServerOperationErrorGenerator.kt:93 */
  940   1760   
    }
        1761  +
    /* ServerOperationErrorGenerator.kt:83 */
  941   1762   
}
        1763  +
/* ServerOperationErrorGenerator.kt:100 */
  942   1764   
impl ::std::error::Error for ConstrainedHttpBoundShapesOperationError {
        1765  +
    /* ServerOperationErrorGenerator.kt:101 */
  943   1766   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1767  +
        /* ServerOperationErrorGenerator.kt:139 */
  944   1768   
        match &self {
  945         -
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) => Some(_inner),
        1769  +
            /* ServerOperationErrorGenerator.kt:142 */
        1770  +
            ConstrainedHttpBoundShapesOperationError::ValidationException(_inner) =>
        1771  +
            /* ServerOperationErrorGenerator.kt:103 */
        1772  +
            {
        1773  +
                Some(_inner)
        1774  +
            }
        1775  +
            /* ServerOperationErrorGenerator.kt:139 */
  946   1776   
        }
        1777  +
        /* ServerOperationErrorGenerator.kt:101 */
  947   1778   
    }
        1779  +
    /* ServerOperationErrorGenerator.kt:100 */
  948   1780   
}
        1781  +
/* ServerOperationErrorGenerator.kt:110 */
  949   1782   
impl ::std::convert::From<crate::error::ValidationException>
  950   1783   
    for crate::error::ConstrainedHttpBoundShapesOperationError
  951   1784   
{
        1785  +
    /* ServerOperationErrorGenerator.kt:111 */
  952   1786   
    fn from(
  953   1787   
        variant: crate::error::ValidationException,
  954   1788   
    ) -> crate::error::ConstrainedHttpBoundShapesOperationError {
        1789  +
        /* ServerOperationErrorGenerator.kt:112 */
  955   1790   
        Self::ValidationException(variant)
        1791  +
        /* ServerOperationErrorGenerator.kt:111 */
  956   1792   
    }
        1793  +
    /* ServerOperationErrorGenerator.kt:110 */
  957   1794   
}
  958   1795   
        1796  +
/* ServerOperationErrorGenerator.kt:63 */
  959   1797   
/// Error type for the `ConstrainedShapesOperation` operation.
        1798  +
/* ServerOperationErrorGenerator.kt:64 */
  960   1799   
/// Each variant represents an error that can occur for the `ConstrainedShapesOperation` operation.
        1800  +
/* RustType.kt:516 */
  961   1801   
#[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.
        1802  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstrainedShapesOperationError {
        1803  +
    /// /* ServerOperationErrorGenerator.kt:68 */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.
        1804  +
    /* ServerOperationErrorGenerator.kt:71 */
  964   1805   
    ValidationException(crate::error::ValidationException),
        1806  +
    /* ServerOperationErrorGenerator.kt:66 */
  965   1807   
}
        1808  +
/* ServerOperationErrorGenerator.kt:75 */
  966   1809   
impl ::std::fmt::Display for ConstrainedShapesOperationError {
        1810  +
    /* ServerOperationErrorGenerator.kt:76 */
  967   1811   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1812  +
        /* ServerOperationErrorGenerator.kt:139 */
  968   1813   
        match &self {
  969         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.fmt(f),
        1814  +
            /* ServerOperationErrorGenerator.kt:142 */
        1815  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        1816  +
            /* ServerOperationErrorGenerator.kt:78 */
        1817  +
            {
        1818  +
                _inner.fmt(f)
        1819  +
            }
        1820  +
            /* ServerOperationErrorGenerator.kt:139 */
  970   1821   
        }
        1822  +
        /* ServerOperationErrorGenerator.kt:76 */
  971   1823   
    }
        1824  +
    /* ServerOperationErrorGenerator.kt:75 */
  972   1825   
}
        1826  +
/* ServerOperationErrorGenerator.kt:83 */
  973   1827   
impl ConstrainedShapesOperationError {
        1828  +
    /* ServerOperationErrorGenerator.kt:87 */
  974   1829   
    /// Returns `true` if the error kind is `ConstrainedShapesOperationError::ValidationException`.
        1830  +
    /* ServerOperationErrorGenerator.kt:88 */
  975   1831   
    pub fn is_validation_exception(&self) -> bool {
        1832  +
        /* ServerOperationErrorGenerator.kt:89 */
  976   1833   
        matches!(
  977   1834   
            &self,
  978   1835   
            ConstrainedShapesOperationError::ValidationException(_)
  979   1836   
        )
        1837  +
        /* ServerOperationErrorGenerator.kt:88 */
  980   1838   
    }
        1839  +
    /* ServerOperationErrorGenerator.kt:92 */
  981   1840   
    /// Returns the error name string by matching the correct variant.
        1841  +
    /* ServerOperationErrorGenerator.kt:93 */
  982   1842   
    pub fn name(&self) -> &'static str {
        1843  +
        /* ServerOperationErrorGenerator.kt:139 */
  983   1844   
        match &self {
  984         -
            ConstrainedShapesOperationError::ValidationException(_inner) => _inner.name(),
        1845  +
            /* ServerOperationErrorGenerator.kt:142 */
        1846  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        1847  +
            /* ServerOperationErrorGenerator.kt:95 */
        1848  +
            {
        1849  +
                _inner.name()
        1850  +
            }
        1851  +
            /* ServerOperationErrorGenerator.kt:139 */
  985   1852   
        }
        1853  +
        /* ServerOperationErrorGenerator.kt:93 */
  986   1854   
    }
        1855  +
    /* ServerOperationErrorGenerator.kt:83 */
  987   1856   
}
        1857  +
/* ServerOperationErrorGenerator.kt:100 */
  988   1858   
impl ::std::error::Error for ConstrainedShapesOperationError {
        1859  +
    /* ServerOperationErrorGenerator.kt:101 */
  989   1860   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1861  +
        /* ServerOperationErrorGenerator.kt:139 */
  990   1862   
        match &self {
  991         -
            ConstrainedShapesOperationError::ValidationException(_inner) => Some(_inner),
        1863  +
            /* ServerOperationErrorGenerator.kt:142 */
        1864  +
            ConstrainedShapesOperationError::ValidationException(_inner) =>
        1865  +
            /* ServerOperationErrorGenerator.kt:103 */
        1866  +
            {
        1867  +
                Some(_inner)
        1868  +
            }
        1869  +
            /* ServerOperationErrorGenerator.kt:139 */
  992   1870   
        }
        1871  +
        /* ServerOperationErrorGenerator.kt:101 */
  993   1872   
    }
        1873  +
    /* ServerOperationErrorGenerator.kt:100 */
  994   1874   
}
        1875  +
/* ServerOperationErrorGenerator.kt:110 */
  995   1876   
impl ::std::convert::From<crate::error::ValidationException>
  996   1877   
    for crate::error::ConstrainedShapesOperationError
  997   1878   
{
        1879  +
    /* ServerOperationErrorGenerator.kt:111 */
  998   1880   
    fn from(
  999   1881   
        variant: crate::error::ValidationException,
 1000   1882   
    ) -> crate::error::ConstrainedShapesOperationError {
        1883  +
        /* ServerOperationErrorGenerator.kt:112 */
 1001   1884   
        Self::ValidationException(variant)
        1885  +
        /* ServerOperationErrorGenerator.kt:111 */
 1002   1886   
    }
        1887  +
    /* ServerOperationErrorGenerator.kt:110 */
 1003   1888   
}
 1004         -
/// See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1889  +
/// /* ServerBuilderGenerator.kt:171 */See [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
 1005   1890   
pub mod event_stream_error_message {
 1006   1891   
        1892  +
    /* ServerBuilderGenerator.kt:461 */
 1007   1893   
    impl ::std::convert::From<Builder> for crate::error::EventStreamErrorMessage {
 1008   1894   
        fn from(builder: Builder) -> Self {
 1009   1895   
            builder.build()
 1010   1896   
        }
 1011   1897   
    }
 1012         -
    /// A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1898  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1899  +
    /* RustType.kt:516 */
 1013   1900   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1901  +
    /* ServerBuilderGenerator.kt:211 */
 1014   1902   
    pub struct Builder {
        1903  +
        /* ServerBuilderGenerator.kt:308 */
 1015   1904   
        pub(crate) message_content: ::std::option::Option<::std::string::String>,
        1905  +
        /* ServerBuilderGenerator.kt:211 */
 1016   1906   
    }
        1907  +
    /* ServerBuilderGenerator.kt:215 */
 1017   1908   
    impl Builder {
        1909  +
        /* ServerBuilderGenerator.kt:331 */
 1018   1910   
        #[allow(missing_docs)] // documentation missing in model
        1911  +
                               /* ServerBuilderGenerator.kt:343 */
 1019   1912   
        pub fn message_content(
 1020   1913   
            mut self,
 1021   1914   
            input: ::std::option::Option<::std::string::String>,
 1022   1915   
        ) -> Self {
 1023         -
            self.message_content = input;
        1916  +
            /* ServerBuilderGenerator.kt:344 */
        1917  +
            self.message_content =
        1918  +
                /* ServerBuilderGenerator.kt:376 */input
        1919  +
            /* ServerBuilderGenerator.kt:344 */;
 1024   1920   
            self
        1921  +
            /* ServerBuilderGenerator.kt:343 */
 1025   1922   
        }
        1923  +
        /* ServerBuilderGenerator.kt:426 */
 1026   1924   
        #[allow(missing_docs)] // documentation missing in model
        1925  +
                               /* ServerBuilderGenerator.kt:428 */
 1027   1926   
        pub(crate) fn set_message_content(
 1028   1927   
            mut self,
 1029   1928   
            input: Option<impl ::std::convert::Into<::std::string::String>>,
 1030   1929   
        ) -> Self {
        1930  +
            /* ServerBuilderGenerator.kt:429 */
 1031   1931   
            self.message_content = input.map(|v| v.into());
 1032   1932   
            self
        1933  +
            /* ServerBuilderGenerator.kt:428 */
 1033   1934   
        }
 1034         -
        /// Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1935  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EventStreamErrorMessage`](crate::error::EventStreamErrorMessage).
        1936  +
        /* ServerBuilderGenerator.kt:271 */
 1035   1937   
        pub fn build(self) -> crate::error::EventStreamErrorMessage {
 1036   1938   
            self.build_enforcing_all_constraints()
 1037   1939   
        }
        1940  +
        /* ServerBuilderGenerator.kt:283 */
 1038   1941   
        fn build_enforcing_all_constraints(self) -> crate::error::EventStreamErrorMessage {
        1942  +
            /* ServerBuilderGenerator.kt:542 */
 1039   1943   
            crate::error::EventStreamErrorMessage {
        1944  +
                /* ServerBuilderGenerator.kt:546 */
 1040   1945   
                message_content: self.message_content,
        1946  +
                /* ServerBuilderGenerator.kt:542 */
 1041   1947   
            }
        1948  +
            /* ServerBuilderGenerator.kt:283 */
 1042   1949   
        }
        1950  +
        /* ServerBuilderGenerator.kt:215 */
 1043   1951   
    }
        1952  +
        1953  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1044   1954   
}
 1045         -
/// See [`ValidationException`](crate::error::ValidationException).
        1955  +
/// /* ServerBuilderGenerator.kt:171 */See [`ValidationException`](crate::error::ValidationException).
 1046   1956   
pub mod validation_exception {
 1047   1957   
        1958  +
    /* RustType.kt:516 */
 1048   1959   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1049         -
    /// Holds one variant for each of the ways the builder can fail.
        1960  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        1961  +
    /* RustType.kt:516 */
 1050   1962   
    #[non_exhaustive]
        1963  +
    /* ServerBuilderConstraintViolations.kt:75 */
 1051   1964   
    #[allow(clippy::enum_variant_names)]
 1052   1965   
    pub enum ConstraintViolation {
 1053         -
        /// `message` was not provided but it is required when building `ValidationException`.
        1966  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationException`.
        1967  +
        /* ServerBuilderConstraintViolations.kt:143 */
 1054   1968   
        MissingMessage,
        1969  +
        /* ServerBuilderConstraintViolations.kt:75 */
 1055   1970   
    }
        1971  +
    /* ServerBuilderConstraintViolations.kt:117 */
 1056   1972   
    impl ::std::fmt::Display for ConstraintViolation {
        1973  +
        /* ServerBuilderConstraintViolations.kt:118 */
 1057   1974   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1975  +
            /* ServerBuilderConstraintViolations.kt:119 */
 1058   1976   
            match self {
 1059         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 1060         -
            }
        1977  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
        1978  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        1979  +
            /* ServerBuilderConstraintViolations.kt:118 */
 1061   1980   
        }
        1981  +
        /* ServerBuilderConstraintViolations.kt:117 */
 1062   1982   
    }
        1983  +
    /* ServerBuilderConstraintViolations.kt:84 */
 1063   1984   
    impl ::std::error::Error for ConstraintViolation {}
        1985  +
    /* ServerBuilderGenerator.kt:446 */
 1064   1986   
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 1065   1987   
        type Error = ConstraintViolation;
 1066   1988   
 1067   1989   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1068   1990   
            builder.build()
 1069   1991   
        }
 1070   1992   
    }
 1071         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
        1993  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ValidationException`](crate::error::ValidationException).
        1994  +
    /* RustType.kt:516 */
 1072   1995   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1996  +
    /* ServerBuilderGenerator.kt:211 */
 1073   1997   
    pub struct Builder {
        1998  +
        /* ServerBuilderGenerator.kt:308 */
 1074   1999   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        2000  +
        /* ServerBuilderGenerator.kt:308 */
 1075   2001   
        pub(crate) field_list:
 1076   2002   
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        2003  +
        /* ServerBuilderGenerator.kt:211 */
 1077   2004   
    }
        2005  +
    /* ServerBuilderGenerator.kt:215 */
 1078   2006   
    impl Builder {
 1079         -
        /// A summary of the validation failure.
        2007  +
        /// /* ServerBuilderGenerator.kt:331 */A summary of the validation failure.
        2008  +
        /* ServerBuilderGenerator.kt:343 */
 1080   2009   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 1081         -
            self.message = Some(input);
        2010  +
            /* ServerBuilderGenerator.kt:344 */
        2011  +
            self.message =
        2012  +
                /* ServerBuilderGenerator.kt:345 */Some(
        2013  +
                    /* ServerBuilderGenerator.kt:376 */input
        2014  +
                /* ServerBuilderGenerator.kt:345 */)
        2015  +
            /* ServerBuilderGenerator.kt:344 */;
 1082   2016   
            self
        2017  +
            /* ServerBuilderGenerator.kt:343 */
 1083   2018   
        }
 1084         -
        /// 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.
        2019  +
        /// /* ServerBuilderGenerator.kt:331 */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.
        2020  +
        /* ServerBuilderGenerator.kt:343 */
 1085   2021   
        pub fn field_list(
 1086   2022   
            mut self,
 1087   2023   
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 1088   2024   
        ) -> Self {
 1089         -
            self.field_list = input;
        2025  +
            /* ServerBuilderGenerator.kt:344 */
        2026  +
            self.field_list =
        2027  +
                /* ServerBuilderGenerator.kt:376 */input
        2028  +
            /* ServerBuilderGenerator.kt:344 */;
 1090   2029   
            self
        2030  +
            /* ServerBuilderGenerator.kt:343 */
 1091   2031   
        }
 1092         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 1093         -
        ///
        2032  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
        2033  +
        /// /* ServerBuilderGenerator.kt:260 */
 1094   2034   
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if a [`ConstraintViolation`] occurs.
 1095   2035   
        ///
        2036  +
        /* ServerBuilderGenerator.kt:271 */
 1096   2037   
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1097   2038   
            self.build_enforcing_all_constraints()
 1098   2039   
        }
        2040  +
        /* ServerBuilderGenerator.kt:283 */
 1099   2041   
        fn build_enforcing_all_constraints(
 1100   2042   
            self,
 1101   2043   
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1102         -
            Ok(crate::error::ValidationException {
 1103         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
 1104         -
                field_list: self.field_list,
 1105         -
            })
        2044  +
            /* ServerBuilderGenerator.kt:287 */
        2045  +
            Ok(
        2046  +
                /* ServerBuilderGenerator.kt:542 */
        2047  +
                crate::error::ValidationException {
        2048  +
                    /* ServerBuilderGenerator.kt:546 */
        2049  +
                    message: self
        2050  +
                        .message
        2051  +
                        /* ServerBuilderGenerator.kt:569 */
        2052  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        2053  +
                    /* ServerBuilderGenerator.kt:546 */
        2054  +
                    field_list: self.field_list,
        2055  +
                    /* ServerBuilderGenerator.kt:542 */
        2056  +
                }, /* ServerBuilderGenerator.kt:287 */
        2057  +
            )
        2058  +
            /* ServerBuilderGenerator.kt:283 */
 1106   2059   
        }
        2060  +
        /* ServerBuilderGenerator.kt:215 */
 1107   2061   
    }
        2062  +
        2063  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1108   2064   
}