Server Test

Server Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-server-test/rest_json_extras/rust-server-codegen/src/service.rs

@@ -1,1 +31,32 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* ServerServiceGenerator.kt:795 */
    2      3   
/// The service builder for [`RestJsonExtras`].
    3      4   
///
    4      5   
/// Constructed via [`RestJsonExtras::builder`].
    5      6   
pub struct RestJsonExtrasBuilder<Body, L, HttpPl, ModelPl> {
    6      7   
    case_insensitive_error_operation: Option<::aws_smithy_http_server::routing::Route<Body>>,
    7      8   
    empty_struct_with_content_on_wire_op: Option<::aws_smithy_http_server::routing::Route<Body>>,
    8      9   
    enum_query: Option<::aws_smithy_http_server::routing::Route<Body>>,
    9     10   
    escaped_string_values: Option<::aws_smithy_http_server::routing::Route<Body>>,
   10     11   
    map_with_enum_key_op: Option<::aws_smithy_http_server::routing::Route<Body>>,
   11     12   
    null_in_non_sparse: Option<::aws_smithy_http_server::routing::Route<Body>>,
@@ -2477,2478 +2536,2538 @@
 2497   2498   
            "aws.protocoltests.restjson",
 2498   2499   
            "RestJsonExtras",
 2499   2500   
        );
 2500   2501   
 2501   2502   
    const VERSION: Option<&'static str> = Some("2019-12-16");
 2502   2503   
 2503   2504   
    type Protocol = ::aws_smithy_http_server::protocol::rest_json_1::RestJson1;
 2504   2505   
 2505   2506   
    type Operations = Operation;
 2506   2507   
}
        2508  +
/* ServiceConfigGenerator.kt:178 */
 2507   2509   
/// Configuration for the [`RestJsonExtras`]. This is the central place where to register and
 2508   2510   
/// configure [`::tower::Layer`]s, HTTP plugins, and model plugins.
 2509   2511   
///
 2510   2512   
/// ```rust,no_run
 2511   2513   
/// # use rest_json_extras::RestJsonExtrasConfig;
 2512   2514   
/// # use ::aws_smithy_http_server::plugin::IdentityPlugin;
 2513   2515   
/// # use ::tower::layer::util::Identity;
 2514   2516   
/// # let authentication_plugin = IdentityPlugin;
 2515   2517   
/// # let authorization_plugin = IdentityPlugin;
 2516   2518   
/// # let server_request_id_provider_layer = Identity::new();
@@ -2598,2600 +2657,2660 @@
 2618   2620   
 2619   2621   
    /// Build the configuration.
 2620   2622   
    pub fn build(self) -> super::RestJsonExtrasConfig<L, H, M> {
 2621   2623   
        super::RestJsonExtrasConfig {
 2622   2624   
            layers: self.layers,
 2623   2625   
            http_plugins: self.http_plugins,
 2624   2626   
            model_plugins: self.model_plugins,
 2625   2627   
        }
 2626   2628   
    }
 2627   2629   
}
        2630  +
/* ScopeMacroGenerator.kt:81 */
 2628   2631   
/// A macro to help with scoping [plugins](crate::server::plugin) to a subset of all operations.
 2629   2632   
///
 2630   2633   
/// In contrast to [`crate::server::scope`](crate::server::scope), this macro has knowledge
 2631   2634   
/// of the service and any operations _not_ specified will be placed in the opposing group.
 2632   2635   
///
 2633   2636   
/// # Example
 2634   2637   
///
 2635   2638   
/// ```rust
 2636   2639   
/// scope! {
 2637   2640   
///     /// Includes [`CaseInsensitiveErrorOperation`], excluding all other operations.

tmp-codegen-diff/codegen-server-test/rest_json_extras/rust-server-codegen/src/types.rs

@@ -1,1 +0,7 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* SmithyTypesPubUseExtra.kt:66 */
    2      3   
pub use ::aws_smithy_types::date_time::Format as DateTimeFormat;
           4  +
/* ServerRequiredCustomizations.kt:69 */
    3      5   
pub use ::aws_smithy_types::error::display::DisplayErrorContext;
    4      6   
pub use ::aws_smithy_types::Blob;
    5         -
pub use ::aws_smithy_types::DateTime;
           7  +
/* SmithyTypesPubUseExtra.kt:69 */ pub use ::aws_smithy_types::DateTime;

tmp-codegen-diff/codegen-server-test/rest_json_extras/rust-server-codegen/src/unconstrained.rs

@@ -1,1 +40,50 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
    3      3   
pub(crate) mod map_with_enum_key_unconstrained {
    4      4   
           5  +
    /* UnconstrainedMapGenerator.kt:79 */
    5      6   
    #[derive(Debug, Clone)]
    6      7   
    pub(crate) struct MapWithEnumKeyUnconstrained(
    7      8   
        pub(crate) std::collections::HashMap<::std::string::String, ::std::string::String>,
    8      9   
    );
    9     10   
   10     11   
    impl From<MapWithEnumKeyUnconstrained>
   11     12   
        for crate::constrained::MaybeConstrained<
   12     13   
            crate::constrained::map_with_enum_key_constrained::MapWithEnumKeyConstrained,
   13     14   
        >
   14     15   
    {
   15     16   
        fn from(value: MapWithEnumKeyUnconstrained) -> Self {
   16     17   
            Self::Unconstrained(value)
   17     18   
        }
   18     19   
    }
          20  +
    /* UnconstrainedMapGenerator.kt:101 */
   19     21   
    impl std::convert::TryFrom<MapWithEnumKeyUnconstrained>
   20     22   
        for crate::constrained::map_with_enum_key_constrained::MapWithEnumKeyConstrained
   21     23   
    {
          24  +
        /* UnconstrainedMapGenerator.kt:102 */
   22     25   
        type Error = crate::model::map_with_enum_key::ConstraintViolation;
          26  +
        /* UnconstrainedMapGenerator.kt:104 */
   23     27   
        fn try_from(value: MapWithEnumKeyUnconstrained) -> std::result::Result<Self, Self::Error> {
          28  +
            /* UnconstrainedMapGenerator.kt:186 */
   24     29   
            let res: ::std::result::Result<
   25     30   
                ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
   26     31   
                Self::Error,
   27     32   
            > = value
   28     33   
                .0
   29     34   
                .into_iter()
   30     35   
                .map(|(k, v)| {
   31     36   
                    let k: crate::model::StringEnum = k.try_into().map_err(Self::Error::Key)?;
   32     37   
   33     38   
                    Ok((k, v))
   34     39   
                })
   35     40   
                .collect();
   36     41   
            let hm = res?;
          42  +
            /* UnconstrainedMapGenerator.kt:247 */
   37     43   
            Ok(Self(hm))
          44  +
            /* UnconstrainedMapGenerator.kt:104 */
   38     45   
        }
          46  +
        /* UnconstrainedMapGenerator.kt:101 */
   39     47   
    }
          48  +
          49  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   40     50   
}

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

@@ -1,1 +192,216 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
    3      3   
pub(crate) mod pattern_map_override_constrained {
    4      4   
           5  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
    5      6   
    #[derive(Debug, Clone)]
    6      7   
    pub(crate) struct PatternMapOverrideConstrained(
    7      8   
        pub(crate)  std::collections::HashMap<
    8      9   
            crate::model::pattern_map_override::Key,
    9     10   
            crate::model::pattern_map_override::Value,
   10     11   
        >,
   11     12   
    );
   12     13   
   13     14   
    impl crate::constrained::Constrained for PatternMapOverrideConstrained {
   14     15   
        type Unconstrained = crate::unconstrained::pattern_map_override_unconstrained::PatternMapOverrideUnconstrained;
   15     16   
    }
          17  +
    /* PubCrateConstrainedMapGenerator.kt:99 */
   16     18   
    impl
   17     19   
        ::std::convert::From<
   18     20   
            ::std::collections::HashMap<
   19     21   
                crate::model::pattern_map_override::Key,
   20     22   
                crate::model::pattern_map_override::Value,
   21     23   
            >,
   22     24   
        > for PatternMapOverrideConstrained
   23     25   
    {
   24     26   
        fn from(
   25     27   
            v: ::std::collections::HashMap<
   26     28   
                crate::model::pattern_map_override::Key,
   27     29   
                crate::model::pattern_map_override::Value,
   28     30   
            >,
   29     31   
        ) -> Self {
   30     32   
            Self(v)
   31     33   
        }
   32     34   
    }
   33     35   
   34     36   
    impl ::std::convert::From<PatternMapOverrideConstrained>
   35     37   
        for ::std::collections::HashMap<
   36     38   
            crate::model::pattern_map_override::Key,
   37     39   
            crate::model::pattern_map_override::Value,
   38     40   
        >
   39     41   
    {
   40     42   
        fn from(v: PatternMapOverrideConstrained) -> Self {
   41     43   
            v.0
   42     44   
        }
   43     45   
    }
          46  +
          47  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   44     48   
}
   45     49   
pub(crate) mod pattern_list_override_constrained {
   46     50   
          51  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
   47     52   
    #[derive(Debug, Clone)]
   48     53   
    pub(crate) struct PatternListOverrideConstrained(
   49     54   
        pub(crate) std::vec::Vec<crate::model::pattern_list_override::Member>,
   50     55   
    );
   51     56   
   52     57   
    impl crate::constrained::Constrained for PatternListOverrideConstrained {
   53     58   
        type Unconstrained = crate::unconstrained::pattern_list_override_unconstrained::PatternListOverrideUnconstrained;
   54     59   
    }
          60  +
    /* PubCrateConstrainedCollectionGenerator.kt:108 */
   55     61   
    impl ::std::convert::From<::std::vec::Vec<crate::model::pattern_list_override::Member>>
   56     62   
        for PatternListOverrideConstrained
   57     63   
    {
   58     64   
        fn from(v: ::std::vec::Vec<crate::model::pattern_list_override::Member>) -> Self {
   59     65   
            Self(v)
   60     66   
        }
   61     67   
    }
   62     68   
   63     69   
    impl ::std::convert::From<PatternListOverrideConstrained>
   64     70   
        for ::std::vec::Vec<crate::model::pattern_list_override::Member>
   65     71   
    {
   66     72   
        fn from(v: PatternListOverrideConstrained) -> Self {
   67     73   
            v.0
   68     74   
        }
   69     75   
    }
          76  +
          77  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
   70     78   
}
   71     79   
pub(crate) mod pattern_map_constrained {
   72     80   
          81  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
   73     82   
    #[derive(Debug, Clone)]
   74     83   
    pub(crate) struct PatternMapConstrained(
   75     84   
        pub(crate) 
   76     85   
            std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
   77     86   
    );
   78     87   
   79     88   
    impl crate::constrained::Constrained for PatternMapConstrained {
   80     89   
        type Unconstrained =
   81     90   
            crate::unconstrained::pattern_map_unconstrained::PatternMapUnconstrained;
   82     91   
    }
          92  +
    /* PubCrateConstrainedMapGenerator.kt:99 */
   83     93   
    impl
   84     94   
        ::std::convert::From<
   85     95   
            ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
   86     96   
        > for PatternMapConstrained
   87     97   
    {
   88     98   
        fn from(
   89     99   
            v: ::std::collections::HashMap<
   90    100   
                crate::model::PatternString,
   91    101   
                crate::model::PatternString,
   92    102   
            >,
   93    103   
        ) -> Self {
   94    104   
            Self(v)
   95    105   
        }
   96    106   
    }
   97    107   
   98    108   
    impl ::std::convert::From<PatternMapConstrained>
   99    109   
        for ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>
  100    110   
    {
  101    111   
        fn from(v: PatternMapConstrained) -> Self {
  102    112   
            v.0
  103    113   
        }
  104    114   
    }
         115  +
         116  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  105    117   
}
  106    118   
pub(crate) mod pattern_list_constrained {
  107    119   
         120  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  108    121   
    #[derive(Debug, Clone)]
  109    122   
    pub(crate) struct PatternListConstrained(pub(crate) std::vec::Vec<crate::model::PatternString>);
  110    123   
  111    124   
    impl crate::constrained::Constrained for PatternListConstrained {
  112    125   
        type Unconstrained =
  113    126   
            crate::unconstrained::pattern_list_unconstrained::PatternListUnconstrained;
  114    127   
    }
         128  +
    /* PubCrateConstrainedCollectionGenerator.kt:108 */
  115    129   
    impl ::std::convert::From<::std::vec::Vec<crate::model::PatternString>> for PatternListConstrained {
  116    130   
        fn from(v: ::std::vec::Vec<crate::model::PatternString>) -> Self {
  117    131   
            Self(v)
  118    132   
        }
  119    133   
    }
  120    134   
  121    135   
    impl ::std::convert::From<PatternListConstrained> for ::std::vec::Vec<crate::model::PatternString> {
  122    136   
        fn from(v: PatternListConstrained) -> Self {
  123    137   
            v.0
  124    138   
        }
  125    139   
    }
         140  +
         141  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  126    142   
}
  127    143   
pub(crate) mod enum_map_constrained {
  128    144   
         145  +
    /* PubCrateConstrainedMapGenerator.kt:80 */
  129    146   
    #[derive(Debug, Clone)]
  130    147   
    pub(crate) struct EnumMapConstrained(
  131    148   
        pub(crate) std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  132    149   
    );
  133    150   
  134    151   
    impl crate::constrained::Constrained for EnumMapConstrained {
  135    152   
        type Unconstrained = crate::unconstrained::enum_map_unconstrained::EnumMapUnconstrained;
  136    153   
    }
         154  +
    /* PubCrateConstrainedMapGenerator.kt:99 */
  137    155   
    impl
  138    156   
        ::std::convert::From<
  139    157   
            ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  140    158   
        > for EnumMapConstrained
  141    159   
    {
  142    160   
        fn from(
  143    161   
            v: ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  144    162   
        ) -> Self {
  145    163   
            Self(v)
  146    164   
        }
  147    165   
    }
  148    166   
  149    167   
    impl ::std::convert::From<EnumMapConstrained>
  150    168   
        for ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>
  151    169   
    {
  152    170   
        fn from(v: EnumMapConstrained) -> Self {
  153    171   
            v.0
  154    172   
        }
  155    173   
    }
         174  +
         175  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  156    176   
}
  157    177   
pub(crate) mod enum_list_constrained {
  158    178   
         179  +
    /* PubCrateConstrainedCollectionGenerator.kt:79 */
  159    180   
    #[derive(Debug, Clone)]
  160    181   
    pub(crate) struct EnumListConstrained(pub(crate) std::vec::Vec<crate::model::EnumString>);
  161    182   
  162    183   
    impl crate::constrained::Constrained for EnumListConstrained {
  163    184   
        type Unconstrained = crate::unconstrained::enum_list_unconstrained::EnumListUnconstrained;
  164    185   
    }
         186  +
    /* PubCrateConstrainedCollectionGenerator.kt:108 */
  165    187   
    impl ::std::convert::From<::std::vec::Vec<crate::model::EnumString>> for EnumListConstrained {
  166    188   
        fn from(v: ::std::vec::Vec<crate::model::EnumString>) -> Self {
  167    189   
            Self(v)
  168    190   
        }
  169    191   
    }
  170    192   
  171    193   
    impl ::std::convert::From<EnumListConstrained> for ::std::vec::Vec<crate::model::EnumString> {
  172    194   
        fn from(v: EnumListConstrained) -> Self {
  173    195   
            v.0
  174    196   
        }
  175    197   
    }
         198  +
         199  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  176    200   
}
  177    201   
  178    202   
/*
  179    203   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  180    204   
 * SPDX-License-Identifier: Apache-2.0
  181    205   
 */
  182    206   
  183    207   
pub(crate) trait Constrained {
  184    208   
    type Unconstrained;
  185    209   
}

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

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

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

@@ -1,1 +6807,8882 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* StructureGenerator.kt:197 */
    2      3   
#[allow(missing_docs)] // documentation missing in model
           4  +
/* RustType.kt:516 */
    3      5   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::hash::Hash)]
    4         -
pub struct SensitiveValidationInput {
           6  +
pub /* StructureGenerator.kt:201 */ struct SensitiveValidationInput {
           7  +
    /* StructureGenerator.kt:231 */
    5      8   
    #[allow(missing_docs)] // documentation missing in model
    6      9   
    pub string: ::std::option::Option<crate::model::SensitivePatternString>,
          10  +
    /* StructureGenerator.kt:201 */
    7     11   
}
          12  +
/* StructureGenerator.kt:135 */
    8     13   
impl SensitiveValidationInput {
          14  +
    /* StructureGenerator.kt:231 */
    9     15   
    #[allow(missing_docs)] // documentation missing in model
          16  +
                           /* StructureGenerator.kt:166 */
   10     17   
    pub fn string(&self) -> ::std::option::Option<&crate::model::SensitivePatternString> {
          18  +
        /* StructureGenerator.kt:170 */
   11     19   
        self.string.as_ref()
          20  +
        /* StructureGenerator.kt:166 */
   12     21   
    }
          22  +
    /* StructureGenerator.kt:135 */
   13     23   
}
          24  +
/* StructureGenerator.kt:101 */
   14     25   
impl ::std::fmt::Debug for SensitiveValidationInput {
          26  +
    /* StructureGenerator.kt:105 */
   15     27   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
          28  +
        /* StructureGenerator.kt:106 */
   16     29   
        let mut formatter = f.debug_struct("SensitiveValidationInput");
          30  +
        /* StructureGenerator.kt:121 */
   17     31   
        formatter.field("string", &"*** Sensitive Data Redacted ***");
          32  +
        /* StructureGenerator.kt:126 */
   18     33   
        formatter.finish()
          34  +
        /* StructureGenerator.kt:105 */
   19     35   
    }
          36  +
    /* StructureGenerator.kt:101 */
   20     37   
}
          38  +
/* ServerCodegenVisitor.kt:345 */
   21     39   
impl SensitiveValidationInput {
   22         -
    /// Creates a new builder-style object to manufacture [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
          40  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
          41  +
    /* ServerBuilderGenerator.kt:295 */
   23     42   
    pub fn builder() -> crate::input::sensitive_validation_input::Builder {
          43  +
        /* ServerBuilderGenerator.kt:296 */
   24     44   
        crate::input::sensitive_validation_input::Builder::default()
          45  +
        /* ServerBuilderGenerator.kt:295 */
   25     46   
    }
          47  +
    /* ServerCodegenVisitor.kt:345 */
   26     48   
}
          49  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
   27     50   
impl crate::constrained::Constrained for crate::input::SensitiveValidationInput {
   28     51   
    type Unconstrained = crate::input::sensitive_validation_input::Builder;
   29     52   
}
   30     53   
          54  +
/* StructureGenerator.kt:197 */
   31     55   
#[allow(missing_docs)] // documentation missing in model
          56  +
/* RustType.kt:516 */
   32     57   
#[derive(
   33     58   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   34     59   
)]
   35         -
pub struct RecursiveStructuresInput {
          60  +
pub /* StructureGenerator.kt:201 */ struct RecursiveStructuresInput {
          61  +
    /* StructureGenerator.kt:231 */
   36     62   
    #[allow(missing_docs)] // documentation missing in model
   37     63   
    pub union: ::std::option::Option<crate::model::RecursiveUnionOne>,
          64  +
    /* StructureGenerator.kt:201 */
   38     65   
}
          66  +
/* StructureGenerator.kt:135 */
   39     67   
impl RecursiveStructuresInput {
          68  +
    /* StructureGenerator.kt:231 */
   40     69   
    #[allow(missing_docs)] // documentation missing in model
          70  +
                           /* StructureGenerator.kt:166 */
   41     71   
    pub fn union(&self) -> ::std::option::Option<&crate::model::RecursiveUnionOne> {
          72  +
        /* StructureGenerator.kt:170 */
   42     73   
        self.union.as_ref()
          74  +
        /* StructureGenerator.kt:166 */
   43     75   
    }
          76  +
    /* StructureGenerator.kt:135 */
   44     77   
}
          78  +
/* ServerCodegenVisitor.kt:345 */
   45     79   
impl RecursiveStructuresInput {
   46         -
    /// Creates a new builder-style object to manufacture [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
          80  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
          81  +
    /* ServerBuilderGenerator.kt:295 */
   47     82   
    pub fn builder() -> crate::input::recursive_structures_input::Builder {
          83  +
        /* ServerBuilderGenerator.kt:296 */
   48     84   
        crate::input::recursive_structures_input::Builder::default()
          85  +
        /* ServerBuilderGenerator.kt:295 */
   49     86   
    }
          87  +
    /* ServerCodegenVisitor.kt:345 */
   50     88   
}
          89  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
   51     90   
impl crate::constrained::Constrained for crate::input::RecursiveStructuresInput {
   52     91   
    type Unconstrained = crate::input::recursive_structures_input::Builder;
   53     92   
}
   54     93   
          94  +
/* StructureGenerator.kt:197 */
   55     95   
#[allow(missing_docs)] // documentation missing in model
          96  +
/* RustType.kt:516 */
   56     97   
#[derive(
   57     98   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   58     99   
)]
   59         -
pub struct MalformedUniqueItemsInput {
         100  +
pub /* StructureGenerator.kt:201 */ struct MalformedUniqueItemsInput {
         101  +
    /* StructureGenerator.kt:231 */
   60    102   
    #[allow(missing_docs)] // documentation missing in model
   61    103   
    pub blob_list: ::std::option::Option<crate::model::BlobSet>,
         104  +
    /* StructureGenerator.kt:231 */
   62    105   
    #[allow(missing_docs)] // documentation missing in model
   63    106   
    pub boolean_list: ::std::option::Option<crate::model::BooleanSet>,
         107  +
    /* StructureGenerator.kt:231 */
   64    108   
    #[allow(missing_docs)] // documentation missing in model
   65    109   
    pub string_list: ::std::option::Option<crate::model::StringSet>,
         110  +
    /* StructureGenerator.kt:231 */
   66    111   
    #[allow(missing_docs)] // documentation missing in model
   67    112   
    pub byte_list: ::std::option::Option<crate::model::ByteSet>,
         113  +
    /* StructureGenerator.kt:231 */
   68    114   
    #[allow(missing_docs)] // documentation missing in model
   69    115   
    pub short_list: ::std::option::Option<crate::model::ShortSet>,
         116  +
    /* StructureGenerator.kt:231 */
   70    117   
    #[allow(missing_docs)] // documentation missing in model
   71    118   
    pub integer_list: ::std::option::Option<crate::model::IntegerSet>,
         119  +
    /* StructureGenerator.kt:231 */
   72    120   
    #[allow(missing_docs)] // documentation missing in model
   73    121   
    pub long_list: ::std::option::Option<crate::model::LongSet>,
         122  +
    /* StructureGenerator.kt:231 */
   74    123   
    #[allow(missing_docs)] // documentation missing in model
   75    124   
    pub timestamp_list: ::std::option::Option<crate::model::TimestampSet>,
         125  +
    /* StructureGenerator.kt:231 */
   76    126   
    #[allow(missing_docs)] // documentation missing in model
   77    127   
    pub date_time_list: ::std::option::Option<crate::model::DateTimeSet>,
         128  +
    /* StructureGenerator.kt:231 */
   78    129   
    #[allow(missing_docs)] // documentation missing in model
   79    130   
    pub http_date_list: ::std::option::Option<crate::model::HttpDateSet>,
         131  +
    /* StructureGenerator.kt:231 */
   80    132   
    #[allow(missing_docs)] // documentation missing in model
   81    133   
    pub enum_list: ::std::option::Option<crate::model::FooEnumSet>,
         134  +
    /* StructureGenerator.kt:231 */
   82    135   
    #[allow(missing_docs)] // documentation missing in model
   83    136   
    pub int_enum_list: ::std::option::Option<crate::model::IntegerEnumSet>,
         137  +
    /* StructureGenerator.kt:231 */
   84    138   
    #[allow(missing_docs)] // documentation missing in model
   85    139   
    pub list_list: ::std::option::Option<crate::model::ListSet>,
         140  +
    /* StructureGenerator.kt:231 */
   86    141   
    #[allow(missing_docs)] // documentation missing in model
   87    142   
    pub structure_list: ::std::option::Option<crate::model::StructureSet>,
         143  +
    /* StructureGenerator.kt:231 */
   88    144   
    #[allow(missing_docs)] // documentation missing in model
   89    145   
    pub structure_list_with_no_key: ::std::option::Option<crate::model::StructureSetWithNoKey>,
         146  +
    /* StructureGenerator.kt:231 */
   90    147   
    #[allow(missing_docs)] // documentation missing in model
   91    148   
    pub union_list: ::std::option::Option<crate::model::UnionSet>,
         149  +
    /* StructureGenerator.kt:201 */
   92    150   
}
         151  +
/* StructureGenerator.kt:135 */
   93    152   
impl MalformedUniqueItemsInput {
         153  +
    /* StructureGenerator.kt:231 */
   94    154   
    #[allow(missing_docs)] // documentation missing in model
         155  +
                           /* StructureGenerator.kt:166 */
   95    156   
    pub fn blob_list(&self) -> ::std::option::Option<&crate::model::BlobSet> {
         157  +
        /* StructureGenerator.kt:170 */
   96    158   
        self.blob_list.as_ref()
         159  +
        /* StructureGenerator.kt:166 */
   97    160   
    }
         161  +
    /* StructureGenerator.kt:231 */
   98    162   
    #[allow(missing_docs)] // documentation missing in model
         163  +
                           /* StructureGenerator.kt:166 */
   99    164   
    pub fn boolean_list(&self) -> ::std::option::Option<&crate::model::BooleanSet> {
         165  +
        /* StructureGenerator.kt:170 */
  100    166   
        self.boolean_list.as_ref()
         167  +
        /* StructureGenerator.kt:166 */
  101    168   
    }
         169  +
    /* StructureGenerator.kt:231 */
  102    170   
    #[allow(missing_docs)] // documentation missing in model
         171  +
                           /* StructureGenerator.kt:166 */
  103    172   
    pub fn string_list(&self) -> ::std::option::Option<&crate::model::StringSet> {
         173  +
        /* StructureGenerator.kt:170 */
  104    174   
        self.string_list.as_ref()
         175  +
        /* StructureGenerator.kt:166 */
  105    176   
    }
         177  +
    /* StructureGenerator.kt:231 */
  106    178   
    #[allow(missing_docs)] // documentation missing in model
         179  +
                           /* StructureGenerator.kt:166 */
  107    180   
    pub fn byte_list(&self) -> ::std::option::Option<&crate::model::ByteSet> {
         181  +
        /* StructureGenerator.kt:170 */
  108    182   
        self.byte_list.as_ref()
         183  +
        /* StructureGenerator.kt:166 */
  109    184   
    }
         185  +
    /* StructureGenerator.kt:231 */
  110    186   
    #[allow(missing_docs)] // documentation missing in model
         187  +
                           /* StructureGenerator.kt:166 */
  111    188   
    pub fn short_list(&self) -> ::std::option::Option<&crate::model::ShortSet> {
         189  +
        /* StructureGenerator.kt:170 */
  112    190   
        self.short_list.as_ref()
         191  +
        /* StructureGenerator.kt:166 */
  113    192   
    }
         193  +
    /* StructureGenerator.kt:231 */
  114    194   
    #[allow(missing_docs)] // documentation missing in model
         195  +
                           /* StructureGenerator.kt:166 */
  115    196   
    pub fn integer_list(&self) -> ::std::option::Option<&crate::model::IntegerSet> {
         197  +
        /* StructureGenerator.kt:170 */
  116    198   
        self.integer_list.as_ref()
         199  +
        /* StructureGenerator.kt:166 */
  117    200   
    }
         201  +
    /* StructureGenerator.kt:231 */
  118    202   
    #[allow(missing_docs)] // documentation missing in model
         203  +
                           /* StructureGenerator.kt:166 */
  119    204   
    pub fn long_list(&self) -> ::std::option::Option<&crate::model::LongSet> {
         205  +
        /* StructureGenerator.kt:170 */
  120    206   
        self.long_list.as_ref()
         207  +
        /* StructureGenerator.kt:166 */
  121    208   
    }
         209  +
    /* StructureGenerator.kt:231 */
  122    210   
    #[allow(missing_docs)] // documentation missing in model
         211  +
                           /* StructureGenerator.kt:166 */
  123    212   
    pub fn timestamp_list(&self) -> ::std::option::Option<&crate::model::TimestampSet> {
         213  +
        /* StructureGenerator.kt:170 */
  124    214   
        self.timestamp_list.as_ref()
         215  +
        /* StructureGenerator.kt:166 */
  125    216   
    }
         217  +
    /* StructureGenerator.kt:231 */
  126    218   
    #[allow(missing_docs)] // documentation missing in model
         219  +
                           /* StructureGenerator.kt:166 */
  127    220   
    pub fn date_time_list(&self) -> ::std::option::Option<&crate::model::DateTimeSet> {
         221  +
        /* StructureGenerator.kt:170 */
  128    222   
        self.date_time_list.as_ref()
         223  +
        /* StructureGenerator.kt:166 */
  129    224   
    }
         225  +
    /* StructureGenerator.kt:231 */
  130    226   
    #[allow(missing_docs)] // documentation missing in model
         227  +
                           /* StructureGenerator.kt:166 */
  131    228   
    pub fn http_date_list(&self) -> ::std::option::Option<&crate::model::HttpDateSet> {
         229  +
        /* StructureGenerator.kt:170 */
  132    230   
        self.http_date_list.as_ref()
         231  +
        /* StructureGenerator.kt:166 */
  133    232   
    }
         233  +
    /* StructureGenerator.kt:231 */
  134    234   
    #[allow(missing_docs)] // documentation missing in model
         235  +
                           /* StructureGenerator.kt:166 */
  135    236   
    pub fn enum_list(&self) -> ::std::option::Option<&crate::model::FooEnumSet> {
         237  +
        /* StructureGenerator.kt:170 */
  136    238   
        self.enum_list.as_ref()
         239  +
        /* StructureGenerator.kt:166 */
  137    240   
    }
         241  +
    /* StructureGenerator.kt:231 */
  138    242   
    #[allow(missing_docs)] // documentation missing in model
         243  +
                           /* StructureGenerator.kt:166 */
  139    244   
    pub fn int_enum_list(&self) -> ::std::option::Option<&crate::model::IntegerEnumSet> {
         245  +
        /* StructureGenerator.kt:170 */
  140    246   
        self.int_enum_list.as_ref()
         247  +
        /* StructureGenerator.kt:166 */
  141    248   
    }
         249  +
    /* StructureGenerator.kt:231 */
  142    250   
    #[allow(missing_docs)] // documentation missing in model
         251  +
                           /* StructureGenerator.kt:166 */
  143    252   
    pub fn list_list(&self) -> ::std::option::Option<&crate::model::ListSet> {
         253  +
        /* StructureGenerator.kt:170 */
  144    254   
        self.list_list.as_ref()
         255  +
        /* StructureGenerator.kt:166 */
  145    256   
    }
         257  +
    /* StructureGenerator.kt:231 */
  146    258   
    #[allow(missing_docs)] // documentation missing in model
         259  +
                           /* StructureGenerator.kt:166 */
  147    260   
    pub fn structure_list(&self) -> ::std::option::Option<&crate::model::StructureSet> {
         261  +
        /* StructureGenerator.kt:170 */
  148    262   
        self.structure_list.as_ref()
         263  +
        /* StructureGenerator.kt:166 */
  149    264   
    }
         265  +
    /* StructureGenerator.kt:231 */
  150    266   
    #[allow(missing_docs)] // documentation missing in model
         267  +
                           /* StructureGenerator.kt:166 */
  151    268   
    pub fn structure_list_with_no_key(
  152    269   
        &self,
  153    270   
    ) -> ::std::option::Option<&crate::model::StructureSetWithNoKey> {
         271  +
        /* StructureGenerator.kt:170 */
  154    272   
        self.structure_list_with_no_key.as_ref()
         273  +
        /* StructureGenerator.kt:166 */
  155    274   
    }
         275  +
    /* StructureGenerator.kt:231 */
  156    276   
    #[allow(missing_docs)] // documentation missing in model
         277  +
                           /* StructureGenerator.kt:166 */
  157    278   
    pub fn union_list(&self) -> ::std::option::Option<&crate::model::UnionSet> {
         279  +
        /* StructureGenerator.kt:170 */
  158    280   
        self.union_list.as_ref()
         281  +
        /* StructureGenerator.kt:166 */
  159    282   
    }
         283  +
    /* StructureGenerator.kt:135 */
  160    284   
}
         285  +
/* ServerCodegenVisitor.kt:345 */
  161    286   
impl MalformedUniqueItemsInput {
  162         -
    /// Creates a new builder-style object to manufacture [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
         287  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
         288  +
    /* ServerBuilderGenerator.kt:295 */
  163    289   
    pub fn builder() -> crate::input::malformed_unique_items_input::Builder {
         290  +
        /* ServerBuilderGenerator.kt:296 */
  164    291   
        crate::input::malformed_unique_items_input::Builder::default()
         292  +
        /* ServerBuilderGenerator.kt:295 */
  165    293   
    }
         294  +
    /* ServerCodegenVisitor.kt:345 */
  166    295   
}
         296  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  167    297   
impl crate::constrained::Constrained for crate::input::MalformedUniqueItemsInput {
  168    298   
    type Unconstrained = crate::input::malformed_unique_items_input::Builder;
  169    299   
}
  170    300   
         301  +
/* StructureGenerator.kt:197 */
  171    302   
#[allow(missing_docs)] // documentation missing in model
         303  +
/* RustType.kt:516 */
  172    304   
#[derive(
  173    305   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  174    306   
)]
  175         -
pub struct MalformedRequiredInput {
         307  +
pub /* StructureGenerator.kt:201 */ struct MalformedRequiredInput {
         308  +
    /* StructureGenerator.kt:231 */
  176    309   
    #[allow(missing_docs)] // documentation missing in model
  177    310   
    pub string: ::std::string::String,
         311  +
    /* StructureGenerator.kt:231 */
  178    312   
    #[allow(missing_docs)] // documentation missing in model
  179    313   
    pub string_in_query: ::std::string::String,
         314  +
    /* StructureGenerator.kt:231 */
  180    315   
    #[allow(missing_docs)] // documentation missing in model
  181    316   
    pub string_in_header: ::std::string::String,
         317  +
    /* StructureGenerator.kt:201 */
  182    318   
}
         319  +
/* StructureGenerator.kt:135 */
  183    320   
impl MalformedRequiredInput {
         321  +
    /* StructureGenerator.kt:231 */
  184    322   
    #[allow(missing_docs)] // documentation missing in model
         323  +
                           /* StructureGenerator.kt:166 */
  185    324   
    pub fn string(&self) -> &str {
         325  +
        /* StructureGenerator.kt:171 */
  186    326   
        use std::ops::Deref;
  187    327   
        self.string.deref()
         328  +
        /* StructureGenerator.kt:166 */
  188    329   
    }
         330  +
    /* StructureGenerator.kt:231 */
  189    331   
    #[allow(missing_docs)] // documentation missing in model
         332  +
                           /* StructureGenerator.kt:166 */
  190    333   
    pub fn string_in_query(&self) -> &str {
         334  +
        /* StructureGenerator.kt:171 */
  191    335   
        use std::ops::Deref;
  192    336   
        self.string_in_query.deref()
         337  +
        /* StructureGenerator.kt:166 */
  193    338   
    }
         339  +
    /* StructureGenerator.kt:231 */
  194    340   
    #[allow(missing_docs)] // documentation missing in model
         341  +
                           /* StructureGenerator.kt:166 */
  195    342   
    pub fn string_in_header(&self) -> &str {
         343  +
        /* StructureGenerator.kt:171 */
  196    344   
        use std::ops::Deref;
  197    345   
        self.string_in_header.deref()
         346  +
        /* StructureGenerator.kt:166 */
  198    347   
    }
         348  +
    /* StructureGenerator.kt:135 */
  199    349   
}
         350  +
/* ServerCodegenVisitor.kt:345 */
  200    351   
impl MalformedRequiredInput {
  201         -
    /// Creates a new builder-style object to manufacture [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
         352  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
         353  +
    /* ServerBuilderGenerator.kt:295 */
  202    354   
    pub fn builder() -> crate::input::malformed_required_input::Builder {
         355  +
        /* ServerBuilderGenerator.kt:296 */
  203    356   
        crate::input::malformed_required_input::Builder::default()
         357  +
        /* ServerBuilderGenerator.kt:295 */
  204    358   
    }
         359  +
    /* ServerCodegenVisitor.kt:345 */
  205    360   
}
         361  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  206    362   
impl crate::constrained::Constrained for crate::input::MalformedRequiredInput {
  207    363   
    type Unconstrained = crate::input::malformed_required_input::Builder;
  208    364   
}
  209    365   
         366  +
/* StructureGenerator.kt:197 */
  210    367   
#[allow(missing_docs)] // documentation missing in model
         368  +
/* RustType.kt:516 */
  211    369   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  212         -
pub struct MalformedRangeOverrideInput {
         370  +
pub /* StructureGenerator.kt:201 */ struct MalformedRangeOverrideInput {
         371  +
    /* StructureGenerator.kt:231 */
  213    372   
    #[allow(missing_docs)] // documentation missing in model
  214    373   
    pub byte: ::std::option::Option<crate::input::malformed_range_override_input::Byte>,
         374  +
    /* StructureGenerator.kt:231 */
  215    375   
    #[allow(missing_docs)] // documentation missing in model
  216    376   
    pub min_byte: ::std::option::Option<crate::input::malformed_range_override_input::MinByte>,
         377  +
    /* StructureGenerator.kt:231 */
  217    378   
    #[allow(missing_docs)] // documentation missing in model
  218    379   
    pub max_byte: ::std::option::Option<crate::input::malformed_range_override_input::MaxByte>,
         380  +
    /* StructureGenerator.kt:231 */
  219    381   
    #[allow(missing_docs)] // documentation missing in model
  220    382   
    pub short: ::std::option::Option<crate::input::malformed_range_override_input::Short>,
         383  +
    /* StructureGenerator.kt:231 */
  221    384   
    #[allow(missing_docs)] // documentation missing in model
  222    385   
    pub min_short: ::std::option::Option<crate::input::malformed_range_override_input::MinShort>,
         386  +
    /* StructureGenerator.kt:231 */
  223    387   
    #[allow(missing_docs)] // documentation missing in model
  224    388   
    pub max_short: ::std::option::Option<crate::input::malformed_range_override_input::MaxShort>,
         389  +
    /* StructureGenerator.kt:231 */
  225    390   
    #[allow(missing_docs)] // documentation missing in model
  226    391   
    pub integer: ::std::option::Option<crate::input::malformed_range_override_input::Integer>,
         392  +
    /* StructureGenerator.kt:231 */
  227    393   
    #[allow(missing_docs)] // documentation missing in model
  228    394   
    pub min_integer:
  229    395   
        ::std::option::Option<crate::input::malformed_range_override_input::MinInteger>,
         396  +
    /* StructureGenerator.kt:231 */
  230    397   
    #[allow(missing_docs)] // documentation missing in model
  231    398   
    pub max_integer:
  232    399   
        ::std::option::Option<crate::input::malformed_range_override_input::MaxInteger>,
         400  +
    /* StructureGenerator.kt:231 */
  233    401   
    #[allow(missing_docs)] // documentation missing in model
  234    402   
    pub long: ::std::option::Option<crate::input::malformed_range_override_input::Long>,
         403  +
    /* StructureGenerator.kt:231 */
  235    404   
    #[allow(missing_docs)] // documentation missing in model
  236    405   
    pub min_long: ::std::option::Option<crate::input::malformed_range_override_input::MinLong>,
         406  +
    /* StructureGenerator.kt:231 */
  237    407   
    #[allow(missing_docs)] // documentation missing in model
  238    408   
    pub max_long: ::std::option::Option<crate::input::malformed_range_override_input::MaxLong>,
         409  +
    /* StructureGenerator.kt:231 */
  239    410   
    #[allow(missing_docs)] // documentation missing in model
  240    411   
    pub float: ::std::option::Option<f32>,
         412  +
    /* StructureGenerator.kt:231 */
  241    413   
    #[allow(missing_docs)] // documentation missing in model
  242    414   
    pub min_float: ::std::option::Option<f32>,
         415  +
    /* StructureGenerator.kt:231 */
  243    416   
    #[allow(missing_docs)] // documentation missing in model
  244    417   
    pub max_float: ::std::option::Option<f32>,
         418  +
    /* StructureGenerator.kt:201 */
  245    419   
}
         420  +
/* StructureGenerator.kt:135 */
  246    421   
impl MalformedRangeOverrideInput {
         422  +
    /* StructureGenerator.kt:231 */
  247    423   
    #[allow(missing_docs)] // documentation missing in model
         424  +
                           /* StructureGenerator.kt:166 */
  248    425   
    pub fn byte(
  249    426   
        &self,
  250    427   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::Byte> {
         428  +
        /* StructureGenerator.kt:170 */
  251    429   
        self.byte.as_ref()
         430  +
        /* StructureGenerator.kt:166 */
  252    431   
    }
         432  +
    /* StructureGenerator.kt:231 */
  253    433   
    #[allow(missing_docs)] // documentation missing in model
         434  +
                           /* StructureGenerator.kt:166 */
  254    435   
    pub fn min_byte(
  255    436   
        &self,
  256    437   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MinByte> {
         438  +
        /* StructureGenerator.kt:170 */
  257    439   
        self.min_byte.as_ref()
         440  +
        /* StructureGenerator.kt:166 */
  258    441   
    }
         442  +
    /* StructureGenerator.kt:231 */
  259    443   
    #[allow(missing_docs)] // documentation missing in model
         444  +
                           /* StructureGenerator.kt:166 */
  260    445   
    pub fn max_byte(
  261    446   
        &self,
  262    447   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MaxByte> {
         448  +
        /* StructureGenerator.kt:170 */
  263    449   
        self.max_byte.as_ref()
         450  +
        /* StructureGenerator.kt:166 */
  264    451   
    }
         452  +
    /* StructureGenerator.kt:231 */
  265    453   
    #[allow(missing_docs)] // documentation missing in model
         454  +
                           /* StructureGenerator.kt:166 */
  266    455   
    pub fn short(
  267    456   
        &self,
  268    457   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::Short> {
         458  +
        /* StructureGenerator.kt:170 */
  269    459   
        self.short.as_ref()
         460  +
        /* StructureGenerator.kt:166 */
  270    461   
    }
         462  +
    /* StructureGenerator.kt:231 */
  271    463   
    #[allow(missing_docs)] // documentation missing in model
         464  +
                           /* StructureGenerator.kt:166 */
  272    465   
    pub fn min_short(
  273    466   
        &self,
  274    467   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MinShort> {
         468  +
        /* StructureGenerator.kt:170 */
  275    469   
        self.min_short.as_ref()
         470  +
        /* StructureGenerator.kt:166 */
  276    471   
    }
         472  +
    /* StructureGenerator.kt:231 */
  277    473   
    #[allow(missing_docs)] // documentation missing in model
         474  +
                           /* StructureGenerator.kt:166 */
  278    475   
    pub fn max_short(
  279    476   
        &self,
  280    477   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MaxShort> {
         478  +
        /* StructureGenerator.kt:170 */
  281    479   
        self.max_short.as_ref()
         480  +
        /* StructureGenerator.kt:166 */
  282    481   
    }
         482  +
    /* StructureGenerator.kt:231 */
  283    483   
    #[allow(missing_docs)] // documentation missing in model
         484  +
                           /* StructureGenerator.kt:166 */
  284    485   
    pub fn integer(
  285    486   
        &self,
  286    487   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::Integer> {
         488  +
        /* StructureGenerator.kt:170 */
  287    489   
        self.integer.as_ref()
         490  +
        /* StructureGenerator.kt:166 */
  288    491   
    }
         492  +
    /* StructureGenerator.kt:231 */
  289    493   
    #[allow(missing_docs)] // documentation missing in model
         494  +
                           /* StructureGenerator.kt:166 */
  290    495   
    pub fn min_integer(
  291    496   
        &self,
  292    497   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MinInteger> {
         498  +
        /* StructureGenerator.kt:170 */
  293    499   
        self.min_integer.as_ref()
         500  +
        /* StructureGenerator.kt:166 */
  294    501   
    }
         502  +
    /* StructureGenerator.kt:231 */
  295    503   
    #[allow(missing_docs)] // documentation missing in model
         504  +
                           /* StructureGenerator.kt:166 */
  296    505   
    pub fn max_integer(
  297    506   
        &self,
  298    507   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MaxInteger> {
         508  +
        /* StructureGenerator.kt:170 */
  299    509   
        self.max_integer.as_ref()
         510  +
        /* StructureGenerator.kt:166 */
  300    511   
    }
         512  +
    /* StructureGenerator.kt:231 */
  301    513   
    #[allow(missing_docs)] // documentation missing in model
         514  +
                           /* StructureGenerator.kt:166 */
  302    515   
    pub fn long(
  303    516   
        &self,
  304    517   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::Long> {
         518  +
        /* StructureGenerator.kt:170 */
  305    519   
        self.long.as_ref()
         520  +
        /* StructureGenerator.kt:166 */
  306    521   
    }
         522  +
    /* StructureGenerator.kt:231 */
  307    523   
    #[allow(missing_docs)] // documentation missing in model
         524  +
                           /* StructureGenerator.kt:166 */
  308    525   
    pub fn min_long(
  309    526   
        &self,
  310    527   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MinLong> {
         528  +
        /* StructureGenerator.kt:170 */
  311    529   
        self.min_long.as_ref()
         530  +
        /* StructureGenerator.kt:166 */
  312    531   
    }
         532  +
    /* StructureGenerator.kt:231 */
  313    533   
    #[allow(missing_docs)] // documentation missing in model
         534  +
                           /* StructureGenerator.kt:166 */
  314    535   
    pub fn max_long(
  315    536   
        &self,
  316    537   
    ) -> ::std::option::Option<&crate::input::malformed_range_override_input::MaxLong> {
         538  +
        /* StructureGenerator.kt:170 */
  317    539   
        self.max_long.as_ref()
         540  +
        /* StructureGenerator.kt:166 */
  318    541   
    }
         542  +
    /* StructureGenerator.kt:231 */
  319    543   
    #[allow(missing_docs)] // documentation missing in model
         544  +
                           /* StructureGenerator.kt:166 */
  320    545   
    pub fn float(&self) -> ::std::option::Option<f32> {
         546  +
        /* StructureGenerator.kt:168 */
  321    547   
        self.float
         548  +
        /* StructureGenerator.kt:166 */
  322    549   
    }
         550  +
    /* StructureGenerator.kt:231 */
  323    551   
    #[allow(missing_docs)] // documentation missing in model
         552  +
                           /* StructureGenerator.kt:166 */
  324    553   
    pub fn min_float(&self) -> ::std::option::Option<f32> {
         554  +
        /* StructureGenerator.kt:168 */
  325    555   
        self.min_float
         556  +
        /* StructureGenerator.kt:166 */
  326    557   
    }
         558  +
    /* StructureGenerator.kt:231 */
  327    559   
    #[allow(missing_docs)] // documentation missing in model
         560  +
                           /* StructureGenerator.kt:166 */
  328    561   
    pub fn max_float(&self) -> ::std::option::Option<f32> {
         562  +
        /* StructureGenerator.kt:168 */
  329    563   
        self.max_float
         564  +
        /* StructureGenerator.kt:166 */
  330    565   
    }
         566  +
    /* StructureGenerator.kt:135 */
  331    567   
}
         568  +
/* ServerCodegenVisitor.kt:345 */
  332    569   
impl MalformedRangeOverrideInput {
  333         -
    /// Creates a new builder-style object to manufacture [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
         570  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
         571  +
    /* ServerBuilderGenerator.kt:295 */
  334    572   
    pub fn builder() -> crate::input::malformed_range_override_input::Builder {
         573  +
        /* ServerBuilderGenerator.kt:296 */
  335    574   
        crate::input::malformed_range_override_input::Builder::default()
         575  +
        /* ServerBuilderGenerator.kt:295 */
  336    576   
    }
         577  +
    /* ServerCodegenVisitor.kt:345 */
  337    578   
}
         579  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  338    580   
impl crate::constrained::Constrained for crate::input::MalformedRangeOverrideInput {
  339    581   
    type Unconstrained = crate::input::malformed_range_override_input::Builder;
  340    582   
}
  341    583   
         584  +
/* StructureGenerator.kt:197 */
  342    585   
#[allow(missing_docs)] // documentation missing in model
         586  +
/* RustType.kt:516 */
  343    587   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  344         -
pub struct MalformedRangeInput {
         588  +
pub /* StructureGenerator.kt:201 */ struct MalformedRangeInput {
         589  +
    /* StructureGenerator.kt:231 */
  345    590   
    #[allow(missing_docs)] // documentation missing in model
  346    591   
    pub byte: ::std::option::Option<crate::model::RangeByte>,
         592  +
    /* StructureGenerator.kt:231 */
  347    593   
    #[allow(missing_docs)] // documentation missing in model
  348    594   
    pub min_byte: ::std::option::Option<crate::model::MinByte>,
         595  +
    /* StructureGenerator.kt:231 */
  349    596   
    #[allow(missing_docs)] // documentation missing in model
  350    597   
    pub max_byte: ::std::option::Option<crate::model::MaxByte>,
         598  +
    /* StructureGenerator.kt:231 */
  351    599   
    #[allow(missing_docs)] // documentation missing in model
  352    600   
    pub short: ::std::option::Option<crate::model::RangeShort>,
         601  +
    /* StructureGenerator.kt:231 */
  353    602   
    #[allow(missing_docs)] // documentation missing in model
  354    603   
    pub min_short: ::std::option::Option<crate::model::MinShort>,
         604  +
    /* StructureGenerator.kt:231 */
  355    605   
    #[allow(missing_docs)] // documentation missing in model
  356    606   
    pub max_short: ::std::option::Option<crate::model::MaxShort>,
         607  +
    /* StructureGenerator.kt:231 */
  357    608   
    #[allow(missing_docs)] // documentation missing in model
  358    609   
    pub integer: ::std::option::Option<crate::model::RangeInteger>,
         610  +
    /* StructureGenerator.kt:231 */
  359    611   
    #[allow(missing_docs)] // documentation missing in model
  360    612   
    pub min_integer: ::std::option::Option<crate::model::MinInteger>,
         613  +
    /* StructureGenerator.kt:231 */
  361    614   
    #[allow(missing_docs)] // documentation missing in model
  362    615   
    pub max_integer: ::std::option::Option<crate::model::MaxInteger>,
         616  +
    /* StructureGenerator.kt:231 */
  363    617   
    #[allow(missing_docs)] // documentation missing in model
  364    618   
    pub long: ::std::option::Option<crate::model::RangeLong>,
         619  +
    /* StructureGenerator.kt:231 */
  365    620   
    #[allow(missing_docs)] // documentation missing in model
  366    621   
    pub min_long: ::std::option::Option<crate::model::MinLong>,
         622  +
    /* StructureGenerator.kt:231 */
  367    623   
    #[allow(missing_docs)] // documentation missing in model
  368    624   
    pub max_long: ::std::option::Option<crate::model::MaxLong>,
         625  +
    /* StructureGenerator.kt:231 */
  369    626   
    #[allow(missing_docs)] // documentation missing in model
  370    627   
    pub float: ::std::option::Option<f32>,
         628  +
    /* StructureGenerator.kt:231 */
  371    629   
    #[allow(missing_docs)] // documentation missing in model
  372    630   
    pub min_float: ::std::option::Option<f32>,
         631  +
    /* StructureGenerator.kt:231 */
  373    632   
    #[allow(missing_docs)] // documentation missing in model
  374    633   
    pub max_float: ::std::option::Option<f32>,
         634  +
    /* StructureGenerator.kt:201 */
  375    635   
}
         636  +
/* StructureGenerator.kt:135 */
  376    637   
impl MalformedRangeInput {
         638  +
    /* StructureGenerator.kt:231 */
  377    639   
    #[allow(missing_docs)] // documentation missing in model
         640  +
                           /* StructureGenerator.kt:166 */
  378    641   
    pub fn byte(&self) -> ::std::option::Option<&crate::model::RangeByte> {
         642  +
        /* StructureGenerator.kt:170 */
  379    643   
        self.byte.as_ref()
         644  +
        /* StructureGenerator.kt:166 */
  380    645   
    }
         646  +
    /* StructureGenerator.kt:231 */
  381    647   
    #[allow(missing_docs)] // documentation missing in model
         648  +
                           /* StructureGenerator.kt:166 */
  382    649   
    pub fn min_byte(&self) -> ::std::option::Option<&crate::model::MinByte> {
         650  +
        /* StructureGenerator.kt:170 */
  383    651   
        self.min_byte.as_ref()
         652  +
        /* StructureGenerator.kt:166 */
  384    653   
    }
         654  +
    /* StructureGenerator.kt:231 */
  385    655   
    #[allow(missing_docs)] // documentation missing in model
         656  +
                           /* StructureGenerator.kt:166 */
  386    657   
    pub fn max_byte(&self) -> ::std::option::Option<&crate::model::MaxByte> {
         658  +
        /* StructureGenerator.kt:170 */
  387    659   
        self.max_byte.as_ref()
         660  +
        /* StructureGenerator.kt:166 */
  388    661   
    }
         662  +
    /* StructureGenerator.kt:231 */
  389    663   
    #[allow(missing_docs)] // documentation missing in model
         664  +
                           /* StructureGenerator.kt:166 */
  390    665   
    pub fn short(&self) -> ::std::option::Option<&crate::model::RangeShort> {
         666  +
        /* StructureGenerator.kt:170 */
  391    667   
        self.short.as_ref()
         668  +
        /* StructureGenerator.kt:166 */
  392    669   
    }
         670  +
    /* StructureGenerator.kt:231 */
  393    671   
    #[allow(missing_docs)] // documentation missing in model
         672  +
                           /* StructureGenerator.kt:166 */
  394    673   
    pub fn min_short(&self) -> ::std::option::Option<&crate::model::MinShort> {
         674  +
        /* StructureGenerator.kt:170 */
  395    675   
        self.min_short.as_ref()
         676  +
        /* StructureGenerator.kt:166 */
  396    677   
    }
         678  +
    /* StructureGenerator.kt:231 */
  397    679   
    #[allow(missing_docs)] // documentation missing in model
         680  +
                           /* StructureGenerator.kt:166 */
  398    681   
    pub fn max_short(&self) -> ::std::option::Option<&crate::model::MaxShort> {
         682  +
        /* StructureGenerator.kt:170 */
  399    683   
        self.max_short.as_ref()
         684  +
        /* StructureGenerator.kt:166 */
  400    685   
    }
         686  +
    /* StructureGenerator.kt:231 */
  401    687   
    #[allow(missing_docs)] // documentation missing in model
         688  +
                           /* StructureGenerator.kt:166 */
  402    689   
    pub fn integer(&self) -> ::std::option::Option<&crate::model::RangeInteger> {
         690  +
        /* StructureGenerator.kt:170 */
  403    691   
        self.integer.as_ref()
         692  +
        /* StructureGenerator.kt:166 */
  404    693   
    }
         694  +
    /* StructureGenerator.kt:231 */
  405    695   
    #[allow(missing_docs)] // documentation missing in model
         696  +
                           /* StructureGenerator.kt:166 */
  406    697   
    pub fn min_integer(&self) -> ::std::option::Option<&crate::model::MinInteger> {
         698  +
        /* StructureGenerator.kt:170 */
  407    699   
        self.min_integer.as_ref()
         700  +
        /* StructureGenerator.kt:166 */
  408    701   
    }
         702  +
    /* StructureGenerator.kt:231 */
  409    703   
    #[allow(missing_docs)] // documentation missing in model
         704  +
                           /* StructureGenerator.kt:166 */
  410    705   
    pub fn max_integer(&self) -> ::std::option::Option<&crate::model::MaxInteger> {
         706  +
        /* StructureGenerator.kt:170 */
  411    707   
        self.max_integer.as_ref()
         708  +
        /* StructureGenerator.kt:166 */
  412    709   
    }
         710  +
    /* StructureGenerator.kt:231 */
  413    711   
    #[allow(missing_docs)] // documentation missing in model
         712  +
                           /* StructureGenerator.kt:166 */
  414    713   
    pub fn long(&self) -> ::std::option::Option<&crate::model::RangeLong> {
         714  +
        /* StructureGenerator.kt:170 */
  415    715   
        self.long.as_ref()
         716  +
        /* StructureGenerator.kt:166 */
  416    717   
    }
         718  +
    /* StructureGenerator.kt:231 */
  417    719   
    #[allow(missing_docs)] // documentation missing in model
         720  +
                           /* StructureGenerator.kt:166 */
  418    721   
    pub fn min_long(&self) -> ::std::option::Option<&crate::model::MinLong> {
         722  +
        /* StructureGenerator.kt:170 */
  419    723   
        self.min_long.as_ref()
         724  +
        /* StructureGenerator.kt:166 */
  420    725   
    }
         726  +
    /* StructureGenerator.kt:231 */
  421    727   
    #[allow(missing_docs)] // documentation missing in model
         728  +
                           /* StructureGenerator.kt:166 */
  422    729   
    pub fn max_long(&self) -> ::std::option::Option<&crate::model::MaxLong> {
         730  +
        /* StructureGenerator.kt:170 */
  423    731   
        self.max_long.as_ref()
         732  +
        /* StructureGenerator.kt:166 */
  424    733   
    }
         734  +
    /* StructureGenerator.kt:231 */
  425    735   
    #[allow(missing_docs)] // documentation missing in model
         736  +
                           /* StructureGenerator.kt:166 */
  426    737   
    pub fn float(&self) -> ::std::option::Option<f32> {
         738  +
        /* StructureGenerator.kt:168 */
  427    739   
        self.float
         740  +
        /* StructureGenerator.kt:166 */
  428    741   
    }
         742  +
    /* StructureGenerator.kt:231 */
  429    743   
    #[allow(missing_docs)] // documentation missing in model
         744  +
                           /* StructureGenerator.kt:166 */
  430    745   
    pub fn min_float(&self) -> ::std::option::Option<f32> {
         746  +
        /* StructureGenerator.kt:168 */
  431    747   
        self.min_float
         748  +
        /* StructureGenerator.kt:166 */
  432    749   
    }
         750  +
    /* StructureGenerator.kt:231 */
  433    751   
    #[allow(missing_docs)] // documentation missing in model
         752  +
                           /* StructureGenerator.kt:166 */
  434    753   
    pub fn max_float(&self) -> ::std::option::Option<f32> {
         754  +
        /* StructureGenerator.kt:168 */
  435    755   
        self.max_float
         756  +
        /* StructureGenerator.kt:166 */
  436    757   
    }
         758  +
    /* StructureGenerator.kt:135 */
  437    759   
}
         760  +
/* ServerCodegenVisitor.kt:345 */
  438    761   
impl MalformedRangeInput {
  439         -
    /// Creates a new builder-style object to manufacture [`MalformedRangeInput`](crate::input::MalformedRangeInput).
         762  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedRangeInput`](crate::input::MalformedRangeInput).
         763  +
    /* ServerBuilderGenerator.kt:295 */
  440    764   
    pub fn builder() -> crate::input::malformed_range_input::Builder {
         765  +
        /* ServerBuilderGenerator.kt:296 */
  441    766   
        crate::input::malformed_range_input::Builder::default()
         767  +
        /* ServerBuilderGenerator.kt:295 */
  442    768   
    }
         769  +
    /* ServerCodegenVisitor.kt:345 */
  443    770   
}
         771  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  444    772   
impl crate::constrained::Constrained for crate::input::MalformedRangeInput {
  445    773   
    type Unconstrained = crate::input::malformed_range_input::Builder;
  446    774   
}
  447    775   
         776  +
/* StructureGenerator.kt:197 */
  448    777   
#[allow(missing_docs)] // documentation missing in model
         778  +
/* RustType.kt:516 */
  449    779   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  450         -
pub struct MalformedPatternOverrideInput {
         780  +
pub /* StructureGenerator.kt:201 */ struct MalformedPatternOverrideInput {
         781  +
    /* StructureGenerator.kt:231 */
  451    782   
    #[allow(missing_docs)] // documentation missing in model
  452    783   
    pub string: ::std::option::Option<crate::input::malformed_pattern_override_input::String>,
         784  +
    /* StructureGenerator.kt:231 */
  453    785   
    #[allow(missing_docs)] // documentation missing in model
  454    786   
    pub list: ::std::option::Option<::std::vec::Vec<crate::model::pattern_list_override::Member>>,
         787  +
    /* StructureGenerator.kt:231 */
  455    788   
    #[allow(missing_docs)] // documentation missing in model
  456    789   
    pub map: ::std::option::Option<
  457    790   
        ::std::collections::HashMap<
  458    791   
            crate::model::pattern_map_override::Key,
  459    792   
            crate::model::pattern_map_override::Value,
  460    793   
        >,
  461    794   
    >,
         795  +
    /* StructureGenerator.kt:231 */
  462    796   
    #[allow(missing_docs)] // documentation missing in model
  463    797   
    pub union: ::std::option::Option<crate::model::PatternUnionOverride>,
         798  +
    /* StructureGenerator.kt:201 */
  464    799   
}
         800  +
/* StructureGenerator.kt:135 */
  465    801   
impl MalformedPatternOverrideInput {
         802  +
    /* StructureGenerator.kt:231 */
  466    803   
    #[allow(missing_docs)] // documentation missing in model
         804  +
                           /* StructureGenerator.kt:166 */
  467    805   
    pub fn string(
  468    806   
        &self,
  469    807   
    ) -> ::std::option::Option<&crate::input::malformed_pattern_override_input::String> {
         808  +
        /* StructureGenerator.kt:170 */
  470    809   
        self.string.as_ref()
         810  +
        /* StructureGenerator.kt:166 */
  471    811   
    }
         812  +
    /* StructureGenerator.kt:231 */
  472    813   
    #[allow(missing_docs)] // documentation missing in model
         814  +
                           /* StructureGenerator.kt:166 */
  473    815   
    pub fn list(&self) -> ::std::option::Option<&[crate::model::pattern_list_override::Member]> {
         816  +
        /* StructureGenerator.kt:169 */
  474    817   
        self.list.as_deref()
         818  +
        /* StructureGenerator.kt:166 */
  475    819   
    }
         820  +
    /* StructureGenerator.kt:231 */
  476    821   
    #[allow(missing_docs)] // documentation missing in model
         822  +
                           /* StructureGenerator.kt:166 */
  477    823   
    pub fn map(
  478    824   
        &self,
  479    825   
    ) -> ::std::option::Option<
  480    826   
        &::std::collections::HashMap<
  481    827   
            crate::model::pattern_map_override::Key,
  482    828   
            crate::model::pattern_map_override::Value,
  483    829   
        >,
  484    830   
    > {
         831  +
        /* StructureGenerator.kt:170 */
  485    832   
        self.map.as_ref()
         833  +
        /* StructureGenerator.kt:166 */
  486    834   
    }
         835  +
    /* StructureGenerator.kt:231 */
  487    836   
    #[allow(missing_docs)] // documentation missing in model
         837  +
                           /* StructureGenerator.kt:166 */
  488    838   
    pub fn union(&self) -> ::std::option::Option<&crate::model::PatternUnionOverride> {
         839  +
        /* StructureGenerator.kt:170 */
  489    840   
        self.union.as_ref()
         841  +
        /* StructureGenerator.kt:166 */
  490    842   
    }
         843  +
    /* StructureGenerator.kt:135 */
  491    844   
}
         845  +
/* ServerCodegenVisitor.kt:345 */
  492    846   
impl MalformedPatternOverrideInput {
  493         -
    /// Creates a new builder-style object to manufacture [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
         847  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
         848  +
    /* ServerBuilderGenerator.kt:295 */
  494    849   
    pub fn builder() -> crate::input::malformed_pattern_override_input::Builder {
         850  +
        /* ServerBuilderGenerator.kt:296 */
  495    851   
        crate::input::malformed_pattern_override_input::Builder::default()
         852  +
        /* ServerBuilderGenerator.kt:295 */
  496    853   
    }
         854  +
    /* ServerCodegenVisitor.kt:345 */
  497    855   
}
         856  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  498    857   
impl crate::constrained::Constrained for crate::input::MalformedPatternOverrideInput {
  499    858   
    type Unconstrained = crate::input::malformed_pattern_override_input::Builder;
  500    859   
}
  501    860   
         861  +
/* StructureGenerator.kt:197 */
  502    862   
#[allow(missing_docs)] // documentation missing in model
         863  +
/* RustType.kt:516 */
  503    864   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  504         -
pub struct MalformedPatternInput {
         865  +
pub /* StructureGenerator.kt:201 */ struct MalformedPatternInput {
         866  +
    /* StructureGenerator.kt:231 */
  505    867   
    #[allow(missing_docs)] // documentation missing in model
  506    868   
    pub string: ::std::option::Option<crate::model::PatternString>,
         869  +
    /* StructureGenerator.kt:231 */
  507    870   
    #[allow(missing_docs)] // documentation missing in model
  508    871   
    pub evil_string: ::std::option::Option<crate::model::EvilString>,
         872  +
    /* StructureGenerator.kt:231 */
  509    873   
    #[allow(missing_docs)] // documentation missing in model
  510    874   
    pub list: ::std::option::Option<::std::vec::Vec<crate::model::PatternString>>,
         875  +
    /* StructureGenerator.kt:231 */
  511    876   
    #[allow(missing_docs)] // documentation missing in model
  512    877   
    pub map: ::std::option::Option<
  513    878   
        ::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  514    879   
    >,
         880  +
    /* StructureGenerator.kt:231 */
  515    881   
    #[allow(missing_docs)] // documentation missing in model
  516    882   
    pub union: ::std::option::Option<crate::model::PatternUnion>,
         883  +
    /* StructureGenerator.kt:201 */
  517    884   
}
         885  +
/* StructureGenerator.kt:135 */
  518    886   
impl MalformedPatternInput {
         887  +
    /* StructureGenerator.kt:231 */
  519    888   
    #[allow(missing_docs)] // documentation missing in model
         889  +
                           /* StructureGenerator.kt:166 */
  520    890   
    pub fn string(&self) -> ::std::option::Option<&crate::model::PatternString> {
         891  +
        /* StructureGenerator.kt:170 */
  521    892   
        self.string.as_ref()
         893  +
        /* StructureGenerator.kt:166 */
  522    894   
    }
         895  +
    /* StructureGenerator.kt:231 */
  523    896   
    #[allow(missing_docs)] // documentation missing in model
         897  +
                           /* StructureGenerator.kt:166 */
  524    898   
    pub fn evil_string(&self) -> ::std::option::Option<&crate::model::EvilString> {
         899  +
        /* StructureGenerator.kt:170 */
  525    900   
        self.evil_string.as_ref()
         901  +
        /* StructureGenerator.kt:166 */
  526    902   
    }
         903  +
    /* StructureGenerator.kt:231 */
  527    904   
    #[allow(missing_docs)] // documentation missing in model
         905  +
                           /* StructureGenerator.kt:166 */
  528    906   
    pub fn list(&self) -> ::std::option::Option<&[crate::model::PatternString]> {
         907  +
        /* StructureGenerator.kt:169 */
  529    908   
        self.list.as_deref()
         909  +
        /* StructureGenerator.kt:166 */
  530    910   
    }
         911  +
    /* StructureGenerator.kt:231 */
  531    912   
    #[allow(missing_docs)] // documentation missing in model
         913  +
                           /* StructureGenerator.kt:166 */
  532    914   
    pub fn map(
  533    915   
        &self,
  534    916   
    ) -> ::std::option::Option<
  535    917   
        &::std::collections::HashMap<crate::model::PatternString, crate::model::PatternString>,
  536    918   
    > {
         919  +
        /* StructureGenerator.kt:170 */
  537    920   
        self.map.as_ref()
         921  +
        /* StructureGenerator.kt:166 */
  538    922   
    }
         923  +
    /* StructureGenerator.kt:231 */
  539    924   
    #[allow(missing_docs)] // documentation missing in model
         925  +
                           /* StructureGenerator.kt:166 */
  540    926   
    pub fn union(&self) -> ::std::option::Option<&crate::model::PatternUnion> {
         927  +
        /* StructureGenerator.kt:170 */
  541    928   
        self.union.as_ref()
         929  +
        /* StructureGenerator.kt:166 */
  542    930   
    }
         931  +
    /* StructureGenerator.kt:135 */
  543    932   
}
         933  +
/* ServerCodegenVisitor.kt:345 */
  544    934   
impl MalformedPatternInput {
  545         -
    /// Creates a new builder-style object to manufacture [`MalformedPatternInput`](crate::input::MalformedPatternInput).
         935  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedPatternInput`](crate::input::MalformedPatternInput).
         936  +
    /* ServerBuilderGenerator.kt:295 */
  546    937   
    pub fn builder() -> crate::input::malformed_pattern_input::Builder {
         938  +
        /* ServerBuilderGenerator.kt:296 */
  547    939   
        crate::input::malformed_pattern_input::Builder::default()
         940  +
        /* ServerBuilderGenerator.kt:295 */
  548    941   
    }
         942  +
    /* ServerCodegenVisitor.kt:345 */
  549    943   
}
         944  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  550    945   
impl crate::constrained::Constrained for crate::input::MalformedPatternInput {
  551    946   
    type Unconstrained = crate::input::malformed_pattern_input::Builder;
  552    947   
}
  553    948   
         949  +
/* StructureGenerator.kt:197 */
  554    950   
#[allow(missing_docs)] // documentation missing in model
         951  +
/* RustType.kt:516 */
  555    952   
#[derive(
  556    953   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
  557    954   
)]
  558         -
pub struct MalformedLengthQueryStringInput {
         955  +
pub /* StructureGenerator.kt:201 */ struct MalformedLengthQueryStringInput {
         956  +
    /* StructureGenerator.kt:231 */
  559    957   
    #[allow(missing_docs)] // documentation missing in model
  560    958   
    pub string: ::std::option::Option<crate::model::LengthString>,
         959  +
    /* StructureGenerator.kt:201 */
  561    960   
}
         961  +
/* StructureGenerator.kt:135 */
  562    962   
impl MalformedLengthQueryStringInput {
         963  +
    /* StructureGenerator.kt:231 */
  563    964   
    #[allow(missing_docs)] // documentation missing in model
         965  +
                           /* StructureGenerator.kt:166 */
  564    966   
    pub fn string(&self) -> ::std::option::Option<&crate::model::LengthString> {
         967  +
        /* StructureGenerator.kt:170 */
  565    968   
        self.string.as_ref()
         969  +
        /* StructureGenerator.kt:166 */
  566    970   
    }
         971  +
    /* StructureGenerator.kt:135 */
  567    972   
}
         973  +
/* ServerCodegenVisitor.kt:345 */
  568    974   
impl MalformedLengthQueryStringInput {
  569         -
    /// Creates a new builder-style object to manufacture [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
         975  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
         976  +
    /* ServerBuilderGenerator.kt:295 */
  570    977   
    pub fn builder() -> crate::input::malformed_length_query_string_input::Builder {
         978  +
        /* ServerBuilderGenerator.kt:296 */
  571    979   
        crate::input::malformed_length_query_string_input::Builder::default()
         980  +
        /* ServerBuilderGenerator.kt:295 */
  572    981   
    }
         982  +
    /* ServerCodegenVisitor.kt:345 */
  573    983   
}
         984  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  574    985   
impl crate::constrained::Constrained for crate::input::MalformedLengthQueryStringInput {
  575    986   
    type Unconstrained = crate::input::malformed_length_query_string_input::Builder;
  576    987   
}
  577    988   
         989  +
/* StructureGenerator.kt:197 */
  578    990   
#[allow(missing_docs)] // documentation missing in model
         991  +
/* RustType.kt:516 */
  579    992   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  580         -
pub struct MalformedLengthOverrideInput {
         993  +
pub /* StructureGenerator.kt:201 */ struct MalformedLengthOverrideInput {
         994  +
    /* StructureGenerator.kt:231 */
  581    995   
    #[allow(missing_docs)] // documentation missing in model
  582    996   
    pub blob: ::std::option::Option<crate::input::malformed_length_override_input::Blob>,
         997  +
    /* StructureGenerator.kt:231 */
  583    998   
    #[allow(missing_docs)] // documentation missing in model
  584    999   
    pub string: ::std::option::Option<crate::input::malformed_length_override_input::String>,
        1000  +
    /* StructureGenerator.kt:231 */
  585   1001   
    #[allow(missing_docs)] // documentation missing in model
  586   1002   
    pub min_string: ::std::option::Option<crate::input::malformed_length_override_input::MinString>,
        1003  +
    /* StructureGenerator.kt:231 */
  587   1004   
    #[allow(missing_docs)] // documentation missing in model
  588   1005   
    pub max_string: ::std::option::Option<crate::input::malformed_length_override_input::MaxString>,
        1006  +
    /* StructureGenerator.kt:231 */
  589   1007   
    #[allow(missing_docs)] // documentation missing in model
  590   1008   
    pub list: ::std::option::Option<crate::input::malformed_length_override_input::List>,
        1009  +
    /* StructureGenerator.kt:231 */
  591   1010   
    #[allow(missing_docs)] // documentation missing in model
  592   1011   
    pub map: ::std::option::Option<crate::input::malformed_length_override_input::Map>,
        1012  +
    /* StructureGenerator.kt:201 */
  593   1013   
}
        1014  +
/* StructureGenerator.kt:135 */
  594   1015   
impl MalformedLengthOverrideInput {
        1016  +
    /* StructureGenerator.kt:231 */
  595   1017   
    #[allow(missing_docs)] // documentation missing in model
        1018  +
                           /* StructureGenerator.kt:166 */
  596   1019   
    pub fn blob(
  597   1020   
        &self,
  598   1021   
    ) -> ::std::option::Option<&crate::input::malformed_length_override_input::Blob> {
        1022  +
        /* StructureGenerator.kt:170 */
  599   1023   
        self.blob.as_ref()
        1024  +
        /* StructureGenerator.kt:166 */
  600   1025   
    }
        1026  +
    /* StructureGenerator.kt:231 */
  601   1027   
    #[allow(missing_docs)] // documentation missing in model
        1028  +
                           /* StructureGenerator.kt:166 */
  602   1029   
    pub fn string(
  603   1030   
        &self,
  604   1031   
    ) -> ::std::option::Option<&crate::input::malformed_length_override_input::String> {
        1032  +
        /* StructureGenerator.kt:170 */
  605   1033   
        self.string.as_ref()
        1034  +
        /* StructureGenerator.kt:166 */
  606   1035   
    }
        1036  +
    /* StructureGenerator.kt:231 */
  607   1037   
    #[allow(missing_docs)] // documentation missing in model
        1038  +
                           /* StructureGenerator.kt:166 */
  608   1039   
    pub fn min_string(
  609   1040   
        &self,
  610   1041   
    ) -> ::std::option::Option<&crate::input::malformed_length_override_input::MinString> {
        1042  +
        /* StructureGenerator.kt:170 */
  611   1043   
        self.min_string.as_ref()
        1044  +
        /* StructureGenerator.kt:166 */
  612   1045   
    }
        1046  +
    /* StructureGenerator.kt:231 */
  613   1047   
    #[allow(missing_docs)] // documentation missing in model
        1048  +
                           /* StructureGenerator.kt:166 */
  614   1049   
    pub fn max_string(
  615   1050   
        &self,
  616   1051   
    ) -> ::std::option::Option<&crate::input::malformed_length_override_input::MaxString> {
        1052  +
        /* StructureGenerator.kt:170 */
  617   1053   
        self.max_string.as_ref()
        1054  +
        /* StructureGenerator.kt:166 */
  618   1055   
    }
        1056  +
    /* StructureGenerator.kt:231 */
  619   1057   
    #[allow(missing_docs)] // documentation missing in model
        1058  +
                           /* StructureGenerator.kt:166 */
  620   1059   
    pub fn list(
  621   1060   
        &self,
  622   1061   
    ) -> ::std::option::Option<&crate::input::malformed_length_override_input::List> {
        1062  +
        /* StructureGenerator.kt:170 */
  623   1063   
        self.list.as_ref()
        1064  +
        /* StructureGenerator.kt:166 */
  624   1065   
    }
        1066  +
    /* StructureGenerator.kt:231 */
  625   1067   
    #[allow(missing_docs)] // documentation missing in model
        1068  +
                           /* StructureGenerator.kt:166 */
  626   1069   
    pub fn map(
  627   1070   
        &self,
  628   1071   
    ) -> ::std::option::Option<&crate::input::malformed_length_override_input::Map> {
        1072  +
        /* StructureGenerator.kt:170 */
  629   1073   
        self.map.as_ref()
        1074  +
        /* StructureGenerator.kt:166 */
  630   1075   
    }
        1076  +
    /* StructureGenerator.kt:135 */
  631   1077   
}
        1078  +
/* ServerCodegenVisitor.kt:345 */
  632   1079   
impl MalformedLengthOverrideInput {
  633         -
    /// Creates a new builder-style object to manufacture [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
        1080  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
        1081  +
    /* ServerBuilderGenerator.kt:295 */
  634   1082   
    pub fn builder() -> crate::input::malformed_length_override_input::Builder {
        1083  +
        /* ServerBuilderGenerator.kt:296 */
  635   1084   
        crate::input::malformed_length_override_input::Builder::default()
        1085  +
        /* ServerBuilderGenerator.kt:295 */
  636   1086   
    }
        1087  +
    /* ServerCodegenVisitor.kt:345 */
  637   1088   
}
        1089  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  638   1090   
impl crate::constrained::Constrained for crate::input::MalformedLengthOverrideInput {
  639   1091   
    type Unconstrained = crate::input::malformed_length_override_input::Builder;
  640   1092   
}
  641   1093   
        1094  +
/* StructureGenerator.kt:197 */
  642   1095   
#[allow(missing_docs)] // documentation missing in model
        1096  +
/* RustType.kt:516 */
  643   1097   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  644         -
pub struct MalformedLengthInput {
        1098  +
pub /* StructureGenerator.kt:201 */ struct MalformedLengthInput {
        1099  +
    /* StructureGenerator.kt:231 */
  645   1100   
    #[allow(missing_docs)] // documentation missing in model
  646   1101   
    pub blob: ::std::option::Option<crate::model::LengthBlob>,
        1102  +
    /* StructureGenerator.kt:231 */
  647   1103   
    #[allow(missing_docs)] // documentation missing in model
  648   1104   
    pub string: ::std::option::Option<crate::model::LengthString>,
        1105  +
    /* StructureGenerator.kt:231 */
  649   1106   
    #[allow(missing_docs)] // documentation missing in model
  650   1107   
    pub min_string: ::std::option::Option<crate::model::MinLengthString>,
        1108  +
    /* StructureGenerator.kt:231 */
  651   1109   
    #[allow(missing_docs)] // documentation missing in model
  652   1110   
    pub max_string: ::std::option::Option<crate::model::MaxLengthString>,
        1111  +
    /* StructureGenerator.kt:231 */
  653   1112   
    #[allow(missing_docs)] // documentation missing in model
  654   1113   
    pub list: ::std::option::Option<crate::model::LengthList>,
        1114  +
    /* StructureGenerator.kt:231 */
  655   1115   
    #[allow(missing_docs)] // documentation missing in model
  656   1116   
    pub map: ::std::option::Option<crate::model::LengthMap>,
        1117  +
    /* StructureGenerator.kt:201 */
  657   1118   
}
        1119  +
/* StructureGenerator.kt:135 */
  658   1120   
impl MalformedLengthInput {
        1121  +
    /* StructureGenerator.kt:231 */
  659   1122   
    #[allow(missing_docs)] // documentation missing in model
        1123  +
                           /* StructureGenerator.kt:166 */
  660   1124   
    pub fn blob(&self) -> ::std::option::Option<&crate::model::LengthBlob> {
        1125  +
        /* StructureGenerator.kt:170 */
  661   1126   
        self.blob.as_ref()
        1127  +
        /* StructureGenerator.kt:166 */
  662   1128   
    }
        1129  +
    /* StructureGenerator.kt:231 */
  663   1130   
    #[allow(missing_docs)] // documentation missing in model
        1131  +
                           /* StructureGenerator.kt:166 */
  664   1132   
    pub fn string(&self) -> ::std::option::Option<&crate::model::LengthString> {
        1133  +
        /* StructureGenerator.kt:170 */
  665   1134   
        self.string.as_ref()
        1135  +
        /* StructureGenerator.kt:166 */
  666   1136   
    }
        1137  +
    /* StructureGenerator.kt:231 */
  667   1138   
    #[allow(missing_docs)] // documentation missing in model
        1139  +
                           /* StructureGenerator.kt:166 */
  668   1140   
    pub fn min_string(&self) -> ::std::option::Option<&crate::model::MinLengthString> {
        1141  +
        /* StructureGenerator.kt:170 */
  669   1142   
        self.min_string.as_ref()
        1143  +
        /* StructureGenerator.kt:166 */
  670   1144   
    }
        1145  +
    /* StructureGenerator.kt:231 */
  671   1146   
    #[allow(missing_docs)] // documentation missing in model
        1147  +
                           /* StructureGenerator.kt:166 */
  672   1148   
    pub fn max_string(&self) -> ::std::option::Option<&crate::model::MaxLengthString> {
        1149  +
        /* StructureGenerator.kt:170 */
  673   1150   
        self.max_string.as_ref()
        1151  +
        /* StructureGenerator.kt:166 */
  674   1152   
    }
        1153  +
    /* StructureGenerator.kt:231 */
  675   1154   
    #[allow(missing_docs)] // documentation missing in model
        1155  +
                           /* StructureGenerator.kt:166 */
  676   1156   
    pub fn list(&self) -> ::std::option::Option<&crate::model::LengthList> {
        1157  +
        /* StructureGenerator.kt:170 */
  677   1158   
        self.list.as_ref()
        1159  +
        /* StructureGenerator.kt:166 */
  678   1160   
    }
        1161  +
    /* StructureGenerator.kt:231 */
  679   1162   
    #[allow(missing_docs)] // documentation missing in model
        1163  +
                           /* StructureGenerator.kt:166 */
  680   1164   
    pub fn map(&self) -> ::std::option::Option<&crate::model::LengthMap> {
        1165  +
        /* StructureGenerator.kt:170 */
  681   1166   
        self.map.as_ref()
        1167  +
        /* StructureGenerator.kt:166 */
  682   1168   
    }
        1169  +
    /* StructureGenerator.kt:135 */
  683   1170   
}
        1171  +
/* ServerCodegenVisitor.kt:345 */
  684   1172   
impl MalformedLengthInput {
  685         -
    /// Creates a new builder-style object to manufacture [`MalformedLengthInput`](crate::input::MalformedLengthInput).
        1173  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedLengthInput`](crate::input::MalformedLengthInput).
        1174  +
    /* ServerBuilderGenerator.kt:295 */
  686   1175   
    pub fn builder() -> crate::input::malformed_length_input::Builder {
        1176  +
        /* ServerBuilderGenerator.kt:296 */
  687   1177   
        crate::input::malformed_length_input::Builder::default()
        1178  +
        /* ServerBuilderGenerator.kt:295 */
  688   1179   
    }
        1180  +
    /* ServerCodegenVisitor.kt:345 */
  689   1181   
}
        1182  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  690   1183   
impl crate::constrained::Constrained for crate::input::MalformedLengthInput {
  691   1184   
    type Unconstrained = crate::input::malformed_length_input::Builder;
  692   1185   
}
  693   1186   
        1187  +
/* StructureGenerator.kt:197 */
  694   1188   
#[allow(missing_docs)] // documentation missing in model
        1189  +
/* RustType.kt:516 */
  695   1190   
#[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
  696         -
pub struct MalformedEnumInput {
        1191  +
pub /* StructureGenerator.kt:201 */ struct MalformedEnumInput {
        1192  +
    /* StructureGenerator.kt:231 */
  697   1193   
    #[allow(missing_docs)] // documentation missing in model
  698   1194   
    pub string: ::std::option::Option<crate::model::EnumString>,
        1195  +
    /* StructureGenerator.kt:231 */
  699   1196   
    #[allow(missing_docs)] // documentation missing in model
  700   1197   
    pub string_with_enum_trait: ::std::option::Option<crate::model::EnumTraitString>,
        1198  +
    /* StructureGenerator.kt:231 */
  701   1199   
    #[allow(missing_docs)] // documentation missing in model
  702   1200   
    pub list: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
        1201  +
    /* StructureGenerator.kt:231 */
  703   1202   
    #[allow(missing_docs)] // documentation missing in model
  704   1203   
    pub map: ::std::option::Option<
  705   1204   
        ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  706   1205   
    >,
        1206  +
    /* StructureGenerator.kt:231 */
  707   1207   
    #[allow(missing_docs)] // documentation missing in model
  708   1208   
    pub union: ::std::option::Option<crate::model::EnumUnion>,
        1209  +
    /* StructureGenerator.kt:201 */
  709   1210   
}
        1211  +
/* StructureGenerator.kt:135 */
  710   1212   
impl MalformedEnumInput {
        1213  +
    /* StructureGenerator.kt:231 */
  711   1214   
    #[allow(missing_docs)] // documentation missing in model
        1215  +
                           /* StructureGenerator.kt:166 */
  712   1216   
    pub fn string(&self) -> ::std::option::Option<&crate::model::EnumString> {
        1217  +
        /* StructureGenerator.kt:170 */
  713   1218   
        self.string.as_ref()
        1219  +
        /* StructureGenerator.kt:166 */
  714   1220   
    }
        1221  +
    /* StructureGenerator.kt:231 */
  715   1222   
    #[allow(missing_docs)] // documentation missing in model
        1223  +
                           /* StructureGenerator.kt:166 */
  716   1224   
    pub fn string_with_enum_trait(&self) -> ::std::option::Option<&crate::model::EnumTraitString> {
        1225  +
        /* StructureGenerator.kt:170 */
  717   1226   
        self.string_with_enum_trait.as_ref()
        1227  +
        /* StructureGenerator.kt:166 */
  718   1228   
    }
        1229  +
    /* StructureGenerator.kt:231 */
  719   1230   
    #[allow(missing_docs)] // documentation missing in model
        1231  +
                           /* StructureGenerator.kt:166 */
  720   1232   
    pub fn list(&self) -> ::std::option::Option<&[crate::model::EnumString]> {
        1233  +
        /* StructureGenerator.kt:169 */
  721   1234   
        self.list.as_deref()
        1235  +
        /* StructureGenerator.kt:166 */
  722   1236   
    }
        1237  +
    /* StructureGenerator.kt:231 */
  723   1238   
    #[allow(missing_docs)] // documentation missing in model
        1239  +
                           /* StructureGenerator.kt:166 */
  724   1240   
    pub fn map(
  725   1241   
        &self,
  726   1242   
    ) -> ::std::option::Option<
  727   1243   
        &::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
  728   1244   
    > {
        1245  +
        /* StructureGenerator.kt:170 */
  729   1246   
        self.map.as_ref()
        1247  +
        /* StructureGenerator.kt:166 */
  730   1248   
    }
        1249  +
    /* StructureGenerator.kt:231 */
  731   1250   
    #[allow(missing_docs)] // documentation missing in model
        1251  +
                           /* StructureGenerator.kt:166 */
  732   1252   
    pub fn union(&self) -> ::std::option::Option<&crate::model::EnumUnion> {
        1253  +
        /* StructureGenerator.kt:170 */
  733   1254   
        self.union.as_ref()
        1255  +
        /* StructureGenerator.kt:166 */
  734   1256   
    }
        1257  +
    /* StructureGenerator.kt:135 */
  735   1258   
}
        1259  +
/* ServerCodegenVisitor.kt:345 */
  736   1260   
impl MalformedEnumInput {
  737         -
    /// Creates a new builder-style object to manufacture [`MalformedEnumInput`](crate::input::MalformedEnumInput).
        1261  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MalformedEnumInput`](crate::input::MalformedEnumInput).
        1262  +
    /* ServerBuilderGenerator.kt:295 */
  738   1263   
    pub fn builder() -> crate::input::malformed_enum_input::Builder {
        1264  +
        /* ServerBuilderGenerator.kt:296 */
  739   1265   
        crate::input::malformed_enum_input::Builder::default()
        1266  +
        /* ServerBuilderGenerator.kt:295 */
  740   1267   
    }
        1268  +
    /* ServerCodegenVisitor.kt:345 */
  741   1269   
}
        1270  +
/* ServerStructureConstrainedTraitImpl.kt:21 */
  742   1271   
impl crate::constrained::Constrained for crate::input::MalformedEnumInput {
  743   1272   
    type Unconstrained = crate::input::malformed_enum_input::Builder;
  744   1273   
}
  745         -
/// See [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
        1274  +
/// /* ServerBuilderGenerator.kt:171 */See [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
  746   1275   
pub mod sensitive_validation_input {
  747   1276   
        1277  +
    /* RustType.kt:516 */
  748   1278   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
  749         -
    /// Holds one variant for each of the ways the builder can fail.
        1279  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        1280  +
    /* RustType.kt:516 */
  750   1281   
    #[non_exhaustive]
        1282  +
    /* ServerBuilderConstraintViolations.kt:75 */
  751   1283   
    #[allow(clippy::enum_variant_names)]
  752   1284   
    pub enum ConstraintViolation {
  753         -
        /// Constraint violation occurred building member `string` when building `SensitiveValidationInput`.
        1285  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `SensitiveValidationInput`.
        1286  +
        /* RustType.kt:516 */
  754   1287   
        #[doc(hidden)]
        1288  +
        /* ServerBuilderConstraintViolations.kt:164 */
  755   1289   
        String(crate::model::sensitive_pattern_string::ConstraintViolation),
        1290  +
        /* ServerBuilderConstraintViolations.kt:75 */
  756   1291   
    }
        1292  +
    /* ServerBuilderConstraintViolations.kt:117 */
  757   1293   
    impl ::std::fmt::Display for ConstraintViolation {
        1294  +
        /* ServerBuilderConstraintViolations.kt:118 */
  758   1295   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1296  +
            /* ServerBuilderConstraintViolations.kt:119 */
  759   1297   
            match self {
  760         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `SensitiveValidationInput`"),
  761         -
            }
        1298  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `SensitiveValidationInput`"),
        1299  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        1300  +
            /* ServerBuilderConstraintViolations.kt:118 */
  762   1301   
        }
        1302  +
        /* ServerBuilderConstraintViolations.kt:117 */
  763   1303   
    }
        1304  +
    /* ServerBuilderConstraintViolations.kt:84 */
  764   1305   
    impl ::std::error::Error for ConstraintViolation {}
        1306  +
    /* ServerBuilderConstraintViolations.kt:171 */
  765   1307   
    impl ConstraintViolation {
  766   1308   
        pub(crate) fn as_validation_exception_field(
  767   1309   
            self,
  768   1310   
            path: ::std::string::String,
  769   1311   
        ) -> crate::model::ValidationExceptionField {
  770   1312   
            match self {
  771   1313   
                ConstraintViolation::String(inner) => {
  772   1314   
                    inner.as_validation_exception_field(path + "/string")
  773   1315   
                }
  774   1316   
            }
  775   1317   
        }
  776   1318   
    }
        1319  +
    /* ServerBuilderGenerator.kt:234 */
  777   1320   
    impl ::std::convert::From<ConstraintViolation>
  778   1321   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
  779   1322   
    {
  780   1323   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  781   1324   
            let first_validation_exception_field =
  782   1325   
                constraint_violation.as_validation_exception_field("".to_owned());
  783   1326   
            let validation_exception = crate::error::ValidationException {
  784   1327   
                message: format!(
  785   1328   
                    "1 validation error detected. {}",
  786   1329   
                    &first_validation_exception_field.message
  787   1330   
                ),
  788   1331   
                field_list: Some(vec![first_validation_exception_field]),
  789   1332   
            };
  790   1333   
            Self::ConstraintViolation(
  791   1334   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
  792   1335   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
  793   1336   
                            )
  794   1337   
        }
  795   1338   
    }
        1339  +
    /* ServerBuilderGenerator.kt:244 */
  796   1340   
    impl ::std::convert::From<Builder>
  797   1341   
        for crate::constrained::MaybeConstrained<crate::input::SensitiveValidationInput>
  798   1342   
    {
  799   1343   
        fn from(builder: Builder) -> Self {
  800   1344   
            Self::Unconstrained(builder)
  801   1345   
        }
  802   1346   
    }
        1347  +
    /* ServerBuilderGenerator.kt:446 */
  803   1348   
    impl ::std::convert::TryFrom<Builder> for crate::input::SensitiveValidationInput {
  804   1349   
        type Error = ConstraintViolation;
  805   1350   
  806   1351   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
  807   1352   
            builder.build()
  808   1353   
        }
  809   1354   
    }
  810         -
    /// A builder for [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
        1355  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
        1356  +
    /* RustType.kt:516 */
  811   1357   
    #[derive(::std::clone::Clone, ::std::default::Default)]
        1358  +
    /* ServerBuilderGenerator.kt:211 */
  812   1359   
    pub struct Builder {
        1360  +
        /* ServerBuilderGenerator.kt:308 */
  813   1361   
        pub(crate) string: ::std::option::Option<
  814   1362   
            crate::constrained::MaybeConstrained<crate::model::SensitivePatternString>,
  815   1363   
        >,
        1364  +
        /* ServerBuilderGenerator.kt:211 */
  816   1365   
    }
        1366  +
    /* ServerBuilderGenerator.kt:215 */
  817   1367   
    impl Builder {
        1368  +
        /* ServerBuilderGenerator.kt:331 */
  818   1369   
        #[allow(missing_docs)] // documentation missing in model
        1370  +
                               /* ServerBuilderGenerator.kt:343 */
  819   1371   
        pub fn string(
  820   1372   
            mut self,
  821   1373   
            input: ::std::option::Option<crate::model::SensitivePatternString>,
  822   1374   
        ) -> Self {
  823         -
            self.string = input.map(
  824         -
                #[allow(clippy::redundant_closure)]
  825         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  826         -
            );
        1375  +
            /* ServerBuilderGenerator.kt:344 */
        1376  +
            self.string =
        1377  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        1378  +
            /* ServerBuilderGenerator.kt:344 */;
  827   1379   
            self
        1380  +
            /* ServerBuilderGenerator.kt:343 */
  828   1381   
        }
        1382  +
        /* ServerBuilderGenerator.kt:426 */
  829   1383   
        #[allow(missing_docs)] // documentation missing in model
        1384  +
                               /* ServerBuilderGenerator.kt:428 */
  830   1385   
        pub(crate) fn set_string(
  831   1386   
            mut self,
  832   1387   
            input: Option<
  833   1388   
                impl ::std::convert::Into<
  834   1389   
                    crate::constrained::MaybeConstrained<crate::model::SensitivePatternString>,
  835   1390   
                >,
  836   1391   
            >,
  837   1392   
        ) -> Self {
        1393  +
            /* ServerBuilderGenerator.kt:429 */
  838   1394   
            self.string = input.map(|v| v.into());
  839   1395   
            self
        1396  +
            /* ServerBuilderGenerator.kt:428 */
  840   1397   
        }
  841         -
        /// Consumes the builder and constructs a [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
  842         -
        ///
        1398  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`SensitiveValidationInput`](crate::input::SensitiveValidationInput).
        1399  +
        /// /* ServerBuilderGenerator.kt:260 */
  843   1400   
        /// The builder fails to construct a [`SensitiveValidationInput`](crate::input::SensitiveValidationInput) if a [`ConstraintViolation`] occurs.
  844   1401   
        ///
        1402  +
        /* ServerBuilderGenerator.kt:271 */
  845   1403   
        pub fn build(self) -> Result<crate::input::SensitiveValidationInput, ConstraintViolation> {
  846   1404   
            self.build_enforcing_all_constraints()
  847   1405   
        }
        1406  +
        /* ServerBuilderGenerator.kt:283 */
  848   1407   
        fn build_enforcing_all_constraints(
  849   1408   
            self,
  850   1409   
        ) -> Result<crate::input::SensitiveValidationInput, ConstraintViolation> {
  851         -
            Ok(crate::input::SensitiveValidationInput {
        1410  +
            /* ServerBuilderGenerator.kt:287 */
        1411  +
            Ok(
        1412  +
                /* ServerBuilderGenerator.kt:542 */
        1413  +
                crate::input::SensitiveValidationInput {
        1414  +
                    /* ServerBuilderGenerator.kt:546 */
  852   1415   
                    string: self
  853   1416   
                        .string
        1417  +
                        /* ServerBuilderGenerator.kt:602 */
  854   1418   
                        .map(|v| match v {
  855   1419   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
  856   1420   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
  857   1421   
                        })
        1422  +
                        /* ServerBuilderGenerator.kt:614 */
  858   1423   
                        .map(|res| res.map_err(ConstraintViolation::String))
  859   1424   
                        .transpose()?,
  860         -
            })
        1425  +
                    /* ServerBuilderGenerator.kt:542 */
        1426  +
                }, /* ServerBuilderGenerator.kt:287 */
        1427  +
            )
        1428  +
            /* ServerBuilderGenerator.kt:283 */
  861   1429   
        }
        1430  +
        /* ServerBuilderGenerator.kt:215 */
  862   1431   
    }
        1432  +
    /* ServerBuilderGenerator.kt:474 */
  863   1433   
    impl ::std::fmt::Debug for Builder {
        1434  +
        /* ServerBuilderGenerator.kt:475 */
  864   1435   
        fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        1436  +
            /* ServerBuilderGenerator.kt:476 */
  865   1437   
            let mut formatter = f.debug_struct("Builder");
        1438  +
            /* ServerBuilderGenerator.kt:481 */
  866   1439   
            formatter.field("string", &"*** Sensitive Data Redacted ***");
        1440  +
            /* ServerBuilderGenerator.kt:485 */
  867   1441   
            formatter.finish()
        1442  +
            /* ServerBuilderGenerator.kt:475 */
  868   1443   
        }
        1444  +
        /* ServerBuilderGenerator.kt:474 */
  869   1445   
    }
        1446  +
        1447  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  870   1448   
}
  871         -
/// See [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
        1449  +
/// /* ServerBuilderGenerator.kt:171 */See [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
  872   1450   
pub mod recursive_structures_input {
  873   1451   
        1452  +
    /* RustType.kt:516 */
  874   1453   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
  875         -
    /// Holds one variant for each of the ways the builder can fail.
        1454  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        1455  +
    /* RustType.kt:516 */
  876   1456   
    #[non_exhaustive]
        1457  +
    /* ServerBuilderConstraintViolations.kt:75 */
  877   1458   
    #[allow(clippy::enum_variant_names)]
  878   1459   
    pub enum ConstraintViolation {
  879         -
        /// Constraint violation occurred building member `union` when building `RecursiveStructuresInput`.
        1460  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `union` when building `RecursiveStructuresInput`.
        1461  +
        /* RustType.kt:516 */
  880   1462   
        #[doc(hidden)]
        1463  +
        /* ServerBuilderConstraintViolations.kt:164 */
  881   1464   
        Union(crate::model::recursive_union_one::ConstraintViolation),
        1465  +
        /* ServerBuilderConstraintViolations.kt:75 */
  882   1466   
    }
        1467  +
    /* ServerBuilderConstraintViolations.kt:117 */
  883   1468   
    impl ::std::fmt::Display for ConstraintViolation {
        1469  +
        /* ServerBuilderConstraintViolations.kt:118 */
  884   1470   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1471  +
            /* ServerBuilderConstraintViolations.kt:119 */
  885   1472   
            match self {
  886         -
                ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `RecursiveStructuresInput`"),
  887         -
            }
        1473  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `RecursiveStructuresInput`"),
        1474  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        1475  +
            /* ServerBuilderConstraintViolations.kt:118 */
  888   1476   
        }
        1477  +
        /* ServerBuilderConstraintViolations.kt:117 */
  889   1478   
    }
        1479  +
    /* ServerBuilderConstraintViolations.kt:84 */
  890   1480   
    impl ::std::error::Error for ConstraintViolation {}
        1481  +
    /* ServerBuilderConstraintViolations.kt:171 */
  891   1482   
    impl ConstraintViolation {
  892   1483   
        pub(crate) fn as_validation_exception_field(
  893   1484   
            self,
  894   1485   
            path: ::std::string::String,
  895   1486   
        ) -> crate::model::ValidationExceptionField {
  896   1487   
            match self {
  897   1488   
                ConstraintViolation::Union(inner) => {
  898   1489   
                    inner.as_validation_exception_field(path + "/union")
  899   1490   
                }
  900   1491   
            }
  901   1492   
        }
  902   1493   
    }
        1494  +
    /* ServerBuilderGenerator.kt:234 */
  903   1495   
    impl ::std::convert::From<ConstraintViolation>
  904   1496   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
  905   1497   
    {
  906   1498   
        fn from(constraint_violation: ConstraintViolation) -> Self {
  907   1499   
            let first_validation_exception_field =
  908   1500   
                constraint_violation.as_validation_exception_field("".to_owned());
  909   1501   
            let validation_exception = crate::error::ValidationException {
  910   1502   
                message: format!(
  911   1503   
                    "1 validation error detected. {}",
  912   1504   
                    &first_validation_exception_field.message
  913   1505   
                ),
  914   1506   
                field_list: Some(vec![first_validation_exception_field]),
  915   1507   
            };
  916   1508   
            Self::ConstraintViolation(
  917   1509   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
  918   1510   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
  919   1511   
                            )
  920   1512   
        }
  921   1513   
    }
        1514  +
    /* ServerBuilderGenerator.kt:244 */
  922   1515   
    impl ::std::convert::From<Builder>
  923   1516   
        for crate::constrained::MaybeConstrained<crate::input::RecursiveStructuresInput>
  924   1517   
    {
  925   1518   
        fn from(builder: Builder) -> Self {
  926   1519   
            Self::Unconstrained(builder)
  927   1520   
        }
  928   1521   
    }
        1522  +
    /* ServerBuilderGenerator.kt:446 */
  929   1523   
    impl ::std::convert::TryFrom<Builder> for crate::input::RecursiveStructuresInput {
  930   1524   
        type Error = ConstraintViolation;
  931   1525   
  932   1526   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
  933   1527   
            builder.build()
  934   1528   
        }
  935   1529   
    }
  936         -
    /// A builder for [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
        1530  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
        1531  +
    /* RustType.kt:516 */
  937   1532   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1533  +
    /* ServerBuilderGenerator.kt:211 */
  938   1534   
    pub struct Builder {
        1535  +
        /* ServerBuilderGenerator.kt:308 */
  939   1536   
        pub(crate) union: ::std::option::Option<
  940   1537   
            crate::constrained::MaybeConstrained<crate::model::RecursiveUnionOne>,
  941   1538   
        >,
        1539  +
        /* ServerBuilderGenerator.kt:211 */
  942   1540   
    }
        1541  +
    /* ServerBuilderGenerator.kt:215 */
  943   1542   
    impl Builder {
        1543  +
        /* ServerBuilderGenerator.kt:331 */
  944   1544   
        #[allow(missing_docs)] // documentation missing in model
        1545  +
                               /* ServerBuilderGenerator.kt:343 */
  945   1546   
        pub fn union(
  946   1547   
            mut self,
  947   1548   
            input: ::std::option::Option<crate::model::RecursiveUnionOne>,
  948   1549   
        ) -> Self {
  949         -
            self.union = input.map(
  950         -
                #[allow(clippy::redundant_closure)]
  951         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
  952         -
            );
        1550  +
            /* ServerBuilderGenerator.kt:344 */
        1551  +
            self.union =
        1552  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        1553  +
            /* ServerBuilderGenerator.kt:344 */;
  953   1554   
            self
        1555  +
            /* ServerBuilderGenerator.kt:343 */
  954   1556   
        }
        1557  +
        /* ServerBuilderGenerator.kt:426 */
  955   1558   
        #[allow(missing_docs)] // documentation missing in model
        1559  +
                               /* ServerBuilderGenerator.kt:428 */
  956   1560   
        pub(crate) fn set_union(
  957   1561   
            mut self,
  958   1562   
            input: Option<
  959   1563   
                impl ::std::convert::Into<
  960   1564   
                    crate::constrained::MaybeConstrained<crate::model::RecursiveUnionOne>,
  961   1565   
                >,
  962   1566   
            >,
  963   1567   
        ) -> Self {
        1568  +
            /* ServerBuilderGenerator.kt:429 */
  964   1569   
            self.union = input.map(|v| v.into());
  965   1570   
            self
        1571  +
            /* ServerBuilderGenerator.kt:428 */
  966   1572   
        }
  967         -
        /// Consumes the builder and constructs a [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
  968         -
        ///
        1573  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput).
        1574  +
        /// /* ServerBuilderGenerator.kt:260 */
  969   1575   
        /// The builder fails to construct a [`RecursiveStructuresInput`](crate::input::RecursiveStructuresInput) if a [`ConstraintViolation`] occurs.
  970   1576   
        ///
        1577  +
        /* ServerBuilderGenerator.kt:271 */
  971   1578   
        pub fn build(self) -> Result<crate::input::RecursiveStructuresInput, ConstraintViolation> {
  972   1579   
            self.build_enforcing_all_constraints()
  973   1580   
        }
        1581  +
        /* ServerBuilderGenerator.kt:283 */
  974   1582   
        fn build_enforcing_all_constraints(
  975   1583   
            self,
  976   1584   
        ) -> Result<crate::input::RecursiveStructuresInput, ConstraintViolation> {
  977         -
            Ok(crate::input::RecursiveStructuresInput {
        1585  +
            /* ServerBuilderGenerator.kt:287 */
        1586  +
            Ok(
        1587  +
                /* ServerBuilderGenerator.kt:542 */
        1588  +
                crate::input::RecursiveStructuresInput {
        1589  +
                    /* ServerBuilderGenerator.kt:546 */
  978   1590   
                    union: self
  979   1591   
                        .union
        1592  +
                        /* ServerBuilderGenerator.kt:602 */
  980   1593   
                        .map(|v| match v {
  981   1594   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
  982   1595   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
  983   1596   
                        })
        1597  +
                        /* ServerBuilderGenerator.kt:614 */
  984   1598   
                        .map(|res| res.map_err(ConstraintViolation::Union))
  985   1599   
                        .transpose()?,
  986         -
            })
        1600  +
                    /* ServerBuilderGenerator.kt:542 */
        1601  +
                }, /* ServerBuilderGenerator.kt:287 */
        1602  +
            )
        1603  +
            /* ServerBuilderGenerator.kt:283 */
  987   1604   
        }
        1605  +
        /* ServerBuilderGenerator.kt:215 */
  988   1606   
    }
        1607  +
        1608  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
  989   1609   
}
  990         -
/// See [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
        1610  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
  991   1611   
pub mod malformed_unique_items_input {
  992   1612   
        1613  +
    /* RustType.kt:516 */
  993   1614   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
  994         -
    /// Holds one variant for each of the ways the builder can fail.
        1615  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        1616  +
    /* RustType.kt:516 */
  995   1617   
    #[non_exhaustive]
        1618  +
    /* ServerBuilderConstraintViolations.kt:75 */
  996   1619   
    #[allow(clippy::enum_variant_names)]
  997   1620   
    pub enum ConstraintViolation {
  998         -
        /// Constraint violation occurred building member `blob_list` when building `MalformedUniqueItemsInput`.
        1621  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `blob_list` when building `MalformedUniqueItemsInput`.
        1622  +
        /* RustType.kt:516 */
  999   1623   
        #[doc(hidden)]
        1624  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1000   1625   
        BlobList(crate::model::blob_set::ConstraintViolation),
 1001         -
        /// Constraint violation occurred building member `boolean_list` when building `MalformedUniqueItemsInput`.
        1626  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `boolean_list` when building `MalformedUniqueItemsInput`.
        1627  +
        /* RustType.kt:516 */
 1002   1628   
        #[doc(hidden)]
        1629  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1003   1630   
        BooleanList(crate::model::boolean_set::ConstraintViolation),
 1004         -
        /// Constraint violation occurred building member `string_list` when building `MalformedUniqueItemsInput`.
        1631  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string_list` when building `MalformedUniqueItemsInput`.
        1632  +
        /* RustType.kt:516 */
 1005   1633   
        #[doc(hidden)]
        1634  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1006   1635   
        StringList(crate::model::string_set::ConstraintViolation),
 1007         -
        /// Constraint violation occurred building member `byte_list` when building `MalformedUniqueItemsInput`.
        1636  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `byte_list` when building `MalformedUniqueItemsInput`.
        1637  +
        /* RustType.kt:516 */
 1008   1638   
        #[doc(hidden)]
        1639  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1009   1640   
        ByteList(crate::model::byte_set::ConstraintViolation),
 1010         -
        /// Constraint violation occurred building member `short_list` when building `MalformedUniqueItemsInput`.
        1641  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `short_list` when building `MalformedUniqueItemsInput`.
        1642  +
        /* RustType.kt:516 */
 1011   1643   
        #[doc(hidden)]
        1644  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1012   1645   
        ShortList(crate::model::short_set::ConstraintViolation),
 1013         -
        /// Constraint violation occurred building member `integer_list` when building `MalformedUniqueItemsInput`.
        1646  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `integer_list` when building `MalformedUniqueItemsInput`.
        1647  +
        /* RustType.kt:516 */
 1014   1648   
        #[doc(hidden)]
        1649  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1015   1650   
        IntegerList(crate::model::integer_set::ConstraintViolation),
 1016         -
        /// Constraint violation occurred building member `long_list` when building `MalformedUniqueItemsInput`.
        1651  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `long_list` when building `MalformedUniqueItemsInput`.
        1652  +
        /* RustType.kt:516 */
 1017   1653   
        #[doc(hidden)]
        1654  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1018   1655   
        LongList(crate::model::long_set::ConstraintViolation),
 1019         -
        /// Constraint violation occurred building member `timestamp_list` when building `MalformedUniqueItemsInput`.
        1656  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `timestamp_list` when building `MalformedUniqueItemsInput`.
        1657  +
        /* RustType.kt:516 */
 1020   1658   
        #[doc(hidden)]
        1659  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1021   1660   
        TimestampList(crate::model::timestamp_set::ConstraintViolation),
 1022         -
        /// Constraint violation occurred building member `date_time_list` when building `MalformedUniqueItemsInput`.
        1661  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `date_time_list` when building `MalformedUniqueItemsInput`.
        1662  +
        /* RustType.kt:516 */
 1023   1663   
        #[doc(hidden)]
        1664  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1024   1665   
        DateTimeList(crate::model::date_time_set::ConstraintViolation),
 1025         -
        /// Constraint violation occurred building member `http_date_list` when building `MalformedUniqueItemsInput`.
        1666  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `http_date_list` when building `MalformedUniqueItemsInput`.
        1667  +
        /* RustType.kt:516 */
 1026   1668   
        #[doc(hidden)]
        1669  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1027   1670   
        HttpDateList(crate::model::http_date_set::ConstraintViolation),
 1028         -
        /// Constraint violation occurred building member `enum_list` when building `MalformedUniqueItemsInput`.
        1671  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `enum_list` when building `MalformedUniqueItemsInput`.
        1672  +
        /* RustType.kt:516 */
 1029   1673   
        #[doc(hidden)]
        1674  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1030   1675   
        EnumList(crate::model::foo_enum_set::ConstraintViolation),
 1031         -
        /// Constraint violation occurred building member `int_enum_list` when building `MalformedUniqueItemsInput`.
        1676  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `int_enum_list` when building `MalformedUniqueItemsInput`.
        1677  +
        /* RustType.kt:516 */
 1032   1678   
        #[doc(hidden)]
        1679  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1033   1680   
        IntEnumList(crate::model::integer_enum_set::ConstraintViolation),
 1034         -
        /// Constraint violation occurred building member `list_list` when building `MalformedUniqueItemsInput`.
        1681  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list_list` when building `MalformedUniqueItemsInput`.
        1682  +
        /* RustType.kt:516 */
 1035   1683   
        #[doc(hidden)]
        1684  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1036   1685   
        ListList(crate::model::list_set::ConstraintViolation),
 1037         -
        /// Constraint violation occurred building member `structure_list` when building `MalformedUniqueItemsInput`.
        1686  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `structure_list` when building `MalformedUniqueItemsInput`.
        1687  +
        /* RustType.kt:516 */
 1038   1688   
        #[doc(hidden)]
        1689  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1039   1690   
        StructureList(crate::model::structure_set::ConstraintViolation),
 1040         -
        /// Constraint violation occurred building member `structure_list_with_no_key` when building `MalformedUniqueItemsInput`.
        1691  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `structure_list_with_no_key` when building `MalformedUniqueItemsInput`.
        1692  +
        /* RustType.kt:516 */
 1041   1693   
        #[doc(hidden)]
        1694  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1042   1695   
        StructureListWithNoKey(crate::model::structure_set_with_no_key::ConstraintViolation),
 1043         -
        /// Constraint violation occurred building member `union_list` when building `MalformedUniqueItemsInput`.
        1696  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `union_list` when building `MalformedUniqueItemsInput`.
        1697  +
        /* RustType.kt:516 */
 1044   1698   
        #[doc(hidden)]
        1699  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1045   1700   
        UnionList(crate::model::union_set::ConstraintViolation),
        1701  +
        /* ServerBuilderConstraintViolations.kt:75 */
 1046   1702   
    }
        1703  +
    /* ServerBuilderConstraintViolations.kt:117 */
 1047   1704   
    impl ::std::fmt::Display for ConstraintViolation {
        1705  +
        /* ServerBuilderConstraintViolations.kt:118 */
 1048   1706   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1707  +
            /* ServerBuilderConstraintViolations.kt:119 */
 1049   1708   
            match self {
 1050         -
                ConstraintViolation::BlobList(_) => write!(f, "constraint violation occurred building member `blob_list` when building `MalformedUniqueItemsInput`"),
 1051         -
                ConstraintViolation::BooleanList(_) => write!(f, "constraint violation occurred building member `boolean_list` when building `MalformedUniqueItemsInput`"),
 1052         -
                ConstraintViolation::StringList(_) => write!(f, "constraint violation occurred building member `string_list` when building `MalformedUniqueItemsInput`"),
 1053         -
                ConstraintViolation::ByteList(_) => write!(f, "constraint violation occurred building member `byte_list` when building `MalformedUniqueItemsInput`"),
 1054         -
                ConstraintViolation::ShortList(_) => write!(f, "constraint violation occurred building member `short_list` when building `MalformedUniqueItemsInput`"),
 1055         -
                ConstraintViolation::IntegerList(_) => write!(f, "constraint violation occurred building member `integer_list` when building `MalformedUniqueItemsInput`"),
 1056         -
                ConstraintViolation::LongList(_) => write!(f, "constraint violation occurred building member `long_list` when building `MalformedUniqueItemsInput`"),
 1057         -
                ConstraintViolation::TimestampList(_) => write!(f, "constraint violation occurred building member `timestamp_list` when building `MalformedUniqueItemsInput`"),
 1058         -
                ConstraintViolation::DateTimeList(_) => write!(f, "constraint violation occurred building member `date_time_list` when building `MalformedUniqueItemsInput`"),
 1059         -
                ConstraintViolation::HttpDateList(_) => write!(f, "constraint violation occurred building member `http_date_list` when building `MalformedUniqueItemsInput`"),
 1060         -
                ConstraintViolation::EnumList(_) => write!(f, "constraint violation occurred building member `enum_list` when building `MalformedUniqueItemsInput`"),
 1061         -
                ConstraintViolation::IntEnumList(_) => write!(f, "constraint violation occurred building member `int_enum_list` when building `MalformedUniqueItemsInput`"),
 1062         -
                ConstraintViolation::ListList(_) => write!(f, "constraint violation occurred building member `list_list` when building `MalformedUniqueItemsInput`"),
 1063         -
                ConstraintViolation::StructureList(_) => write!(f, "constraint violation occurred building member `structure_list` when building `MalformedUniqueItemsInput`"),
 1064         -
                ConstraintViolation::StructureListWithNoKey(_) => write!(f, "constraint violation occurred building member `structure_list_with_no_key` when building `MalformedUniqueItemsInput`"),
 1065         -
                ConstraintViolation::UnionList(_) => write!(f, "constraint violation occurred building member `union_list` when building `MalformedUniqueItemsInput`"),
 1066         -
            }
 1067         -
        }
 1068         -
    }
        1709  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::BlobList(_) => write!(f, "constraint violation occurred building member `blob_list` when building `MalformedUniqueItemsInput`"),
        1710  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::BooleanList(_) => write!(f, "constraint violation occurred building member `boolean_list` when building `MalformedUniqueItemsInput`"),
        1711  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::StringList(_) => write!(f, "constraint violation occurred building member `string_list` when building `MalformedUniqueItemsInput`"),
        1712  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ByteList(_) => write!(f, "constraint violation occurred building member `byte_list` when building `MalformedUniqueItemsInput`"),
        1713  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ShortList(_) => write!(f, "constraint violation occurred building member `short_list` when building `MalformedUniqueItemsInput`"),
        1714  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::IntegerList(_) => write!(f, "constraint violation occurred building member `integer_list` when building `MalformedUniqueItemsInput`"),
        1715  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::LongList(_) => write!(f, "constraint violation occurred building member `long_list` when building `MalformedUniqueItemsInput`"),
        1716  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::TimestampList(_) => write!(f, "constraint violation occurred building member `timestamp_list` when building `MalformedUniqueItemsInput`"),
        1717  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::DateTimeList(_) => write!(f, "constraint violation occurred building member `date_time_list` when building `MalformedUniqueItemsInput`"),
        1718  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::HttpDateList(_) => write!(f, "constraint violation occurred building member `http_date_list` when building `MalformedUniqueItemsInput`"),
        1719  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::EnumList(_) => write!(f, "constraint violation occurred building member `enum_list` when building `MalformedUniqueItemsInput`"),
        1720  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::IntEnumList(_) => write!(f, "constraint violation occurred building member `int_enum_list` when building `MalformedUniqueItemsInput`"),
        1721  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::ListList(_) => write!(f, "constraint violation occurred building member `list_list` when building `MalformedUniqueItemsInput`"),
        1722  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::StructureList(_) => write!(f, "constraint violation occurred building member `structure_list` when building `MalformedUniqueItemsInput`"),
        1723  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::StructureListWithNoKey(_) => write!(f, "constraint violation occurred building member `structure_list_with_no_key` when building `MalformedUniqueItemsInput`"),
        1724  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::UnionList(_) => write!(f, "constraint violation occurred building member `union_list` when building `MalformedUniqueItemsInput`"),
        1725  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        1726  +
            /* ServerBuilderConstraintViolations.kt:118 */
        1727  +
        }
        1728  +
        /* ServerBuilderConstraintViolations.kt:117 */
        1729  +
    }
        1730  +
    /* ServerBuilderConstraintViolations.kt:84 */
 1069   1731   
    impl ::std::error::Error for ConstraintViolation {}
        1732  +
    /* ServerBuilderConstraintViolations.kt:171 */
 1070   1733   
    impl ConstraintViolation {
 1071   1734   
        pub(crate) fn as_validation_exception_field(
 1072   1735   
            self,
 1073   1736   
            path: ::std::string::String,
 1074   1737   
        ) -> crate::model::ValidationExceptionField {
 1075   1738   
            match self {
 1076   1739   
                ConstraintViolation::BlobList(inner) => {
 1077   1740   
                    inner.as_validation_exception_field(path + "/blobList")
 1078   1741   
                }
 1079   1742   
                ConstraintViolation::BooleanList(inner) => {
 1080   1743   
                    inner.as_validation_exception_field(path + "/booleanList")
 1081   1744   
                }
 1082   1745   
                ConstraintViolation::StringList(inner) => {
 1083   1746   
                    inner.as_validation_exception_field(path + "/stringList")
 1084   1747   
                }
 1085   1748   
                ConstraintViolation::ByteList(inner) => {
 1086   1749   
                    inner.as_validation_exception_field(path + "/byteList")
 1087   1750   
                }
 1088   1751   
                ConstraintViolation::ShortList(inner) => {
 1089   1752   
                    inner.as_validation_exception_field(path + "/shortList")
 1090   1753   
                }
 1091   1754   
                ConstraintViolation::IntegerList(inner) => {
 1092   1755   
                    inner.as_validation_exception_field(path + "/integerList")
 1093   1756   
                }
 1094   1757   
                ConstraintViolation::LongList(inner) => {
 1095   1758   
                    inner.as_validation_exception_field(path + "/longList")
 1096   1759   
                }
 1097   1760   
                ConstraintViolation::TimestampList(inner) => {
 1098   1761   
                    inner.as_validation_exception_field(path + "/timestampList")
 1099   1762   
                }
 1100   1763   
                ConstraintViolation::DateTimeList(inner) => {
 1101   1764   
                    inner.as_validation_exception_field(path + "/dateTimeList")
 1102   1765   
                }
 1103   1766   
                ConstraintViolation::HttpDateList(inner) => {
 1104   1767   
                    inner.as_validation_exception_field(path + "/httpDateList")
 1105   1768   
                }
 1106   1769   
                ConstraintViolation::EnumList(inner) => {
 1107   1770   
                    inner.as_validation_exception_field(path + "/enumList")
 1108   1771   
                }
 1109   1772   
                ConstraintViolation::IntEnumList(inner) => {
 1110   1773   
                    inner.as_validation_exception_field(path + "/intEnumList")
 1111   1774   
                }
 1112   1775   
                ConstraintViolation::ListList(inner) => {
 1113   1776   
                    inner.as_validation_exception_field(path + "/listList")
 1114   1777   
                }
 1115   1778   
                ConstraintViolation::StructureList(inner) => {
 1116   1779   
                    inner.as_validation_exception_field(path + "/structureList")
 1117   1780   
                }
 1118   1781   
                ConstraintViolation::StructureListWithNoKey(inner) => {
 1119   1782   
                    inner.as_validation_exception_field(path + "/structureListWithNoKey")
 1120   1783   
                }
 1121   1784   
                ConstraintViolation::UnionList(inner) => {
 1122   1785   
                    inner.as_validation_exception_field(path + "/unionList")
 1123   1786   
                }
 1124   1787   
            }
 1125   1788   
        }
 1126   1789   
    }
        1790  +
    /* ServerBuilderGenerator.kt:234 */
 1127   1791   
    impl ::std::convert::From<ConstraintViolation>
 1128   1792   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1129   1793   
    {
 1130   1794   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1131   1795   
            let first_validation_exception_field =
 1132   1796   
                constraint_violation.as_validation_exception_field("".to_owned());
 1133   1797   
            let validation_exception = crate::error::ValidationException {
 1134   1798   
                message: format!(
 1135   1799   
                    "1 validation error detected. {}",
 1136   1800   
                    &first_validation_exception_field.message
 1137   1801   
                ),
 1138   1802   
                field_list: Some(vec![first_validation_exception_field]),
 1139   1803   
            };
 1140   1804   
            Self::ConstraintViolation(
 1141   1805   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1142   1806   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1143   1807   
                            )
 1144   1808   
        }
 1145   1809   
    }
        1810  +
    /* ServerBuilderGenerator.kt:244 */
 1146   1811   
    impl ::std::convert::From<Builder>
 1147   1812   
        for crate::constrained::MaybeConstrained<crate::input::MalformedUniqueItemsInput>
 1148   1813   
    {
 1149   1814   
        fn from(builder: Builder) -> Self {
 1150   1815   
            Self::Unconstrained(builder)
 1151   1816   
        }
 1152   1817   
    }
        1818  +
    /* ServerBuilderGenerator.kt:446 */
 1153   1819   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedUniqueItemsInput {
 1154   1820   
        type Error = ConstraintViolation;
 1155   1821   
 1156   1822   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1157   1823   
            builder.build()
 1158   1824   
        }
 1159   1825   
    }
 1160         -
    /// A builder for [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
        1826  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
        1827  +
    /* RustType.kt:516 */
 1161   1828   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        1829  +
    /* ServerBuilderGenerator.kt:211 */
 1162   1830   
    pub struct Builder {
        1831  +
        /* ServerBuilderGenerator.kt:308 */
 1163   1832   
        pub(crate) blob_list:
 1164   1833   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::BlobSet>>,
        1834  +
        /* ServerBuilderGenerator.kt:308 */
 1165   1835   
        pub(crate) boolean_list:
 1166   1836   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::BooleanSet>>,
        1837  +
        /* ServerBuilderGenerator.kt:308 */
 1167   1838   
        pub(crate) string_list:
 1168   1839   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::StringSet>>,
        1840  +
        /* ServerBuilderGenerator.kt:308 */
 1169   1841   
        pub(crate) byte_list:
 1170   1842   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ByteSet>>,
        1843  +
        /* ServerBuilderGenerator.kt:308 */
 1171   1844   
        pub(crate) short_list:
 1172   1845   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ShortSet>>,
        1846  +
        /* ServerBuilderGenerator.kt:308 */
 1173   1847   
        pub(crate) integer_list:
 1174   1848   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::IntegerSet>>,
        1849  +
        /* ServerBuilderGenerator.kt:308 */
 1175   1850   
        pub(crate) long_list:
 1176   1851   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LongSet>>,
        1852  +
        /* ServerBuilderGenerator.kt:308 */
 1177   1853   
        pub(crate) timestamp_list:
 1178   1854   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::TimestampSet>>,
        1855  +
        /* ServerBuilderGenerator.kt:308 */
 1179   1856   
        pub(crate) date_time_list:
 1180   1857   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::DateTimeSet>>,
        1858  +
        /* ServerBuilderGenerator.kt:308 */
 1181   1859   
        pub(crate) http_date_list:
 1182   1860   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::HttpDateSet>>,
        1861  +
        /* ServerBuilderGenerator.kt:308 */
 1183   1862   
        pub(crate) enum_list:
 1184   1863   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::FooEnumSet>>,
        1864  +
        /* ServerBuilderGenerator.kt:308 */
 1185   1865   
        pub(crate) int_enum_list: ::std::option::Option<
 1186   1866   
            crate::constrained::MaybeConstrained<crate::model::IntegerEnumSet>,
 1187   1867   
        >,
        1868  +
        /* ServerBuilderGenerator.kt:308 */
 1188   1869   
        pub(crate) list_list:
 1189   1870   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::ListSet>>,
        1871  +
        /* ServerBuilderGenerator.kt:308 */
 1190   1872   
        pub(crate) structure_list:
 1191   1873   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::StructureSet>>,
        1874  +
        /* ServerBuilderGenerator.kt:308 */
 1192   1875   
        pub(crate) structure_list_with_no_key: ::std::option::Option<
 1193   1876   
            crate::constrained::MaybeConstrained<crate::model::StructureSetWithNoKey>,
 1194   1877   
        >,
        1878  +
        /* ServerBuilderGenerator.kt:308 */
 1195   1879   
        pub(crate) union_list:
 1196   1880   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::UnionSet>>,
        1881  +
        /* ServerBuilderGenerator.kt:211 */
 1197   1882   
    }
        1883  +
    /* ServerBuilderGenerator.kt:215 */
 1198   1884   
    impl Builder {
        1885  +
        /* ServerBuilderGenerator.kt:331 */
 1199   1886   
        #[allow(missing_docs)] // documentation missing in model
        1887  +
                               /* ServerBuilderGenerator.kt:343 */
 1200   1888   
        pub fn blob_list(mut self, input: ::std::option::Option<crate::model::BlobSet>) -> Self {
 1201         -
            self.blob_list = input.map(
 1202         -
                #[allow(clippy::redundant_closure)]
 1203         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1204         -
            );
        1889  +
            /* ServerBuilderGenerator.kt:344 */
        1890  +
            self.blob_list =
        1891  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        1892  +
            /* ServerBuilderGenerator.kt:344 */;
 1205   1893   
            self
        1894  +
            /* ServerBuilderGenerator.kt:343 */
 1206   1895   
        }
        1896  +
        /* ServerBuilderGenerator.kt:426 */
 1207   1897   
        #[allow(missing_docs)] // documentation missing in model
        1898  +
                               /* ServerBuilderGenerator.kt:428 */
 1208   1899   
        pub(crate) fn set_blob_list(
 1209   1900   
            mut self,
 1210   1901   
            input: Option<
 1211   1902   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::BlobSet>>,
 1212   1903   
            >,
 1213   1904   
        ) -> Self {
        1905  +
            /* ServerBuilderGenerator.kt:429 */
 1214   1906   
            self.blob_list = input.map(|v| v.into());
 1215   1907   
            self
        1908  +
            /* ServerBuilderGenerator.kt:428 */
 1216   1909   
        }
        1910  +
        /* ServerBuilderGenerator.kt:331 */
 1217   1911   
        #[allow(missing_docs)] // documentation missing in model
        1912  +
                               /* ServerBuilderGenerator.kt:343 */
 1218   1913   
        pub fn boolean_list(
 1219   1914   
            mut self,
 1220   1915   
            input: ::std::option::Option<crate::model::BooleanSet>,
 1221   1916   
        ) -> Self {
 1222         -
            self.boolean_list = input.map(
 1223         -
                #[allow(clippy::redundant_closure)]
 1224         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1225         -
            );
        1917  +
            /* ServerBuilderGenerator.kt:344 */
        1918  +
            self.boolean_list =
        1919  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        1920  +
            /* ServerBuilderGenerator.kt:344 */;
 1226   1921   
            self
        1922  +
            /* ServerBuilderGenerator.kt:343 */
 1227   1923   
        }
        1924  +
        /* ServerBuilderGenerator.kt:426 */
 1228   1925   
        #[allow(missing_docs)] // documentation missing in model
        1926  +
                               /* ServerBuilderGenerator.kt:428 */
 1229   1927   
        pub(crate) fn set_boolean_list(
 1230   1928   
            mut self,
 1231   1929   
            input: Option<
 1232   1930   
                impl ::std::convert::Into<
 1233   1931   
                    crate::constrained::MaybeConstrained<crate::model::BooleanSet>,
 1234   1932   
                >,
 1235   1933   
            >,
 1236   1934   
        ) -> Self {
        1935  +
            /* ServerBuilderGenerator.kt:429 */
 1237   1936   
            self.boolean_list = input.map(|v| v.into());
 1238   1937   
            self
        1938  +
            /* ServerBuilderGenerator.kt:428 */
 1239   1939   
        }
        1940  +
        /* ServerBuilderGenerator.kt:331 */
 1240   1941   
        #[allow(missing_docs)] // documentation missing in model
        1942  +
                               /* ServerBuilderGenerator.kt:343 */
 1241   1943   
        pub fn string_list(
 1242   1944   
            mut self,
 1243   1945   
            input: ::std::option::Option<crate::model::StringSet>,
 1244   1946   
        ) -> Self {
 1245         -
            self.string_list = input.map(
 1246         -
                #[allow(clippy::redundant_closure)]
 1247         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1248         -
            );
        1947  +
            /* ServerBuilderGenerator.kt:344 */
        1948  +
            self.string_list =
        1949  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        1950  +
            /* ServerBuilderGenerator.kt:344 */;
 1249   1951   
            self
        1952  +
            /* ServerBuilderGenerator.kt:343 */
 1250   1953   
        }
        1954  +
        /* ServerBuilderGenerator.kt:426 */
 1251   1955   
        #[allow(missing_docs)] // documentation missing in model
        1956  +
                               /* ServerBuilderGenerator.kt:428 */
 1252   1957   
        pub(crate) fn set_string_list(
 1253   1958   
            mut self,
 1254   1959   
            input: Option<
 1255   1960   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::StringSet>>,
 1256   1961   
            >,
 1257   1962   
        ) -> Self {
        1963  +
            /* ServerBuilderGenerator.kt:429 */
 1258   1964   
            self.string_list = input.map(|v| v.into());
 1259   1965   
            self
        1966  +
            /* ServerBuilderGenerator.kt:428 */
 1260   1967   
        }
        1968  +
        /* ServerBuilderGenerator.kt:331 */
 1261   1969   
        #[allow(missing_docs)] // documentation missing in model
        1970  +
                               /* ServerBuilderGenerator.kt:343 */
 1262   1971   
        pub fn byte_list(mut self, input: ::std::option::Option<crate::model::ByteSet>) -> Self {
 1263         -
            self.byte_list = input.map(
 1264         -
                #[allow(clippy::redundant_closure)]
 1265         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1266         -
            );
        1972  +
            /* ServerBuilderGenerator.kt:344 */
        1973  +
            self.byte_list =
        1974  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        1975  +
            /* ServerBuilderGenerator.kt:344 */;
 1267   1976   
            self
        1977  +
            /* ServerBuilderGenerator.kt:343 */
 1268   1978   
        }
        1979  +
        /* ServerBuilderGenerator.kt:426 */
 1269   1980   
        #[allow(missing_docs)] // documentation missing in model
        1981  +
                               /* ServerBuilderGenerator.kt:428 */
 1270   1982   
        pub(crate) fn set_byte_list(
 1271   1983   
            mut self,
 1272   1984   
            input: Option<
 1273   1985   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ByteSet>>,
 1274   1986   
            >,
 1275   1987   
        ) -> Self {
        1988  +
            /* ServerBuilderGenerator.kt:429 */
 1276   1989   
            self.byte_list = input.map(|v| v.into());
 1277   1990   
            self
        1991  +
            /* ServerBuilderGenerator.kt:428 */
 1278   1992   
        }
        1993  +
        /* ServerBuilderGenerator.kt:331 */
 1279   1994   
        #[allow(missing_docs)] // documentation missing in model
        1995  +
                               /* ServerBuilderGenerator.kt:343 */
 1280   1996   
        pub fn short_list(mut self, input: ::std::option::Option<crate::model::ShortSet>) -> Self {
 1281         -
            self.short_list = input.map(
 1282         -
                #[allow(clippy::redundant_closure)]
 1283         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1284         -
            );
        1997  +
            /* ServerBuilderGenerator.kt:344 */
        1998  +
            self.short_list =
        1999  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2000  +
            /* ServerBuilderGenerator.kt:344 */;
 1285   2001   
            self
        2002  +
            /* ServerBuilderGenerator.kt:343 */
 1286   2003   
        }
        2004  +
        /* ServerBuilderGenerator.kt:426 */
 1287   2005   
        #[allow(missing_docs)] // documentation missing in model
        2006  +
                               /* ServerBuilderGenerator.kt:428 */
 1288   2007   
        pub(crate) fn set_short_list(
 1289   2008   
            mut self,
 1290   2009   
            input: Option<
 1291   2010   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ShortSet>>,
 1292   2011   
            >,
 1293   2012   
        ) -> Self {
        2013  +
            /* ServerBuilderGenerator.kt:429 */
 1294   2014   
            self.short_list = input.map(|v| v.into());
 1295   2015   
            self
        2016  +
            /* ServerBuilderGenerator.kt:428 */
 1296   2017   
        }
        2018  +
        /* ServerBuilderGenerator.kt:331 */
 1297   2019   
        #[allow(missing_docs)] // documentation missing in model
        2020  +
                               /* ServerBuilderGenerator.kt:343 */
 1298   2021   
        pub fn integer_list(
 1299   2022   
            mut self,
 1300   2023   
            input: ::std::option::Option<crate::model::IntegerSet>,
 1301   2024   
        ) -> Self {
 1302         -
            self.integer_list = input.map(
 1303         -
                #[allow(clippy::redundant_closure)]
 1304         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1305         -
            );
        2025  +
            /* ServerBuilderGenerator.kt:344 */
        2026  +
            self.integer_list =
        2027  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2028  +
            /* ServerBuilderGenerator.kt:344 */;
 1306   2029   
            self
        2030  +
            /* ServerBuilderGenerator.kt:343 */
 1307   2031   
        }
        2032  +
        /* ServerBuilderGenerator.kt:426 */
 1308   2033   
        #[allow(missing_docs)] // documentation missing in model
        2034  +
                               /* ServerBuilderGenerator.kt:428 */
 1309   2035   
        pub(crate) fn set_integer_list(
 1310   2036   
            mut self,
 1311   2037   
            input: Option<
 1312   2038   
                impl ::std::convert::Into<
 1313   2039   
                    crate::constrained::MaybeConstrained<crate::model::IntegerSet>,
 1314   2040   
                >,
 1315   2041   
            >,
 1316   2042   
        ) -> Self {
        2043  +
            /* ServerBuilderGenerator.kt:429 */
 1317   2044   
            self.integer_list = input.map(|v| v.into());
 1318   2045   
            self
        2046  +
            /* ServerBuilderGenerator.kt:428 */
 1319   2047   
        }
        2048  +
        /* ServerBuilderGenerator.kt:331 */
 1320   2049   
        #[allow(missing_docs)] // documentation missing in model
        2050  +
                               /* ServerBuilderGenerator.kt:343 */
 1321   2051   
        pub fn long_list(mut self, input: ::std::option::Option<crate::model::LongSet>) -> Self {
 1322         -
            self.long_list = input.map(
 1323         -
                #[allow(clippy::redundant_closure)]
 1324         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1325         -
            );
        2052  +
            /* ServerBuilderGenerator.kt:344 */
        2053  +
            self.long_list =
        2054  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2055  +
            /* ServerBuilderGenerator.kt:344 */;
 1326   2056   
            self
        2057  +
            /* ServerBuilderGenerator.kt:343 */
 1327   2058   
        }
        2059  +
        /* ServerBuilderGenerator.kt:426 */
 1328   2060   
        #[allow(missing_docs)] // documentation missing in model
        2061  +
                               /* ServerBuilderGenerator.kt:428 */
 1329   2062   
        pub(crate) fn set_long_list(
 1330   2063   
            mut self,
 1331   2064   
            input: Option<
 1332   2065   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LongSet>>,
 1333   2066   
            >,
 1334   2067   
        ) -> Self {
        2068  +
            /* ServerBuilderGenerator.kt:429 */
 1335   2069   
            self.long_list = input.map(|v| v.into());
 1336   2070   
            self
        2071  +
            /* ServerBuilderGenerator.kt:428 */
 1337   2072   
        }
        2073  +
        /* ServerBuilderGenerator.kt:331 */
 1338   2074   
        #[allow(missing_docs)] // documentation missing in model
        2075  +
                               /* ServerBuilderGenerator.kt:343 */
 1339   2076   
        pub fn timestamp_list(
 1340   2077   
            mut self,
 1341   2078   
            input: ::std::option::Option<crate::model::TimestampSet>,
 1342   2079   
        ) -> Self {
 1343         -
            self.timestamp_list = input.map(
 1344         -
                #[allow(clippy::redundant_closure)]
 1345         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1346         -
            );
        2080  +
            /* ServerBuilderGenerator.kt:344 */
        2081  +
            self.timestamp_list =
        2082  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2083  +
            /* ServerBuilderGenerator.kt:344 */;
 1347   2084   
            self
        2085  +
            /* ServerBuilderGenerator.kt:343 */
 1348   2086   
        }
        2087  +
        /* ServerBuilderGenerator.kt:426 */
 1349   2088   
        #[allow(missing_docs)] // documentation missing in model
        2089  +
                               /* ServerBuilderGenerator.kt:428 */
 1350   2090   
        pub(crate) fn set_timestamp_list(
 1351   2091   
            mut self,
 1352   2092   
            input: Option<
 1353   2093   
                impl ::std::convert::Into<
 1354   2094   
                    crate::constrained::MaybeConstrained<crate::model::TimestampSet>,
 1355   2095   
                >,
 1356   2096   
            >,
 1357   2097   
        ) -> Self {
        2098  +
            /* ServerBuilderGenerator.kt:429 */
 1358   2099   
            self.timestamp_list = input.map(|v| v.into());
 1359   2100   
            self
        2101  +
            /* ServerBuilderGenerator.kt:428 */
 1360   2102   
        }
        2103  +
        /* ServerBuilderGenerator.kt:331 */
 1361   2104   
        #[allow(missing_docs)] // documentation missing in model
        2105  +
                               /* ServerBuilderGenerator.kt:343 */
 1362   2106   
        pub fn date_time_list(
 1363   2107   
            mut self,
 1364   2108   
            input: ::std::option::Option<crate::model::DateTimeSet>,
 1365   2109   
        ) -> Self {
 1366         -
            self.date_time_list = input.map(
 1367         -
                #[allow(clippy::redundant_closure)]
 1368         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1369         -
            );
        2110  +
            /* ServerBuilderGenerator.kt:344 */
        2111  +
            self.date_time_list =
        2112  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2113  +
            /* ServerBuilderGenerator.kt:344 */;
 1370   2114   
            self
        2115  +
            /* ServerBuilderGenerator.kt:343 */
 1371   2116   
        }
        2117  +
        /* ServerBuilderGenerator.kt:426 */
 1372   2118   
        #[allow(missing_docs)] // documentation missing in model
        2119  +
                               /* ServerBuilderGenerator.kt:428 */
 1373   2120   
        pub(crate) fn set_date_time_list(
 1374   2121   
            mut self,
 1375   2122   
            input: Option<
 1376   2123   
                impl ::std::convert::Into<
 1377   2124   
                    crate::constrained::MaybeConstrained<crate::model::DateTimeSet>,
 1378   2125   
                >,
 1379   2126   
            >,
 1380   2127   
        ) -> Self {
        2128  +
            /* ServerBuilderGenerator.kt:429 */
 1381   2129   
            self.date_time_list = input.map(|v| v.into());
 1382   2130   
            self
        2131  +
            /* ServerBuilderGenerator.kt:428 */
 1383   2132   
        }
        2133  +
        /* ServerBuilderGenerator.kt:331 */
 1384   2134   
        #[allow(missing_docs)] // documentation missing in model
        2135  +
                               /* ServerBuilderGenerator.kt:343 */
 1385   2136   
        pub fn http_date_list(
 1386   2137   
            mut self,
 1387   2138   
            input: ::std::option::Option<crate::model::HttpDateSet>,
 1388   2139   
        ) -> Self {
 1389         -
            self.http_date_list = input.map(
 1390         -
                #[allow(clippy::redundant_closure)]
 1391         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1392         -
            );
        2140  +
            /* ServerBuilderGenerator.kt:344 */
        2141  +
            self.http_date_list =
        2142  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2143  +
            /* ServerBuilderGenerator.kt:344 */;
 1393   2144   
            self
        2145  +
            /* ServerBuilderGenerator.kt:343 */
 1394   2146   
        }
        2147  +
        /* ServerBuilderGenerator.kt:426 */
 1395   2148   
        #[allow(missing_docs)] // documentation missing in model
        2149  +
                               /* ServerBuilderGenerator.kt:428 */
 1396   2150   
        pub(crate) fn set_http_date_list(
 1397   2151   
            mut self,
 1398   2152   
            input: Option<
 1399   2153   
                impl ::std::convert::Into<
 1400   2154   
                    crate::constrained::MaybeConstrained<crate::model::HttpDateSet>,
 1401   2155   
                >,
 1402   2156   
            >,
 1403   2157   
        ) -> Self {
        2158  +
            /* ServerBuilderGenerator.kt:429 */
 1404   2159   
            self.http_date_list = input.map(|v| v.into());
 1405   2160   
            self
        2161  +
            /* ServerBuilderGenerator.kt:428 */
 1406   2162   
        }
        2163  +
        /* ServerBuilderGenerator.kt:331 */
 1407   2164   
        #[allow(missing_docs)] // documentation missing in model
        2165  +
                               /* ServerBuilderGenerator.kt:343 */
 1408   2166   
        pub fn enum_list(mut self, input: ::std::option::Option<crate::model::FooEnumSet>) -> Self {
 1409         -
            self.enum_list = input.map(
 1410         -
                #[allow(clippy::redundant_closure)]
 1411         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1412         -
            );
        2167  +
            /* ServerBuilderGenerator.kt:344 */
        2168  +
            self.enum_list =
        2169  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2170  +
            /* ServerBuilderGenerator.kt:344 */;
 1413   2171   
            self
        2172  +
            /* ServerBuilderGenerator.kt:343 */
 1414   2173   
        }
        2174  +
        /* ServerBuilderGenerator.kt:426 */
 1415   2175   
        #[allow(missing_docs)] // documentation missing in model
        2176  +
                               /* ServerBuilderGenerator.kt:428 */
 1416   2177   
        pub(crate) fn set_enum_list(
 1417   2178   
            mut self,
 1418   2179   
            input: Option<
 1419   2180   
                impl ::std::convert::Into<
 1420   2181   
                    crate::constrained::MaybeConstrained<crate::model::FooEnumSet>,
 1421   2182   
                >,
 1422   2183   
            >,
 1423   2184   
        ) -> Self {
        2185  +
            /* ServerBuilderGenerator.kt:429 */
 1424   2186   
            self.enum_list = input.map(|v| v.into());
 1425   2187   
            self
        2188  +
            /* ServerBuilderGenerator.kt:428 */
 1426   2189   
        }
        2190  +
        /* ServerBuilderGenerator.kt:331 */
 1427   2191   
        #[allow(missing_docs)] // documentation missing in model
        2192  +
                               /* ServerBuilderGenerator.kt:343 */
 1428   2193   
        pub fn int_enum_list(
 1429   2194   
            mut self,
 1430   2195   
            input: ::std::option::Option<crate::model::IntegerEnumSet>,
 1431   2196   
        ) -> Self {
 1432         -
            self.int_enum_list = input.map(
 1433         -
                #[allow(clippy::redundant_closure)]
 1434         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1435         -
            );
        2197  +
            /* ServerBuilderGenerator.kt:344 */
        2198  +
            self.int_enum_list =
        2199  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2200  +
            /* ServerBuilderGenerator.kt:344 */;
 1436   2201   
            self
        2202  +
            /* ServerBuilderGenerator.kt:343 */
 1437   2203   
        }
        2204  +
        /* ServerBuilderGenerator.kt:426 */
 1438   2205   
        #[allow(missing_docs)] // documentation missing in model
        2206  +
                               /* ServerBuilderGenerator.kt:428 */
 1439   2207   
        pub(crate) fn set_int_enum_list(
 1440   2208   
            mut self,
 1441   2209   
            input: Option<
 1442   2210   
                impl ::std::convert::Into<
 1443   2211   
                    crate::constrained::MaybeConstrained<crate::model::IntegerEnumSet>,
 1444   2212   
                >,
 1445   2213   
            >,
 1446   2214   
        ) -> Self {
        2215  +
            /* ServerBuilderGenerator.kt:429 */
 1447   2216   
            self.int_enum_list = input.map(|v| v.into());
 1448   2217   
            self
        2218  +
            /* ServerBuilderGenerator.kt:428 */
 1449   2219   
        }
        2220  +
        /* ServerBuilderGenerator.kt:331 */
 1450   2221   
        #[allow(missing_docs)] // documentation missing in model
        2222  +
                               /* ServerBuilderGenerator.kt:343 */
 1451   2223   
        pub fn list_list(mut self, input: ::std::option::Option<crate::model::ListSet>) -> Self {
 1452         -
            self.list_list = input.map(
 1453         -
                #[allow(clippy::redundant_closure)]
 1454         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1455         -
            );
        2224  +
            /* ServerBuilderGenerator.kt:344 */
        2225  +
            self.list_list =
        2226  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2227  +
            /* ServerBuilderGenerator.kt:344 */;
 1456   2228   
            self
        2229  +
            /* ServerBuilderGenerator.kt:343 */
 1457   2230   
        }
        2231  +
        /* ServerBuilderGenerator.kt:426 */
 1458   2232   
        #[allow(missing_docs)] // documentation missing in model
        2233  +
                               /* ServerBuilderGenerator.kt:428 */
 1459   2234   
        pub(crate) fn set_list_list(
 1460   2235   
            mut self,
 1461   2236   
            input: Option<
 1462   2237   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ListSet>>,
 1463   2238   
            >,
 1464   2239   
        ) -> Self {
        2240  +
            /* ServerBuilderGenerator.kt:429 */
 1465   2241   
            self.list_list = input.map(|v| v.into());
 1466   2242   
            self
        2243  +
            /* ServerBuilderGenerator.kt:428 */
 1467   2244   
        }
        2245  +
        /* ServerBuilderGenerator.kt:331 */
 1468   2246   
        #[allow(missing_docs)] // documentation missing in model
        2247  +
                               /* ServerBuilderGenerator.kt:343 */
 1469   2248   
        pub fn structure_list(
 1470   2249   
            mut self,
 1471   2250   
            input: ::std::option::Option<crate::model::StructureSet>,
 1472   2251   
        ) -> Self {
 1473         -
            self.structure_list = input.map(
 1474         -
                #[allow(clippy::redundant_closure)]
 1475         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1476         -
            );
        2252  +
            /* ServerBuilderGenerator.kt:344 */
        2253  +
            self.structure_list =
        2254  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2255  +
            /* ServerBuilderGenerator.kt:344 */;
 1477   2256   
            self
        2257  +
            /* ServerBuilderGenerator.kt:343 */
 1478   2258   
        }
        2259  +
        /* ServerBuilderGenerator.kt:426 */
 1479   2260   
        #[allow(missing_docs)] // documentation missing in model
        2261  +
                               /* ServerBuilderGenerator.kt:428 */
 1480   2262   
        pub(crate) fn set_structure_list(
 1481   2263   
            mut self,
 1482   2264   
            input: Option<
 1483   2265   
                impl ::std::convert::Into<
 1484   2266   
                    crate::constrained::MaybeConstrained<crate::model::StructureSet>,
 1485   2267   
                >,
 1486   2268   
            >,
 1487   2269   
        ) -> Self {
        2270  +
            /* ServerBuilderGenerator.kt:429 */
 1488   2271   
            self.structure_list = input.map(|v| v.into());
 1489   2272   
            self
        2273  +
            /* ServerBuilderGenerator.kt:428 */
 1490   2274   
        }
        2275  +
        /* ServerBuilderGenerator.kt:331 */
 1491   2276   
        #[allow(missing_docs)] // documentation missing in model
        2277  +
                               /* ServerBuilderGenerator.kt:343 */
 1492   2278   
        pub fn structure_list_with_no_key(
 1493   2279   
            mut self,
 1494   2280   
            input: ::std::option::Option<crate::model::StructureSetWithNoKey>,
 1495   2281   
        ) -> Self {
 1496         -
            self.structure_list_with_no_key = input.map(
 1497         -
                #[allow(clippy::redundant_closure)]
 1498         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1499         -
            );
        2282  +
            /* ServerBuilderGenerator.kt:344 */
        2283  +
            self.structure_list_with_no_key =
        2284  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2285  +
            /* ServerBuilderGenerator.kt:344 */;
 1500   2286   
            self
        2287  +
            /* ServerBuilderGenerator.kt:343 */
 1501   2288   
        }
        2289  +
        /* ServerBuilderGenerator.kt:426 */
 1502   2290   
        #[allow(missing_docs)] // documentation missing in model
        2291  +
                               /* ServerBuilderGenerator.kt:428 */
 1503   2292   
        pub(crate) fn set_structure_list_with_no_key(
 1504   2293   
            mut self,
 1505   2294   
            input: Option<
 1506   2295   
                impl ::std::convert::Into<
 1507   2296   
                    crate::constrained::MaybeConstrained<crate::model::StructureSetWithNoKey>,
 1508   2297   
                >,
 1509   2298   
            >,
 1510   2299   
        ) -> Self {
        2300  +
            /* ServerBuilderGenerator.kt:429 */
 1511   2301   
            self.structure_list_with_no_key = input.map(|v| v.into());
 1512   2302   
            self
        2303  +
            /* ServerBuilderGenerator.kt:428 */
 1513   2304   
        }
        2305  +
        /* ServerBuilderGenerator.kt:331 */
 1514   2306   
        #[allow(missing_docs)] // documentation missing in model
        2307  +
                               /* ServerBuilderGenerator.kt:343 */
 1515   2308   
        pub fn union_list(mut self, input: ::std::option::Option<crate::model::UnionSet>) -> Self {
 1516         -
            self.union_list = input.map(
 1517         -
                #[allow(clippy::redundant_closure)]
 1518         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 1519         -
            );
        2309  +
            /* ServerBuilderGenerator.kt:344 */
        2310  +
            self.union_list =
        2311  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        2312  +
            /* ServerBuilderGenerator.kt:344 */;
 1520   2313   
            self
        2314  +
            /* ServerBuilderGenerator.kt:343 */
 1521   2315   
        }
        2316  +
        /* ServerBuilderGenerator.kt:426 */
 1522   2317   
        #[allow(missing_docs)] // documentation missing in model
        2318  +
                               /* ServerBuilderGenerator.kt:428 */
 1523   2319   
        pub(crate) fn set_union_list(
 1524   2320   
            mut self,
 1525   2321   
            input: Option<
 1526   2322   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::UnionSet>>,
 1527   2323   
            >,
 1528   2324   
        ) -> Self {
        2325  +
            /* ServerBuilderGenerator.kt:429 */
 1529   2326   
            self.union_list = input.map(|v| v.into());
 1530   2327   
            self
        2328  +
            /* ServerBuilderGenerator.kt:428 */
 1531   2329   
        }
 1532         -
        /// Consumes the builder and constructs a [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
 1533         -
        ///
        2330  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput).
        2331  +
        /// /* ServerBuilderGenerator.kt:260 */
 1534   2332   
        /// The builder fails to construct a [`MalformedUniqueItemsInput`](crate::input::MalformedUniqueItemsInput) if a [`ConstraintViolation`] occurs.
 1535   2333   
        ///
 1536         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        2334  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        2335  +
        /* ServerBuilderGenerator.kt:271 */
 1537   2336   
        pub fn build(self) -> Result<crate::input::MalformedUniqueItemsInput, ConstraintViolation> {
 1538   2337   
            self.build_enforcing_all_constraints()
 1539   2338   
        }
        2339  +
        /* ServerBuilderGenerator.kt:283 */
 1540   2340   
        fn build_enforcing_all_constraints(
 1541   2341   
            self,
 1542   2342   
        ) -> Result<crate::input::MalformedUniqueItemsInput, ConstraintViolation> {
 1543         -
            Ok(crate::input::MalformedUniqueItemsInput {
        2343  +
            /* ServerBuilderGenerator.kt:287 */
        2344  +
            Ok(
        2345  +
                /* ServerBuilderGenerator.kt:542 */
        2346  +
                crate::input::MalformedUniqueItemsInput {
        2347  +
                    /* ServerBuilderGenerator.kt:546 */
 1544   2348   
                    blob_list: self
 1545   2349   
                        .blob_list
        2350  +
                        /* ServerBuilderGenerator.kt:602 */
 1546   2351   
                        .map(|v| match v {
 1547   2352   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1548   2353   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1549   2354   
                        })
        2355  +
                        /* ServerBuilderGenerator.kt:614 */
 1550   2356   
                        .map(|res| res.map_err(ConstraintViolation::BlobList))
 1551   2357   
                        .transpose()?,
        2358  +
                    /* ServerBuilderGenerator.kt:546 */
 1552   2359   
                    boolean_list: self
 1553   2360   
                        .boolean_list
        2361  +
                        /* ServerBuilderGenerator.kt:602 */
 1554   2362   
                        .map(|v| match v {
 1555   2363   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1556   2364   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1557   2365   
                        })
        2366  +
                        /* ServerBuilderGenerator.kt:614 */
 1558   2367   
                        .map(|res| res.map_err(ConstraintViolation::BooleanList))
 1559   2368   
                        .transpose()?,
        2369  +
                    /* ServerBuilderGenerator.kt:546 */
 1560   2370   
                    string_list: self
 1561   2371   
                        .string_list
        2372  +
                        /* ServerBuilderGenerator.kt:602 */
 1562   2373   
                        .map(|v| match v {
 1563   2374   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1564   2375   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1565   2376   
                        })
        2377  +
                        /* ServerBuilderGenerator.kt:614 */
 1566   2378   
                        .map(|res| res.map_err(ConstraintViolation::StringList))
 1567   2379   
                        .transpose()?,
        2380  +
                    /* ServerBuilderGenerator.kt:546 */
 1568   2381   
                    byte_list: self
 1569   2382   
                        .byte_list
        2383  +
                        /* ServerBuilderGenerator.kt:602 */
 1570   2384   
                        .map(|v| match v {
 1571   2385   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1572   2386   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1573   2387   
                        })
        2388  +
                        /* ServerBuilderGenerator.kt:614 */
 1574   2389   
                        .map(|res| res.map_err(ConstraintViolation::ByteList))
 1575   2390   
                        .transpose()?,
        2391  +
                    /* ServerBuilderGenerator.kt:546 */
 1576   2392   
                    short_list: self
 1577   2393   
                        .short_list
        2394  +
                        /* ServerBuilderGenerator.kt:602 */
 1578   2395   
                        .map(|v| match v {
 1579   2396   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1580   2397   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1581   2398   
                        })
        2399  +
                        /* ServerBuilderGenerator.kt:614 */
 1582   2400   
                        .map(|res| res.map_err(ConstraintViolation::ShortList))
 1583   2401   
                        .transpose()?,
        2402  +
                    /* ServerBuilderGenerator.kt:546 */
 1584   2403   
                    integer_list: self
 1585   2404   
                        .integer_list
        2405  +
                        /* ServerBuilderGenerator.kt:602 */
 1586   2406   
                        .map(|v| match v {
 1587   2407   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1588   2408   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1589   2409   
                        })
        2410  +
                        /* ServerBuilderGenerator.kt:614 */
 1590   2411   
                        .map(|res| res.map_err(ConstraintViolation::IntegerList))
 1591   2412   
                        .transpose()?,
        2413  +
                    /* ServerBuilderGenerator.kt:546 */
 1592   2414   
                    long_list: self
 1593   2415   
                        .long_list
        2416  +
                        /* ServerBuilderGenerator.kt:602 */
 1594   2417   
                        .map(|v| match v {
 1595   2418   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1596   2419   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1597   2420   
                        })
        2421  +
                        /* ServerBuilderGenerator.kt:614 */
 1598   2422   
                        .map(|res| res.map_err(ConstraintViolation::LongList))
 1599   2423   
                        .transpose()?,
        2424  +
                    /* ServerBuilderGenerator.kt:546 */
 1600   2425   
                    timestamp_list: self
 1601   2426   
                        .timestamp_list
        2427  +
                        /* ServerBuilderGenerator.kt:602 */
 1602   2428   
                        .map(|v| match v {
 1603   2429   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1604   2430   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1605   2431   
                        })
        2432  +
                        /* ServerBuilderGenerator.kt:614 */
 1606   2433   
                        .map(|res| res.map_err(ConstraintViolation::TimestampList))
 1607   2434   
                        .transpose()?,
        2435  +
                    /* ServerBuilderGenerator.kt:546 */
 1608   2436   
                    date_time_list: self
 1609   2437   
                        .date_time_list
        2438  +
                        /* ServerBuilderGenerator.kt:602 */
 1610   2439   
                        .map(|v| match v {
 1611   2440   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1612   2441   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1613   2442   
                        })
        2443  +
                        /* ServerBuilderGenerator.kt:614 */
 1614   2444   
                        .map(|res| res.map_err(ConstraintViolation::DateTimeList))
 1615   2445   
                        .transpose()?,
        2446  +
                    /* ServerBuilderGenerator.kt:546 */
 1616   2447   
                    http_date_list: self
 1617   2448   
                        .http_date_list
        2449  +
                        /* ServerBuilderGenerator.kt:602 */
 1618   2450   
                        .map(|v| match v {
 1619   2451   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1620   2452   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1621   2453   
                        })
        2454  +
                        /* ServerBuilderGenerator.kt:614 */
 1622   2455   
                        .map(|res| res.map_err(ConstraintViolation::HttpDateList))
 1623   2456   
                        .transpose()?,
        2457  +
                    /* ServerBuilderGenerator.kt:546 */
 1624   2458   
                    enum_list: self
 1625   2459   
                        .enum_list
        2460  +
                        /* ServerBuilderGenerator.kt:602 */
 1626   2461   
                        .map(|v| match v {
 1627   2462   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1628   2463   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1629   2464   
                        })
        2465  +
                        /* ServerBuilderGenerator.kt:614 */
 1630   2466   
                        .map(|res| res.map_err(ConstraintViolation::EnumList))
 1631   2467   
                        .transpose()?,
        2468  +
                    /* ServerBuilderGenerator.kt:546 */
 1632   2469   
                    int_enum_list: self
 1633   2470   
                        .int_enum_list
        2471  +
                        /* ServerBuilderGenerator.kt:602 */
 1634   2472   
                        .map(|v| match v {
 1635   2473   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1636   2474   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1637   2475   
                        })
        2476  +
                        /* ServerBuilderGenerator.kt:614 */
 1638   2477   
                        .map(|res| res.map_err(ConstraintViolation::IntEnumList))
 1639   2478   
                        .transpose()?,
        2479  +
                    /* ServerBuilderGenerator.kt:546 */
 1640   2480   
                    list_list: self
 1641   2481   
                        .list_list
        2482  +
                        /* ServerBuilderGenerator.kt:602 */
 1642   2483   
                        .map(|v| match v {
 1643   2484   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1644   2485   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1645   2486   
                        })
        2487  +
                        /* ServerBuilderGenerator.kt:614 */
 1646   2488   
                        .map(|res| res.map_err(ConstraintViolation::ListList))
 1647   2489   
                        .transpose()?,
        2490  +
                    /* ServerBuilderGenerator.kt:546 */
 1648   2491   
                    structure_list: self
 1649   2492   
                        .structure_list
        2493  +
                        /* ServerBuilderGenerator.kt:602 */
 1650   2494   
                        .map(|v| match v {
 1651   2495   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1652   2496   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1653   2497   
                        })
        2498  +
                        /* ServerBuilderGenerator.kt:614 */
 1654   2499   
                        .map(|res| res.map_err(ConstraintViolation::StructureList))
 1655   2500   
                        .transpose()?,
        2501  +
                    /* ServerBuilderGenerator.kt:546 */
 1656   2502   
                    structure_list_with_no_key: self
 1657   2503   
                        .structure_list_with_no_key
        2504  +
                        /* ServerBuilderGenerator.kt:602 */
 1658   2505   
                        .map(|v| match v {
 1659   2506   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1660   2507   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1661   2508   
                        })
        2509  +
                        /* ServerBuilderGenerator.kt:614 */
 1662   2510   
                        .map(|res| res.map_err(ConstraintViolation::StructureListWithNoKey))
 1663   2511   
                        .transpose()?,
        2512  +
                    /* ServerBuilderGenerator.kt:546 */
 1664   2513   
                    union_list: self
 1665   2514   
                        .union_list
        2515  +
                        /* ServerBuilderGenerator.kt:602 */
 1666   2516   
                        .map(|v| match v {
 1667   2517   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 1668   2518   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 1669   2519   
                        })
        2520  +
                        /* ServerBuilderGenerator.kt:614 */
 1670   2521   
                        .map(|res| res.map_err(ConstraintViolation::UnionList))
 1671   2522   
                        .transpose()?,
 1672         -
            })
        2523  +
                    /* ServerBuilderGenerator.kt:542 */
        2524  +
                }, /* ServerBuilderGenerator.kt:287 */
        2525  +
            )
        2526  +
            /* ServerBuilderGenerator.kt:283 */
 1673   2527   
        }
        2528  +
        /* ServerBuilderGenerator.kt:215 */
 1674   2529   
    }
        2530  +
        2531  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1675   2532   
}
 1676         -
/// See [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
        2533  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
 1677   2534   
pub mod malformed_required_input {
 1678   2535   
        2536  +
    /* RustType.kt:516 */
 1679   2537   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1680         -
    /// Holds one variant for each of the ways the builder can fail.
        2538  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        2539  +
    /* RustType.kt:516 */
 1681   2540   
    #[non_exhaustive]
        2541  +
    /* ServerBuilderConstraintViolations.kt:75 */
 1682   2542   
    #[allow(clippy::enum_variant_names)]
 1683   2543   
    pub enum ConstraintViolation {
 1684         -
        /// `string` was not provided but it is required when building `MalformedRequiredInput`.
        2544  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`string` was not provided but it is required when building `MalformedRequiredInput`.
        2545  +
        /* ServerBuilderConstraintViolations.kt:143 */
 1685   2546   
        MissingString,
 1686         -
        /// `string_in_query` was not provided but it is required when building `MalformedRequiredInput`.
        2547  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`string_in_query` was not provided but it is required when building `MalformedRequiredInput`.
        2548  +
        /* ServerBuilderConstraintViolations.kt:143 */
 1687   2549   
        MissingStringInQuery,
 1688         -
        /// `string_in_header` was not provided but it is required when building `MalformedRequiredInput`.
        2550  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`string_in_header` was not provided but it is required when building `MalformedRequiredInput`.
        2551  +
        /* ServerBuilderConstraintViolations.kt:143 */
 1689   2552   
        MissingStringInHeader,
        2553  +
        /* ServerBuilderConstraintViolations.kt:75 */
 1690   2554   
    }
        2555  +
    /* ServerBuilderConstraintViolations.kt:117 */
 1691   2556   
    impl ::std::fmt::Display for ConstraintViolation {
        2557  +
        /* ServerBuilderConstraintViolations.kt:118 */
 1692   2558   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2559  +
            /* ServerBuilderConstraintViolations.kt:119 */
 1693   2560   
            match self {
 1694         -
                ConstraintViolation::MissingString => write!(f, "`string` was not provided but it is required when building `MalformedRequiredInput`"),
 1695         -
                ConstraintViolation::MissingStringInQuery => write!(f, "`string_in_query` was not provided but it is required when building `MalformedRequiredInput`"),
 1696         -
                ConstraintViolation::MissingStringInHeader => write!(f, "`string_in_header` was not provided but it is required when building `MalformedRequiredInput`"),
 1697         -
            }
        2561  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingString => write!(f, "`string` was not provided but it is required when building `MalformedRequiredInput`"),
        2562  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingStringInQuery => write!(f, "`string_in_query` was not provided but it is required when building `MalformedRequiredInput`"),
        2563  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingStringInHeader => write!(f, "`string_in_header` was not provided but it is required when building `MalformedRequiredInput`"),
        2564  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        2565  +
            /* ServerBuilderConstraintViolations.kt:118 */
 1698   2566   
        }
        2567  +
        /* ServerBuilderConstraintViolations.kt:117 */
 1699   2568   
    }
        2569  +
    /* ServerBuilderConstraintViolations.kt:84 */
 1700   2570   
    impl ::std::error::Error for ConstraintViolation {}
        2571  +
    /* ServerBuilderConstraintViolations.kt:171 */
 1701   2572   
    impl ConstraintViolation {
 1702   2573   
        pub(crate) fn as_validation_exception_field(
 1703   2574   
            self,
 1704   2575   
            path: ::std::string::String,
 1705   2576   
        ) -> crate::model::ValidationExceptionField {
 1706   2577   
            match self {
 1707   2578   
            ConstraintViolation::MissingString => crate::model::ValidationExceptionField {
 1708   2579   
                                                message: format!("Value at '{}/string' failed to satisfy constraint: Member must not be null", path),
 1709   2580   
                                                path: path + "/string",
 1710   2581   
                                            },
 1711   2582   
            ConstraintViolation::MissingStringInQuery => crate::model::ValidationExceptionField {
 1712   2583   
                                                message: format!("Value at '{}/stringInQuery' failed to satisfy constraint: Member must not be null", path),
 1713   2584   
                                                path: path + "/stringInQuery",
 1714   2585   
                                            },
 1715   2586   
            ConstraintViolation::MissingStringInHeader => crate::model::ValidationExceptionField {
 1716   2587   
                                                message: format!("Value at '{}/stringInHeader' failed to satisfy constraint: Member must not be null", path),
 1717   2588   
                                                path: path + "/stringInHeader",
 1718   2589   
                                            },
 1719   2590   
        }
 1720   2591   
        }
 1721   2592   
    }
        2593  +
    /* ServerBuilderGenerator.kt:234 */
 1722   2594   
    impl ::std::convert::From<ConstraintViolation>
 1723   2595   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1724   2596   
    {
 1725   2597   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1726   2598   
            let first_validation_exception_field =
 1727   2599   
                constraint_violation.as_validation_exception_field("".to_owned());
 1728   2600   
            let validation_exception = crate::error::ValidationException {
 1729   2601   
                message: format!(
 1730   2602   
                    "1 validation error detected. {}",
 1731   2603   
                    &first_validation_exception_field.message
 1732   2604   
                ),
 1733   2605   
                field_list: Some(vec![first_validation_exception_field]),
 1734   2606   
            };
 1735   2607   
            Self::ConstraintViolation(
 1736   2608   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1737   2609   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1738   2610   
                            )
 1739   2611   
        }
 1740   2612   
    }
        2613  +
    /* ServerBuilderGenerator.kt:244 */
 1741   2614   
    impl ::std::convert::From<Builder>
 1742   2615   
        for crate::constrained::MaybeConstrained<crate::input::MalformedRequiredInput>
 1743   2616   
    {
 1744   2617   
        fn from(builder: Builder) -> Self {
 1745   2618   
            Self::Unconstrained(builder)
 1746   2619   
        }
 1747   2620   
    }
        2621  +
    /* ServerBuilderGenerator.kt:446 */
 1748   2622   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedRequiredInput {
 1749   2623   
        type Error = ConstraintViolation;
 1750   2624   
 1751   2625   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1752   2626   
            builder.build()
 1753   2627   
        }
 1754   2628   
    }
 1755         -
    /// A builder for [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
        2629  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
        2630  +
    /* RustType.kt:516 */
 1756   2631   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        2632  +
    /* ServerBuilderGenerator.kt:211 */
 1757   2633   
    pub struct Builder {
        2634  +
        /* ServerBuilderGenerator.kt:308 */
 1758   2635   
        pub(crate) string: ::std::option::Option<::std::string::String>,
        2636  +
        /* ServerBuilderGenerator.kt:308 */
 1759   2637   
        pub(crate) string_in_query: ::std::option::Option<::std::string::String>,
        2638  +
        /* ServerBuilderGenerator.kt:308 */
 1760   2639   
        pub(crate) string_in_header: ::std::option::Option<::std::string::String>,
        2640  +
        /* ServerBuilderGenerator.kt:211 */
 1761   2641   
    }
        2642  +
    /* ServerBuilderGenerator.kt:215 */
 1762   2643   
    impl Builder {
        2644  +
        /* ServerBuilderGenerator.kt:331 */
 1763   2645   
        #[allow(missing_docs)] // documentation missing in model
        2646  +
                               /* ServerBuilderGenerator.kt:343 */
 1764   2647   
        pub fn string(mut self, input: ::std::string::String) -> Self {
 1765         -
            self.string = Some(input);
        2648  +
            /* ServerBuilderGenerator.kt:344 */
        2649  +
            self.string =
        2650  +
                /* ServerBuilderGenerator.kt:345 */Some(
        2651  +
                    /* ServerBuilderGenerator.kt:376 */input
        2652  +
                /* ServerBuilderGenerator.kt:345 */)
        2653  +
            /* ServerBuilderGenerator.kt:344 */;
 1766   2654   
            self
        2655  +
            /* ServerBuilderGenerator.kt:343 */
 1767   2656   
        }
        2657  +
        /* ServerBuilderGenerator.kt:426 */
 1768   2658   
        #[allow(missing_docs)] // documentation missing in model
        2659  +
                               /* ServerBuilderGenerator.kt:428 */
 1769   2660   
        pub(crate) fn set_string(
 1770   2661   
            mut self,
 1771   2662   
            input: impl ::std::convert::Into<::std::string::String>,
 1772   2663   
        ) -> Self {
        2664  +
            /* ServerBuilderGenerator.kt:429 */
 1773   2665   
            self.string = Some(input.into());
 1774   2666   
            self
        2667  +
            /* ServerBuilderGenerator.kt:428 */
 1775   2668   
        }
        2669  +
        /* ServerBuilderGenerator.kt:331 */
 1776   2670   
        #[allow(missing_docs)] // documentation missing in model
        2671  +
                               /* ServerBuilderGenerator.kt:343 */
 1777   2672   
        pub fn string_in_query(mut self, input: ::std::string::String) -> Self {
 1778         -
            self.string_in_query = Some(input);
        2673  +
            /* ServerBuilderGenerator.kt:344 */
        2674  +
            self.string_in_query =
        2675  +
                /* ServerBuilderGenerator.kt:345 */Some(
        2676  +
                    /* ServerBuilderGenerator.kt:376 */input
        2677  +
                /* ServerBuilderGenerator.kt:345 */)
        2678  +
            /* ServerBuilderGenerator.kt:344 */;
 1779   2679   
            self
        2680  +
            /* ServerBuilderGenerator.kt:343 */
 1780   2681   
        }
        2682  +
        /* ServerBuilderGenerator.kt:426 */
 1781   2683   
        #[allow(missing_docs)] // documentation missing in model
        2684  +
                               /* ServerBuilderGenerator.kt:428 */
 1782   2685   
        pub(crate) fn set_string_in_query(
 1783   2686   
            mut self,
 1784   2687   
            input: impl ::std::convert::Into<::std::string::String>,
 1785   2688   
        ) -> Self {
        2689  +
            /* ServerBuilderGenerator.kt:429 */
 1786   2690   
            self.string_in_query = Some(input.into());
 1787   2691   
            self
        2692  +
            /* ServerBuilderGenerator.kt:428 */
 1788   2693   
        }
        2694  +
        /* ServerBuilderGenerator.kt:331 */
 1789   2695   
        #[allow(missing_docs)] // documentation missing in model
        2696  +
                               /* ServerBuilderGenerator.kt:343 */
 1790   2697   
        pub fn string_in_header(mut self, input: ::std::string::String) -> Self {
 1791         -
            self.string_in_header = Some(input);
        2698  +
            /* ServerBuilderGenerator.kt:344 */
        2699  +
            self.string_in_header =
        2700  +
                /* ServerBuilderGenerator.kt:345 */Some(
        2701  +
                    /* ServerBuilderGenerator.kt:376 */input
        2702  +
                /* ServerBuilderGenerator.kt:345 */)
        2703  +
            /* ServerBuilderGenerator.kt:344 */;
 1792   2704   
            self
        2705  +
            /* ServerBuilderGenerator.kt:343 */
 1793   2706   
        }
        2707  +
        /* ServerBuilderGenerator.kt:426 */
 1794   2708   
        #[allow(missing_docs)] // documentation missing in model
        2709  +
                               /* ServerBuilderGenerator.kt:428 */
 1795   2710   
        pub(crate) fn set_string_in_header(
 1796   2711   
            mut self,
 1797   2712   
            input: impl ::std::convert::Into<::std::string::String>,
 1798   2713   
        ) -> Self {
        2714  +
            /* ServerBuilderGenerator.kt:429 */
 1799   2715   
            self.string_in_header = Some(input.into());
 1800   2716   
            self
        2717  +
            /* ServerBuilderGenerator.kt:428 */
 1801   2718   
        }
 1802         -
        /// Consumes the builder and constructs a [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
 1803         -
        ///
        2719  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedRequiredInput`](crate::input::MalformedRequiredInput).
        2720  +
        /// /* ServerBuilderGenerator.kt:260 */
 1804   2721   
        /// The builder fails to construct a [`MalformedRequiredInput`](crate::input::MalformedRequiredInput) if a [`ConstraintViolation`] occurs.
 1805   2722   
        ///
 1806         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        2723  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        2724  +
        /* ServerBuilderGenerator.kt:271 */
 1807   2725   
        pub fn build(self) -> Result<crate::input::MalformedRequiredInput, ConstraintViolation> {
 1808   2726   
            self.build_enforcing_all_constraints()
 1809   2727   
        }
        2728  +
        /* ServerBuilderGenerator.kt:283 */
 1810   2729   
        fn build_enforcing_all_constraints(
 1811   2730   
            self,
 1812   2731   
        ) -> Result<crate::input::MalformedRequiredInput, ConstraintViolation> {
 1813         -
            Ok(crate::input::MalformedRequiredInput {
 1814         -
                string: self.string.ok_or(ConstraintViolation::MissingString)?,
        2732  +
            /* ServerBuilderGenerator.kt:287 */
        2733  +
            Ok(
        2734  +
                /* ServerBuilderGenerator.kt:542 */
        2735  +
                crate::input::MalformedRequiredInput {
        2736  +
                    /* ServerBuilderGenerator.kt:546 */
        2737  +
                    string: self
        2738  +
                        .string
        2739  +
                        /* ServerBuilderGenerator.kt:569 */
        2740  +
                        .ok_or(ConstraintViolation::MissingString)?,
        2741  +
                    /* ServerBuilderGenerator.kt:546 */
 1815   2742   
                    string_in_query: self
 1816   2743   
                        .string_in_query
        2744  +
                        /* ServerBuilderGenerator.kt:569 */
 1817   2745   
                        .ok_or(ConstraintViolation::MissingStringInQuery)?,
        2746  +
                    /* ServerBuilderGenerator.kt:546 */
 1818   2747   
                    string_in_header: self
 1819   2748   
                        .string_in_header
        2749  +
                        /* ServerBuilderGenerator.kt:569 */
 1820   2750   
                        .ok_or(ConstraintViolation::MissingStringInHeader)?,
 1821         -
            })
        2751  +
                    /* ServerBuilderGenerator.kt:542 */
        2752  +
                }, /* ServerBuilderGenerator.kt:287 */
        2753  +
            )
        2754  +
            /* ServerBuilderGenerator.kt:283 */
 1822   2755   
        }
        2756  +
        /* ServerBuilderGenerator.kt:215 */
 1823   2757   
    }
        2758  +
        2759  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1824   2760   
}
 1825         -
/// See [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
        2761  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
 1826   2762   
pub mod malformed_range_override_input {
 1827   2763   
        2764  +
    /* RustType.kt:516 */
 1828   2765   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1829         -
    /// Holds one variant for each of the ways the builder can fail.
        2766  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        2767  +
    /* RustType.kt:516 */
 1830   2768   
    #[non_exhaustive]
        2769  +
    /* ServerBuilderConstraintViolations.kt:75 */
 1831   2770   
    #[allow(clippy::enum_variant_names)]
 1832   2771   
    pub enum ConstraintViolation {
 1833         -
        /// Constraint violation occurred building member `byte` when building `MalformedRangeOverrideInput`.
        2772  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `byte` when building `MalformedRangeOverrideInput`.
        2773  +
        /* RustType.kt:516 */
 1834   2774   
        #[doc(hidden)]
        2775  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1835   2776   
        Byte(crate::input::malformed_range_override_input::byte::ConstraintViolation),
 1836         -
        /// Constraint violation occurred building member `min_byte` when building `MalformedRangeOverrideInput`.
        2777  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_byte` when building `MalformedRangeOverrideInput`.
        2778  +
        /* RustType.kt:516 */
 1837   2779   
        #[doc(hidden)]
        2780  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1838   2781   
        MinByte(crate::input::malformed_range_override_input::min_byte::ConstraintViolation),
 1839         -
        /// Constraint violation occurred building member `max_byte` when building `MalformedRangeOverrideInput`.
        2782  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_byte` when building `MalformedRangeOverrideInput`.
        2783  +
        /* RustType.kt:516 */
 1840   2784   
        #[doc(hidden)]
        2785  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1841   2786   
        MaxByte(crate::input::malformed_range_override_input::max_byte::ConstraintViolation),
 1842         -
        /// Constraint violation occurred building member `short` when building `MalformedRangeOverrideInput`.
        2787  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `short` when building `MalformedRangeOverrideInput`.
        2788  +
        /* RustType.kt:516 */
 1843   2789   
        #[doc(hidden)]
        2790  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1844   2791   
        Short(crate::input::malformed_range_override_input::short::ConstraintViolation),
 1845         -
        /// Constraint violation occurred building member `min_short` when building `MalformedRangeOverrideInput`.
        2792  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_short` when building `MalformedRangeOverrideInput`.
        2793  +
        /* RustType.kt:516 */
 1846   2794   
        #[doc(hidden)]
        2795  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1847   2796   
        MinShort(crate::input::malformed_range_override_input::min_short::ConstraintViolation),
 1848         -
        /// Constraint violation occurred building member `max_short` when building `MalformedRangeOverrideInput`.
        2797  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_short` when building `MalformedRangeOverrideInput`.
        2798  +
        /* RustType.kt:516 */
 1849   2799   
        #[doc(hidden)]
        2800  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1850   2801   
        MaxShort(crate::input::malformed_range_override_input::max_short::ConstraintViolation),
 1851         -
        /// Constraint violation occurred building member `integer` when building `MalformedRangeOverrideInput`.
        2802  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `integer` when building `MalformedRangeOverrideInput`.
        2803  +
        /* RustType.kt:516 */
 1852   2804   
        #[doc(hidden)]
        2805  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1853   2806   
        Integer(crate::input::malformed_range_override_input::integer::ConstraintViolation),
 1854         -
        /// Constraint violation occurred building member `min_integer` when building `MalformedRangeOverrideInput`.
        2807  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_integer` when building `MalformedRangeOverrideInput`.
        2808  +
        /* RustType.kt:516 */
 1855   2809   
        #[doc(hidden)]
        2810  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1856   2811   
        MinInteger(crate::input::malformed_range_override_input::min_integer::ConstraintViolation),
 1857         -
        /// Constraint violation occurred building member `max_integer` when building `MalformedRangeOverrideInput`.
        2812  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_integer` when building `MalformedRangeOverrideInput`.
        2813  +
        /* RustType.kt:516 */
 1858   2814   
        #[doc(hidden)]
        2815  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1859   2816   
        MaxInteger(crate::input::malformed_range_override_input::max_integer::ConstraintViolation),
 1860         -
        /// Constraint violation occurred building member `long` when building `MalformedRangeOverrideInput`.
        2817  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `long` when building `MalformedRangeOverrideInput`.
        2818  +
        /* RustType.kt:516 */
 1861   2819   
        #[doc(hidden)]
        2820  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1862   2821   
        Long(crate::input::malformed_range_override_input::long::ConstraintViolation),
 1863         -
        /// Constraint violation occurred building member `min_long` when building `MalformedRangeOverrideInput`.
        2822  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_long` when building `MalformedRangeOverrideInput`.
        2823  +
        /* RustType.kt:516 */
 1864   2824   
        #[doc(hidden)]
        2825  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1865   2826   
        MinLong(crate::input::malformed_range_override_input::min_long::ConstraintViolation),
 1866         -
        /// Constraint violation occurred building member `max_long` when building `MalformedRangeOverrideInput`.
        2827  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_long` when building `MalformedRangeOverrideInput`.
        2828  +
        /* RustType.kt:516 */
 1867   2829   
        #[doc(hidden)]
        2830  +
        /* ServerBuilderConstraintViolations.kt:164 */
 1868   2831   
        MaxLong(crate::input::malformed_range_override_input::max_long::ConstraintViolation),
        2832  +
        /* ServerBuilderConstraintViolations.kt:75 */
 1869   2833   
    }
        2834  +
    /* ServerBuilderConstraintViolations.kt:117 */
 1870   2835   
    impl ::std::fmt::Display for ConstraintViolation {
        2836  +
        /* ServerBuilderConstraintViolations.kt:118 */
 1871   2837   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2838  +
            /* ServerBuilderConstraintViolations.kt:119 */
 1872   2839   
            match self {
 1873         -
                ConstraintViolation::Byte(_) => write!(f, "constraint violation occurred building member `byte` when building `MalformedRangeOverrideInput`"),
 1874         -
                ConstraintViolation::MinByte(_) => write!(f, "constraint violation occurred building member `min_byte` when building `MalformedRangeOverrideInput`"),
 1875         -
                ConstraintViolation::MaxByte(_) => write!(f, "constraint violation occurred building member `max_byte` when building `MalformedRangeOverrideInput`"),
 1876         -
                ConstraintViolation::Short(_) => write!(f, "constraint violation occurred building member `short` when building `MalformedRangeOverrideInput`"),
 1877         -
                ConstraintViolation::MinShort(_) => write!(f, "constraint violation occurred building member `min_short` when building `MalformedRangeOverrideInput`"),
 1878         -
                ConstraintViolation::MaxShort(_) => write!(f, "constraint violation occurred building member `max_short` when building `MalformedRangeOverrideInput`"),
 1879         -
                ConstraintViolation::Integer(_) => write!(f, "constraint violation occurred building member `integer` when building `MalformedRangeOverrideInput`"),
 1880         -
                ConstraintViolation::MinInteger(_) => write!(f, "constraint violation occurred building member `min_integer` when building `MalformedRangeOverrideInput`"),
 1881         -
                ConstraintViolation::MaxInteger(_) => write!(f, "constraint violation occurred building member `max_integer` when building `MalformedRangeOverrideInput`"),
 1882         -
                ConstraintViolation::Long(_) => write!(f, "constraint violation occurred building member `long` when building `MalformedRangeOverrideInput`"),
 1883         -
                ConstraintViolation::MinLong(_) => write!(f, "constraint violation occurred building member `min_long` when building `MalformedRangeOverrideInput`"),
 1884         -
                ConstraintViolation::MaxLong(_) => write!(f, "constraint violation occurred building member `max_long` when building `MalformedRangeOverrideInput`"),
 1885         -
            }
 1886         -
        }
 1887         -
    }
        2840  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Byte(_) => write!(f, "constraint violation occurred building member `byte` when building `MalformedRangeOverrideInput`"),
        2841  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinByte(_) => write!(f, "constraint violation occurred building member `min_byte` when building `MalformedRangeOverrideInput`"),
        2842  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxByte(_) => write!(f, "constraint violation occurred building member `max_byte` when building `MalformedRangeOverrideInput`"),
        2843  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Short(_) => write!(f, "constraint violation occurred building member `short` when building `MalformedRangeOverrideInput`"),
        2844  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinShort(_) => write!(f, "constraint violation occurred building member `min_short` when building `MalformedRangeOverrideInput`"),
        2845  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxShort(_) => write!(f, "constraint violation occurred building member `max_short` when building `MalformedRangeOverrideInput`"),
        2846  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Integer(_) => write!(f, "constraint violation occurred building member `integer` when building `MalformedRangeOverrideInput`"),
        2847  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinInteger(_) => write!(f, "constraint violation occurred building member `min_integer` when building `MalformedRangeOverrideInput`"),
        2848  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxInteger(_) => write!(f, "constraint violation occurred building member `max_integer` when building `MalformedRangeOverrideInput`"),
        2849  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Long(_) => write!(f, "constraint violation occurred building member `long` when building `MalformedRangeOverrideInput`"),
        2850  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinLong(_) => write!(f, "constraint violation occurred building member `min_long` when building `MalformedRangeOverrideInput`"),
        2851  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxLong(_) => write!(f, "constraint violation occurred building member `max_long` when building `MalformedRangeOverrideInput`"),
        2852  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        2853  +
            /* ServerBuilderConstraintViolations.kt:118 */
        2854  +
        }
        2855  +
        /* ServerBuilderConstraintViolations.kt:117 */
        2856  +
    }
        2857  +
    /* ServerBuilderConstraintViolations.kt:84 */
 1888   2858   
    impl ::std::error::Error for ConstraintViolation {}
        2859  +
    /* ServerBuilderConstraintViolations.kt:171 */
 1889   2860   
    impl ConstraintViolation {
 1890   2861   
        pub(crate) fn as_validation_exception_field(
 1891   2862   
            self,
 1892   2863   
            path: ::std::string::String,
 1893   2864   
        ) -> crate::model::ValidationExceptionField {
 1894   2865   
            match self {
 1895   2866   
                ConstraintViolation::Byte(inner) => {
 1896   2867   
                    inner.as_validation_exception_field(path + "/byte")
 1897   2868   
                }
 1898   2869   
                ConstraintViolation::MinByte(inner) => {
 1899   2870   
                    inner.as_validation_exception_field(path + "/minByte")
 1900   2871   
                }
 1901   2872   
                ConstraintViolation::MaxByte(inner) => {
 1902   2873   
                    inner.as_validation_exception_field(path + "/maxByte")
 1903   2874   
                }
 1904   2875   
                ConstraintViolation::Short(inner) => {
 1905   2876   
                    inner.as_validation_exception_field(path + "/short")
 1906   2877   
                }
 1907   2878   
                ConstraintViolation::MinShort(inner) => {
 1908   2879   
                    inner.as_validation_exception_field(path + "/minShort")
 1909   2880   
                }
 1910   2881   
                ConstraintViolation::MaxShort(inner) => {
 1911   2882   
                    inner.as_validation_exception_field(path + "/maxShort")
 1912   2883   
                }
 1913   2884   
                ConstraintViolation::Integer(inner) => {
 1914   2885   
                    inner.as_validation_exception_field(path + "/integer")
 1915   2886   
                }
 1916   2887   
                ConstraintViolation::MinInteger(inner) => {
 1917   2888   
                    inner.as_validation_exception_field(path + "/minInteger")
 1918   2889   
                }
 1919   2890   
                ConstraintViolation::MaxInteger(inner) => {
 1920   2891   
                    inner.as_validation_exception_field(path + "/maxInteger")
 1921   2892   
                }
 1922   2893   
                ConstraintViolation::Long(inner) => {
 1923   2894   
                    inner.as_validation_exception_field(path + "/long")
 1924   2895   
                }
 1925   2896   
                ConstraintViolation::MinLong(inner) => {
 1926   2897   
                    inner.as_validation_exception_field(path + "/minLong")
 1927   2898   
                }
 1928   2899   
                ConstraintViolation::MaxLong(inner) => {
 1929   2900   
                    inner.as_validation_exception_field(path + "/maxLong")
 1930   2901   
                }
 1931   2902   
            }
 1932   2903   
        }
 1933   2904   
    }
        2905  +
    /* ServerBuilderGenerator.kt:234 */
 1934   2906   
    impl ::std::convert::From<ConstraintViolation>
 1935   2907   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1936   2908   
    {
 1937   2909   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1938   2910   
            let first_validation_exception_field =
 1939   2911   
                constraint_violation.as_validation_exception_field("".to_owned());
 1940   2912   
            let validation_exception = crate::error::ValidationException {
 1941   2913   
                message: format!(
 1942   2914   
                    "1 validation error detected. {}",
 1943   2915   
                    &first_validation_exception_field.message
 1944   2916   
                ),
 1945   2917   
                field_list: Some(vec![first_validation_exception_field]),
 1946   2918   
            };
 1947   2919   
            Self::ConstraintViolation(
 1948   2920   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 1949   2921   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 1950   2922   
                            )
 1951   2923   
        }
 1952   2924   
    }
        2925  +
    /* ServerBuilderGenerator.kt:244 */
 1953   2926   
    impl ::std::convert::From<Builder>
 1954   2927   
        for crate::constrained::MaybeConstrained<crate::input::MalformedRangeOverrideInput>
 1955   2928   
    {
 1956   2929   
        fn from(builder: Builder) -> Self {
 1957   2930   
            Self::Unconstrained(builder)
 1958   2931   
        }
 1959   2932   
    }
        2933  +
    /* ServerBuilderGenerator.kt:446 */
 1960   2934   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedRangeOverrideInput {
 1961   2935   
        type Error = ConstraintViolation;
 1962   2936   
 1963   2937   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1964   2938   
            builder.build()
 1965   2939   
        }
 1966   2940   
    }
 1967         -
    /// A builder for [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
        2941  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
        2942  +
    /* RustType.kt:516 */
 1968   2943   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        2944  +
    /* ServerBuilderGenerator.kt:211 */
 1969   2945   
    pub struct Builder {
        2946  +
        /* ServerBuilderGenerator.kt:308 */
 1970   2947   
        pub(crate) byte: ::std::option::Option<
 1971   2948   
            crate::constrained::MaybeConstrained<
 1972   2949   
                crate::input::malformed_range_override_input::Byte,
 1973   2950   
            >,
 1974   2951   
        >,
        2952  +
        /* ServerBuilderGenerator.kt:308 */
 1975   2953   
        pub(crate) min_byte: ::std::option::Option<
 1976   2954   
            crate::constrained::MaybeConstrained<
 1977   2955   
                crate::input::malformed_range_override_input::MinByte,
 1978   2956   
            >,
 1979   2957   
        >,
        2958  +
        /* ServerBuilderGenerator.kt:308 */
 1980   2959   
        pub(crate) max_byte: ::std::option::Option<
 1981   2960   
            crate::constrained::MaybeConstrained<
 1982   2961   
                crate::input::malformed_range_override_input::MaxByte,
 1983   2962   
            >,
 1984   2963   
        >,
        2964  +
        /* ServerBuilderGenerator.kt:308 */
 1985   2965   
        pub(crate) short: ::std::option::Option<
 1986   2966   
            crate::constrained::MaybeConstrained<
 1987   2967   
                crate::input::malformed_range_override_input::Short,
 1988   2968   
            >,
 1989   2969   
        >,
        2970  +
        /* ServerBuilderGenerator.kt:308 */
 1990   2971   
        pub(crate) min_short: ::std::option::Option<
 1991   2972   
            crate::constrained::MaybeConstrained<
 1992   2973   
                crate::input::malformed_range_override_input::MinShort,
 1993   2974   
            >,
 1994   2975   
        >,
        2976  +
        /* ServerBuilderGenerator.kt:308 */
 1995   2977   
        pub(crate) max_short: ::std::option::Option<
 1996   2978   
            crate::constrained::MaybeConstrained<
 1997   2979   
                crate::input::malformed_range_override_input::MaxShort,
 1998   2980   
            >,
 1999   2981   
        >,
        2982  +
        /* ServerBuilderGenerator.kt:308 */
 2000   2983   
        pub(crate) integer: ::std::option::Option<
 2001   2984   
            crate::constrained::MaybeConstrained<
 2002   2985   
                crate::input::malformed_range_override_input::Integer,
 2003   2986   
            >,
 2004   2987   
        >,
        2988  +
        /* ServerBuilderGenerator.kt:308 */
 2005   2989   
        pub(crate) min_integer: ::std::option::Option<
 2006   2990   
            crate::constrained::MaybeConstrained<
 2007   2991   
                crate::input::malformed_range_override_input::MinInteger,
 2008   2992   
            >,
 2009   2993   
        >,
        2994  +
        /* ServerBuilderGenerator.kt:308 */
 2010   2995   
        pub(crate) max_integer: ::std::option::Option<
 2011   2996   
            crate::constrained::MaybeConstrained<
 2012   2997   
                crate::input::malformed_range_override_input::MaxInteger,
 2013   2998   
            >,
 2014   2999   
        >,
        3000  +
        /* ServerBuilderGenerator.kt:308 */
 2015   3001   
        pub(crate) long: ::std::option::Option<
 2016   3002   
            crate::constrained::MaybeConstrained<
 2017   3003   
                crate::input::malformed_range_override_input::Long,
 2018   3004   
            >,
 2019   3005   
        >,
        3006  +
        /* ServerBuilderGenerator.kt:308 */
 2020   3007   
        pub(crate) min_long: ::std::option::Option<
 2021   3008   
            crate::constrained::MaybeConstrained<
 2022   3009   
                crate::input::malformed_range_override_input::MinLong,
 2023   3010   
            >,
 2024   3011   
        >,
        3012  +
        /* ServerBuilderGenerator.kt:308 */
 2025   3013   
        pub(crate) max_long: ::std::option::Option<
 2026   3014   
            crate::constrained::MaybeConstrained<
 2027   3015   
                crate::input::malformed_range_override_input::MaxLong,
 2028   3016   
            >,
 2029   3017   
        >,
 2030         -
        pub(crate) float: ::std::option::Option<f32>,
 2031         -
        pub(crate) min_float: ::std::option::Option<f32>,
        3018  +
        /* ServerBuilderGenerator.kt:308 */ pub(crate) float: ::std::option::Option<f32>,
        3019  +
        /* ServerBuilderGenerator.kt:308 */ pub(crate) min_float: ::std::option::Option<f32>,
        3020  +
        /* ServerBuilderGenerator.kt:308 */
 2032   3021   
        pub(crate) max_float: ::std::option::Option<f32>,
        3022  +
        /* ServerBuilderGenerator.kt:211 */
 2033   3023   
    }
        3024  +
    /* ServerBuilderGenerator.kt:215 */
 2034   3025   
    impl Builder {
        3026  +
        /* ServerBuilderGenerator.kt:331 */
 2035   3027   
        #[allow(missing_docs)] // documentation missing in model
        3028  +
                               /* ServerBuilderGenerator.kt:343 */
 2036   3029   
        pub fn byte(
 2037   3030   
            mut self,
 2038   3031   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Byte>,
 2039   3032   
        ) -> Self {
 2040         -
            self.byte = input.map(
 2041         -
                #[allow(clippy::redundant_closure)]
 2042         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2043         -
            );
        3033  +
            /* ServerBuilderGenerator.kt:344 */
        3034  +
            self.byte =
        3035  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3036  +
            /* ServerBuilderGenerator.kt:344 */;
 2044   3037   
            self
        3038  +
            /* ServerBuilderGenerator.kt:343 */
 2045   3039   
        }
        3040  +
        /* ServerBuilderGenerator.kt:426 */
 2046   3041   
        #[allow(missing_docs)] // documentation missing in model
        3042  +
                               /* ServerBuilderGenerator.kt:428 */
 2047   3043   
        pub(crate) fn set_byte(
 2048   3044   
            mut self,
 2049   3045   
            input: Option<
 2050   3046   
                impl ::std::convert::Into<
 2051   3047   
                    crate::constrained::MaybeConstrained<
 2052   3048   
                        crate::input::malformed_range_override_input::Byte,
 2053   3049   
                    >,
 2054   3050   
                >,
 2055   3051   
            >,
 2056   3052   
        ) -> Self {
        3053  +
            /* ServerBuilderGenerator.kt:429 */
 2057   3054   
            self.byte = input.map(|v| v.into());
 2058   3055   
            self
        3056  +
            /* ServerBuilderGenerator.kt:428 */
 2059   3057   
        }
        3058  +
        /* ServerBuilderGenerator.kt:331 */
 2060   3059   
        #[allow(missing_docs)] // documentation missing in model
        3060  +
                               /* ServerBuilderGenerator.kt:343 */
 2061   3061   
        pub fn min_byte(
 2062   3062   
            mut self,
 2063   3063   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinByte>,
 2064   3064   
        ) -> Self {
 2065         -
            self.min_byte = input.map(
 2066         -
                #[allow(clippy::redundant_closure)]
 2067         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2068         -
            );
        3065  +
            /* ServerBuilderGenerator.kt:344 */
        3066  +
            self.min_byte =
        3067  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3068  +
            /* ServerBuilderGenerator.kt:344 */;
 2069   3069   
            self
        3070  +
            /* ServerBuilderGenerator.kt:343 */
 2070   3071   
        }
        3072  +
        /* ServerBuilderGenerator.kt:426 */
 2071   3073   
        #[allow(missing_docs)] // documentation missing in model
        3074  +
                               /* ServerBuilderGenerator.kt:428 */
 2072   3075   
        pub(crate) fn set_min_byte(
 2073   3076   
            mut self,
 2074   3077   
            input: Option<
 2075   3078   
                impl ::std::convert::Into<
 2076   3079   
                    crate::constrained::MaybeConstrained<
 2077   3080   
                        crate::input::malformed_range_override_input::MinByte,
 2078   3081   
                    >,
 2079   3082   
                >,
 2080   3083   
            >,
 2081   3084   
        ) -> Self {
        3085  +
            /* ServerBuilderGenerator.kt:429 */
 2082   3086   
            self.min_byte = input.map(|v| v.into());
 2083   3087   
            self
        3088  +
            /* ServerBuilderGenerator.kt:428 */
 2084   3089   
        }
        3090  +
        /* ServerBuilderGenerator.kt:331 */
 2085   3091   
        #[allow(missing_docs)] // documentation missing in model
        3092  +
                               /* ServerBuilderGenerator.kt:343 */
 2086   3093   
        pub fn max_byte(
 2087   3094   
            mut self,
 2088   3095   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxByte>,
 2089   3096   
        ) -> Self {
 2090         -
            self.max_byte = input.map(
 2091         -
                #[allow(clippy::redundant_closure)]
 2092         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2093         -
            );
        3097  +
            /* ServerBuilderGenerator.kt:344 */
        3098  +
            self.max_byte =
        3099  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3100  +
            /* ServerBuilderGenerator.kt:344 */;
 2094   3101   
            self
        3102  +
            /* ServerBuilderGenerator.kt:343 */
 2095   3103   
        }
        3104  +
        /* ServerBuilderGenerator.kt:426 */
 2096   3105   
        #[allow(missing_docs)] // documentation missing in model
        3106  +
                               /* ServerBuilderGenerator.kt:428 */
 2097   3107   
        pub(crate) fn set_max_byte(
 2098   3108   
            mut self,
 2099   3109   
            input: Option<
 2100   3110   
                impl ::std::convert::Into<
 2101   3111   
                    crate::constrained::MaybeConstrained<
 2102   3112   
                        crate::input::malformed_range_override_input::MaxByte,
 2103   3113   
                    >,
 2104   3114   
                >,
 2105   3115   
            >,
 2106   3116   
        ) -> Self {
        3117  +
            /* ServerBuilderGenerator.kt:429 */
 2107   3118   
            self.max_byte = input.map(|v| v.into());
 2108   3119   
            self
        3120  +
            /* ServerBuilderGenerator.kt:428 */
 2109   3121   
        }
        3122  +
        /* ServerBuilderGenerator.kt:331 */
 2110   3123   
        #[allow(missing_docs)] // documentation missing in model
        3124  +
                               /* ServerBuilderGenerator.kt:343 */
 2111   3125   
        pub fn short(
 2112   3126   
            mut self,
 2113   3127   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Short>,
 2114   3128   
        ) -> Self {
 2115         -
            self.short = input.map(
 2116         -
                #[allow(clippy::redundant_closure)]
 2117         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2118         -
            );
        3129  +
            /* ServerBuilderGenerator.kt:344 */
        3130  +
            self.short =
        3131  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3132  +
            /* ServerBuilderGenerator.kt:344 */;
 2119   3133   
            self
        3134  +
            /* ServerBuilderGenerator.kt:343 */
 2120   3135   
        }
        3136  +
        /* ServerBuilderGenerator.kt:426 */
 2121   3137   
        #[allow(missing_docs)] // documentation missing in model
        3138  +
                               /* ServerBuilderGenerator.kt:428 */
 2122   3139   
        pub(crate) fn set_short(
 2123   3140   
            mut self,
 2124   3141   
            input: Option<
 2125   3142   
                impl ::std::convert::Into<
 2126   3143   
                    crate::constrained::MaybeConstrained<
 2127   3144   
                        crate::input::malformed_range_override_input::Short,
 2128   3145   
                    >,
 2129   3146   
                >,
 2130   3147   
            >,
 2131   3148   
        ) -> Self {
        3149  +
            /* ServerBuilderGenerator.kt:429 */
 2132   3150   
            self.short = input.map(|v| v.into());
 2133   3151   
            self
        3152  +
            /* ServerBuilderGenerator.kt:428 */
 2134   3153   
        }
        3154  +
        /* ServerBuilderGenerator.kt:331 */
 2135   3155   
        #[allow(missing_docs)] // documentation missing in model
        3156  +
                               /* ServerBuilderGenerator.kt:343 */
 2136   3157   
        pub fn min_short(
 2137   3158   
            mut self,
 2138   3159   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinShort>,
 2139   3160   
        ) -> Self {
 2140         -
            self.min_short = input.map(
 2141         -
                #[allow(clippy::redundant_closure)]
 2142         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2143         -
            );
        3161  +
            /* ServerBuilderGenerator.kt:344 */
        3162  +
            self.min_short =
        3163  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3164  +
            /* ServerBuilderGenerator.kt:344 */;
 2144   3165   
            self
        3166  +
            /* ServerBuilderGenerator.kt:343 */
 2145   3167   
        }
        3168  +
        /* ServerBuilderGenerator.kt:426 */
 2146   3169   
        #[allow(missing_docs)] // documentation missing in model
        3170  +
                               /* ServerBuilderGenerator.kt:428 */
 2147   3171   
        pub(crate) fn set_min_short(
 2148   3172   
            mut self,
 2149   3173   
            input: Option<
 2150   3174   
                impl ::std::convert::Into<
 2151   3175   
                    crate::constrained::MaybeConstrained<
 2152   3176   
                        crate::input::malformed_range_override_input::MinShort,
 2153   3177   
                    >,
 2154   3178   
                >,
 2155   3179   
            >,
 2156   3180   
        ) -> Self {
        3181  +
            /* ServerBuilderGenerator.kt:429 */
 2157   3182   
            self.min_short = input.map(|v| v.into());
 2158   3183   
            self
        3184  +
            /* ServerBuilderGenerator.kt:428 */
 2159   3185   
        }
        3186  +
        /* ServerBuilderGenerator.kt:331 */
 2160   3187   
        #[allow(missing_docs)] // documentation missing in model
        3188  +
                               /* ServerBuilderGenerator.kt:343 */
 2161   3189   
        pub fn max_short(
 2162   3190   
            mut self,
 2163   3191   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxShort>,
 2164   3192   
        ) -> Self {
 2165         -
            self.max_short = input.map(
 2166         -
                #[allow(clippy::redundant_closure)]
 2167         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2168         -
            );
        3193  +
            /* ServerBuilderGenerator.kt:344 */
        3194  +
            self.max_short =
        3195  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3196  +
            /* ServerBuilderGenerator.kt:344 */;
 2169   3197   
            self
        3198  +
            /* ServerBuilderGenerator.kt:343 */
 2170   3199   
        }
        3200  +
        /* ServerBuilderGenerator.kt:426 */
 2171   3201   
        #[allow(missing_docs)] // documentation missing in model
        3202  +
                               /* ServerBuilderGenerator.kt:428 */
 2172   3203   
        pub(crate) fn set_max_short(
 2173   3204   
            mut self,
 2174   3205   
            input: Option<
 2175   3206   
                impl ::std::convert::Into<
 2176   3207   
                    crate::constrained::MaybeConstrained<
 2177   3208   
                        crate::input::malformed_range_override_input::MaxShort,
 2178   3209   
                    >,
 2179   3210   
                >,
 2180   3211   
            >,
 2181   3212   
        ) -> Self {
        3213  +
            /* ServerBuilderGenerator.kt:429 */
 2182   3214   
            self.max_short = input.map(|v| v.into());
 2183   3215   
            self
        3216  +
            /* ServerBuilderGenerator.kt:428 */
 2184   3217   
        }
        3218  +
        /* ServerBuilderGenerator.kt:331 */
 2185   3219   
        #[allow(missing_docs)] // documentation missing in model
        3220  +
                               /* ServerBuilderGenerator.kt:343 */
 2186   3221   
        pub fn integer(
 2187   3222   
            mut self,
 2188   3223   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Integer>,
 2189   3224   
        ) -> Self {
 2190         -
            self.integer = input.map(
 2191         -
                #[allow(clippy::redundant_closure)]
 2192         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2193         -
            );
        3225  +
            /* ServerBuilderGenerator.kt:344 */
        3226  +
            self.integer =
        3227  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3228  +
            /* ServerBuilderGenerator.kt:344 */;
 2194   3229   
            self
        3230  +
            /* ServerBuilderGenerator.kt:343 */
 2195   3231   
        }
        3232  +
        /* ServerBuilderGenerator.kt:426 */
 2196   3233   
        #[allow(missing_docs)] // documentation missing in model
        3234  +
                               /* ServerBuilderGenerator.kt:428 */
 2197   3235   
        pub(crate) fn set_integer(
 2198   3236   
            mut self,
 2199   3237   
            input: Option<
 2200   3238   
                impl ::std::convert::Into<
 2201   3239   
                    crate::constrained::MaybeConstrained<
 2202   3240   
                        crate::input::malformed_range_override_input::Integer,
 2203   3241   
                    >,
 2204   3242   
                >,
 2205   3243   
            >,
 2206   3244   
        ) -> Self {
        3245  +
            /* ServerBuilderGenerator.kt:429 */
 2207   3246   
            self.integer = input.map(|v| v.into());
 2208   3247   
            self
        3248  +
            /* ServerBuilderGenerator.kt:428 */
 2209   3249   
        }
        3250  +
        /* ServerBuilderGenerator.kt:331 */
 2210   3251   
        #[allow(missing_docs)] // documentation missing in model
        3252  +
                               /* ServerBuilderGenerator.kt:343 */
 2211   3253   
        pub fn min_integer(
 2212   3254   
            mut self,
 2213   3255   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinInteger>,
 2214   3256   
        ) -> Self {
 2215         -
            self.min_integer = input.map(
 2216         -
                #[allow(clippy::redundant_closure)]
 2217         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2218         -
            );
        3257  +
            /* ServerBuilderGenerator.kt:344 */
        3258  +
            self.min_integer =
        3259  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3260  +
            /* ServerBuilderGenerator.kt:344 */;
 2219   3261   
            self
        3262  +
            /* ServerBuilderGenerator.kt:343 */
 2220   3263   
        }
        3264  +
        /* ServerBuilderGenerator.kt:426 */
 2221   3265   
        #[allow(missing_docs)] // documentation missing in model
        3266  +
                               /* ServerBuilderGenerator.kt:428 */
 2222   3267   
        pub(crate) fn set_min_integer(
 2223   3268   
            mut self,
 2224   3269   
            input: Option<
 2225   3270   
                impl ::std::convert::Into<
 2226   3271   
                    crate::constrained::MaybeConstrained<
 2227   3272   
                        crate::input::malformed_range_override_input::MinInteger,
 2228   3273   
                    >,
 2229   3274   
                >,
 2230   3275   
            >,
 2231   3276   
        ) -> Self {
        3277  +
            /* ServerBuilderGenerator.kt:429 */
 2232   3278   
            self.min_integer = input.map(|v| v.into());
 2233   3279   
            self
        3280  +
            /* ServerBuilderGenerator.kt:428 */
 2234   3281   
        }
        3282  +
        /* ServerBuilderGenerator.kt:331 */
 2235   3283   
        #[allow(missing_docs)] // documentation missing in model
        3284  +
                               /* ServerBuilderGenerator.kt:343 */
 2236   3285   
        pub fn max_integer(
 2237   3286   
            mut self,
 2238   3287   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxInteger>,
 2239   3288   
        ) -> Self {
 2240         -
            self.max_integer = input.map(
 2241         -
                #[allow(clippy::redundant_closure)]
 2242         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2243         -
            );
        3289  +
            /* ServerBuilderGenerator.kt:344 */
        3290  +
            self.max_integer =
        3291  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3292  +
            /* ServerBuilderGenerator.kt:344 */;
 2244   3293   
            self
        3294  +
            /* ServerBuilderGenerator.kt:343 */
 2245   3295   
        }
        3296  +
        /* ServerBuilderGenerator.kt:426 */
 2246   3297   
        #[allow(missing_docs)] // documentation missing in model
        3298  +
                               /* ServerBuilderGenerator.kt:428 */
 2247   3299   
        pub(crate) fn set_max_integer(
 2248   3300   
            mut self,
 2249   3301   
            input: Option<
 2250   3302   
                impl ::std::convert::Into<
 2251   3303   
                    crate::constrained::MaybeConstrained<
 2252   3304   
                        crate::input::malformed_range_override_input::MaxInteger,
 2253   3305   
                    >,
 2254   3306   
                >,
 2255   3307   
            >,
 2256   3308   
        ) -> Self {
        3309  +
            /* ServerBuilderGenerator.kt:429 */
 2257   3310   
            self.max_integer = input.map(|v| v.into());
 2258   3311   
            self
        3312  +
            /* ServerBuilderGenerator.kt:428 */
 2259   3313   
        }
        3314  +
        /* ServerBuilderGenerator.kt:331 */
 2260   3315   
        #[allow(missing_docs)] // documentation missing in model
        3316  +
                               /* ServerBuilderGenerator.kt:343 */
 2261   3317   
        pub fn long(
 2262   3318   
            mut self,
 2263   3319   
            input: ::std::option::Option<crate::input::malformed_range_override_input::Long>,
 2264   3320   
        ) -> Self {
 2265         -
            self.long = input.map(
 2266         -
                #[allow(clippy::redundant_closure)]
 2267         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2268         -
            );
        3321  +
            /* ServerBuilderGenerator.kt:344 */
        3322  +
            self.long =
        3323  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3324  +
            /* ServerBuilderGenerator.kt:344 */;
 2269   3325   
            self
        3326  +
            /* ServerBuilderGenerator.kt:343 */
 2270   3327   
        }
        3328  +
        /* ServerBuilderGenerator.kt:426 */
 2271   3329   
        #[allow(missing_docs)] // documentation missing in model
        3330  +
                               /* ServerBuilderGenerator.kt:428 */
 2272   3331   
        pub(crate) fn set_long(
 2273   3332   
            mut self,
 2274   3333   
            input: Option<
 2275   3334   
                impl ::std::convert::Into<
 2276   3335   
                    crate::constrained::MaybeConstrained<
 2277   3336   
                        crate::input::malformed_range_override_input::Long,
 2278   3337   
                    >,
 2279   3338   
                >,
 2280   3339   
            >,
 2281   3340   
        ) -> Self {
        3341  +
            /* ServerBuilderGenerator.kt:429 */
 2282   3342   
            self.long = input.map(|v| v.into());
 2283   3343   
            self
        3344  +
            /* ServerBuilderGenerator.kt:428 */
 2284   3345   
        }
        3346  +
        /* ServerBuilderGenerator.kt:331 */
 2285   3347   
        #[allow(missing_docs)] // documentation missing in model
        3348  +
                               /* ServerBuilderGenerator.kt:343 */
 2286   3349   
        pub fn min_long(
 2287   3350   
            mut self,
 2288   3351   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MinLong>,
 2289   3352   
        ) -> Self {
 2290         -
            self.min_long = input.map(
 2291         -
                #[allow(clippy::redundant_closure)]
 2292         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2293         -
            );
        3353  +
            /* ServerBuilderGenerator.kt:344 */
        3354  +
            self.min_long =
        3355  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3356  +
            /* ServerBuilderGenerator.kt:344 */;
 2294   3357   
            self
        3358  +
            /* ServerBuilderGenerator.kt:343 */
 2295   3359   
        }
        3360  +
        /* ServerBuilderGenerator.kt:426 */
 2296   3361   
        #[allow(missing_docs)] // documentation missing in model
        3362  +
                               /* ServerBuilderGenerator.kt:428 */
 2297   3363   
        pub(crate) fn set_min_long(
 2298   3364   
            mut self,
 2299   3365   
            input: Option<
 2300   3366   
                impl ::std::convert::Into<
 2301   3367   
                    crate::constrained::MaybeConstrained<
 2302   3368   
                        crate::input::malformed_range_override_input::MinLong,
 2303   3369   
                    >,
 2304   3370   
                >,
 2305   3371   
            >,
 2306   3372   
        ) -> Self {
        3373  +
            /* ServerBuilderGenerator.kt:429 */
 2307   3374   
            self.min_long = input.map(|v| v.into());
 2308   3375   
            self
        3376  +
            /* ServerBuilderGenerator.kt:428 */
 2309   3377   
        }
        3378  +
        /* ServerBuilderGenerator.kt:331 */
 2310   3379   
        #[allow(missing_docs)] // documentation missing in model
        3380  +
                               /* ServerBuilderGenerator.kt:343 */
 2311   3381   
        pub fn max_long(
 2312   3382   
            mut self,
 2313   3383   
            input: ::std::option::Option<crate::input::malformed_range_override_input::MaxLong>,
 2314   3384   
        ) -> Self {
 2315         -
            self.max_long = input.map(
 2316         -
                #[allow(clippy::redundant_closure)]
 2317         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 2318         -
            );
        3385  +
            /* ServerBuilderGenerator.kt:344 */
        3386  +
            self.max_long =
        3387  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        3388  +
            /* ServerBuilderGenerator.kt:344 */;
 2319   3389   
            self
        3390  +
            /* ServerBuilderGenerator.kt:343 */
 2320   3391   
        }
        3392  +
        /* ServerBuilderGenerator.kt:426 */
 2321   3393   
        #[allow(missing_docs)] // documentation missing in model
        3394  +
                               /* ServerBuilderGenerator.kt:428 */
 2322   3395   
        pub(crate) fn set_max_long(
 2323   3396   
            mut self,
 2324   3397   
            input: Option<
 2325   3398   
                impl ::std::convert::Into<
 2326   3399   
                    crate::constrained::MaybeConstrained<
 2327   3400   
                        crate::input::malformed_range_override_input::MaxLong,
 2328   3401   
                    >,
 2329   3402   
                >,
 2330   3403   
            >,
 2331   3404   
        ) -> Self {
        3405  +
            /* ServerBuilderGenerator.kt:429 */
 2332   3406   
            self.max_long = input.map(|v| v.into());
 2333   3407   
            self
        3408  +
            /* ServerBuilderGenerator.kt:428 */
 2334   3409   
        }
        3410  +
        /* ServerBuilderGenerator.kt:331 */
 2335   3411   
        #[allow(missing_docs)] // documentation missing in model
        3412  +
                               /* ServerBuilderGenerator.kt:343 */
 2336   3413   
        pub fn float(mut self, input: ::std::option::Option<f32>) -> Self {
 2337         -
            self.float = input;
        3414  +
            /* ServerBuilderGenerator.kt:344 */
        3415  +
            self.float =
        3416  +
                /* ServerBuilderGenerator.kt:376 */input
        3417  +
            /* ServerBuilderGenerator.kt:344 */;
 2338   3418   
            self
        3419  +
            /* ServerBuilderGenerator.kt:343 */
 2339   3420   
        }
        3421  +
        /* ServerBuilderGenerator.kt:426 */
 2340   3422   
        #[allow(missing_docs)] // documentation missing in model
        3423  +
                               /* ServerBuilderGenerator.kt:428 */
 2341   3424   
        pub(crate) fn set_float(mut self, input: Option<impl ::std::convert::Into<f32>>) -> Self {
        3425  +
            /* ServerBuilderGenerator.kt:429 */
 2342   3426   
            self.float = input.map(|v| v.into());
 2343   3427   
            self
        3428  +
            /* ServerBuilderGenerator.kt:428 */
 2344   3429   
        }
        3430  +
        /* ServerBuilderGenerator.kt:331 */
 2345   3431   
        #[allow(missing_docs)] // documentation missing in model
        3432  +
                               /* ServerBuilderGenerator.kt:343 */
 2346   3433   
        pub fn min_float(mut self, input: ::std::option::Option<f32>) -> Self {
 2347         -
            self.min_float = input;
        3434  +
            /* ServerBuilderGenerator.kt:344 */
        3435  +
            self.min_float =
        3436  +
                /* ServerBuilderGenerator.kt:376 */input
        3437  +
            /* ServerBuilderGenerator.kt:344 */;
 2348   3438   
            self
        3439  +
            /* ServerBuilderGenerator.kt:343 */
 2349   3440   
        }
        3441  +
        /* ServerBuilderGenerator.kt:426 */
 2350   3442   
        #[allow(missing_docs)] // documentation missing in model
        3443  +
                               /* ServerBuilderGenerator.kt:428 */
 2351   3444   
        pub(crate) fn set_min_float(
 2352   3445   
            mut self,
 2353   3446   
            input: Option<impl ::std::convert::Into<f32>>,
 2354   3447   
        ) -> Self {
        3448  +
            /* ServerBuilderGenerator.kt:429 */
 2355   3449   
            self.min_float = input.map(|v| v.into());
 2356   3450   
            self
        3451  +
            /* ServerBuilderGenerator.kt:428 */
 2357   3452   
        }
        3453  +
        /* ServerBuilderGenerator.kt:331 */
 2358   3454   
        #[allow(missing_docs)] // documentation missing in model
        3455  +
                               /* ServerBuilderGenerator.kt:343 */
 2359   3456   
        pub fn max_float(mut self, input: ::std::option::Option<f32>) -> Self {
 2360         -
            self.max_float = input;
        3457  +
            /* ServerBuilderGenerator.kt:344 */
        3458  +
            self.max_float =
        3459  +
                /* ServerBuilderGenerator.kt:376 */input
        3460  +
            /* ServerBuilderGenerator.kt:344 */;
 2361   3461   
            self
        3462  +
            /* ServerBuilderGenerator.kt:343 */
 2362   3463   
        }
        3464  +
        /* ServerBuilderGenerator.kt:426 */
 2363   3465   
        #[allow(missing_docs)] // documentation missing in model
        3466  +
                               /* ServerBuilderGenerator.kt:428 */
 2364   3467   
        pub(crate) fn set_max_float(
 2365   3468   
            mut self,
 2366   3469   
            input: Option<impl ::std::convert::Into<f32>>,
 2367   3470   
        ) -> Self {
        3471  +
            /* ServerBuilderGenerator.kt:429 */
 2368   3472   
            self.max_float = input.map(|v| v.into());
 2369   3473   
            self
        3474  +
            /* ServerBuilderGenerator.kt:428 */
 2370   3475   
        }
 2371         -
        /// Consumes the builder and constructs a [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
 2372         -
        ///
        3476  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput).
        3477  +
        /// /* ServerBuilderGenerator.kt:260 */
 2373   3478   
        /// The builder fails to construct a [`MalformedRangeOverrideInput`](crate::input::MalformedRangeOverrideInput) if a [`ConstraintViolation`] occurs.
 2374   3479   
        ///
 2375         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        3480  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        3481  +
        /* ServerBuilderGenerator.kt:271 */
 2376   3482   
        pub fn build(
 2377   3483   
            self,
 2378   3484   
        ) -> Result<crate::input::MalformedRangeOverrideInput, ConstraintViolation> {
 2379   3485   
            self.build_enforcing_all_constraints()
 2380   3486   
        }
        3487  +
        /* ServerBuilderGenerator.kt:283 */
 2381   3488   
        fn build_enforcing_all_constraints(
 2382   3489   
            self,
 2383   3490   
        ) -> Result<crate::input::MalformedRangeOverrideInput, ConstraintViolation> {
 2384         -
            Ok(crate::input::MalformedRangeOverrideInput {
        3491  +
            /* ServerBuilderGenerator.kt:287 */
        3492  +
            Ok(
        3493  +
                /* ServerBuilderGenerator.kt:542 */
        3494  +
                crate::input::MalformedRangeOverrideInput {
        3495  +
                    /* ServerBuilderGenerator.kt:546 */
 2385   3496   
                    byte: self
 2386   3497   
                        .byte
        3498  +
                        /* ServerBuilderGenerator.kt:602 */
 2387   3499   
                        .map(|v| match v {
 2388   3500   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2389   3501   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2390   3502   
                        })
        3503  +
                        /* ServerBuilderGenerator.kt:614 */
 2391   3504   
                        .map(|res| res.map_err(ConstraintViolation::Byte))
 2392   3505   
                        .transpose()?,
        3506  +
                    /* ServerBuilderGenerator.kt:546 */
 2393   3507   
                    min_byte: self
 2394   3508   
                        .min_byte
        3509  +
                        /* ServerBuilderGenerator.kt:602 */
 2395   3510   
                        .map(|v| match v {
 2396   3511   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2397   3512   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2398   3513   
                        })
        3514  +
                        /* ServerBuilderGenerator.kt:614 */
 2399   3515   
                        .map(|res| res.map_err(ConstraintViolation::MinByte))
 2400   3516   
                        .transpose()?,
        3517  +
                    /* ServerBuilderGenerator.kt:546 */
 2401   3518   
                    max_byte: self
 2402   3519   
                        .max_byte
        3520  +
                        /* ServerBuilderGenerator.kt:602 */
 2403   3521   
                        .map(|v| match v {
 2404   3522   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2405   3523   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2406   3524   
                        })
        3525  +
                        /* ServerBuilderGenerator.kt:614 */
 2407   3526   
                        .map(|res| res.map_err(ConstraintViolation::MaxByte))
 2408   3527   
                        .transpose()?,
        3528  +
                    /* ServerBuilderGenerator.kt:546 */
 2409   3529   
                    short: self
 2410   3530   
                        .short
        3531  +
                        /* ServerBuilderGenerator.kt:602 */
 2411   3532   
                        .map(|v| match v {
 2412   3533   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2413   3534   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2414   3535   
                        })
        3536  +
                        /* ServerBuilderGenerator.kt:614 */
 2415   3537   
                        .map(|res| res.map_err(ConstraintViolation::Short))
 2416   3538   
                        .transpose()?,
        3539  +
                    /* ServerBuilderGenerator.kt:546 */
 2417   3540   
                    min_short: self
 2418   3541   
                        .min_short
        3542  +
                        /* ServerBuilderGenerator.kt:602 */
 2419   3543   
                        .map(|v| match v {
 2420   3544   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2421   3545   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2422   3546   
                        })
        3547  +
                        /* ServerBuilderGenerator.kt:614 */
 2423   3548   
                        .map(|res| res.map_err(ConstraintViolation::MinShort))
 2424   3549   
                        .transpose()?,
        3550  +
                    /* ServerBuilderGenerator.kt:546 */
 2425   3551   
                    max_short: self
 2426   3552   
                        .max_short
        3553  +
                        /* ServerBuilderGenerator.kt:602 */
 2427   3554   
                        .map(|v| match v {
 2428   3555   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2429   3556   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2430   3557   
                        })
        3558  +
                        /* ServerBuilderGenerator.kt:614 */
 2431   3559   
                        .map(|res| res.map_err(ConstraintViolation::MaxShort))
 2432   3560   
                        .transpose()?,
        3561  +
                    /* ServerBuilderGenerator.kt:546 */
 2433   3562   
                    integer: self
 2434   3563   
                        .integer
        3564  +
                        /* ServerBuilderGenerator.kt:602 */
 2435   3565   
                        .map(|v| match v {
 2436   3566   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2437   3567   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2438   3568   
                        })
        3569  +
                        /* ServerBuilderGenerator.kt:614 */
 2439   3570   
                        .map(|res| res.map_err(ConstraintViolation::Integer))
 2440   3571   
                        .transpose()?,
        3572  +
                    /* ServerBuilderGenerator.kt:546 */
 2441   3573   
                    min_integer: self
 2442   3574   
                        .min_integer
        3575  +
                        /* ServerBuilderGenerator.kt:602 */
 2443   3576   
                        .map(|v| match v {
 2444   3577   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2445   3578   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2446   3579   
                        })
        3580  +
                        /* ServerBuilderGenerator.kt:614 */
 2447   3581   
                        .map(|res| res.map_err(ConstraintViolation::MinInteger))
 2448   3582   
                        .transpose()?,
        3583  +
                    /* ServerBuilderGenerator.kt:546 */
 2449   3584   
                    max_integer: self
 2450   3585   
                        .max_integer
        3586  +
                        /* ServerBuilderGenerator.kt:602 */
 2451   3587   
                        .map(|v| match v {
 2452   3588   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2453   3589   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2454   3590   
                        })
        3591  +
                        /* ServerBuilderGenerator.kt:614 */
 2455   3592   
                        .map(|res| res.map_err(ConstraintViolation::MaxInteger))
 2456   3593   
                        .transpose()?,
        3594  +
                    /* ServerBuilderGenerator.kt:546 */
 2457   3595   
                    long: self
 2458   3596   
                        .long
        3597  +
                        /* ServerBuilderGenerator.kt:602 */
 2459   3598   
                        .map(|v| match v {
 2460   3599   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2461   3600   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2462   3601   
                        })
        3602  +
                        /* ServerBuilderGenerator.kt:614 */
 2463   3603   
                        .map(|res| res.map_err(ConstraintViolation::Long))
 2464   3604   
                        .transpose()?,
        3605  +
                    /* ServerBuilderGenerator.kt:546 */
 2465   3606   
                    min_long: self
 2466   3607   
                        .min_long
        3608  +
                        /* ServerBuilderGenerator.kt:602 */
 2467   3609   
                        .map(|v| match v {
 2468   3610   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2469   3611   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2470   3612   
                        })
        3613  +
                        /* ServerBuilderGenerator.kt:614 */
 2471   3614   
                        .map(|res| res.map_err(ConstraintViolation::MinLong))
 2472   3615   
                        .transpose()?,
        3616  +
                    /* ServerBuilderGenerator.kt:546 */
 2473   3617   
                    max_long: self
 2474   3618   
                        .max_long
        3619  +
                        /* ServerBuilderGenerator.kt:602 */
 2475   3620   
                        .map(|v| match v {
 2476   3621   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 2477   3622   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 2478   3623   
                        })
        3624  +
                        /* ServerBuilderGenerator.kt:614 */
 2479   3625   
                        .map(|res| res.map_err(ConstraintViolation::MaxLong))
 2480   3626   
                        .transpose()?,
        3627  +
                    /* ServerBuilderGenerator.kt:546 */
 2481   3628   
                    float: self.float,
        3629  +
                    /* ServerBuilderGenerator.kt:546 */
 2482   3630   
                    min_float: self.min_float,
        3631  +
                    /* ServerBuilderGenerator.kt:546 */
 2483   3632   
                    max_float: self.max_float,
 2484         -
            })
        3633  +
                    /* ServerBuilderGenerator.kt:542 */
        3634  +
                }, /* ServerBuilderGenerator.kt:287 */
        3635  +
            )
        3636  +
            /* ServerBuilderGenerator.kt:283 */
 2485   3637   
        }
        3638  +
        /* ServerBuilderGenerator.kt:215 */
 2486   3639   
    }
        3640  +
    /* ConstrainedNumberGenerator.kt:82 */
 2487   3641   
    #[allow(missing_docs)] // documentation missing in model
 2488         -
    ///
        3642  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2489   3643   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2490   3644   
    /// [constraint traits]. Use [`MaxLong::try_from`] to construct values of this type.
 2491   3645   
    ///
 2492   3646   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2493   3647   
    ///
        3648  +
    /* RustType.kt:516 */
 2494   3649   
    #[derive(
 2495   3650   
        ::std::clone::Clone,
 2496   3651   
        ::std::cmp::Eq,
 2497   3652   
        ::std::cmp::PartialEq,
 2498   3653   
        ::std::fmt::Debug,
 2499   3654   
        ::std::hash::Hash,
 2500   3655   
    )]
 2501         -
    pub struct MaxLong(pub(crate) i64);
        3656  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxLong(pub(crate) i64);
        3657  +
    /* ConstrainedNumberGenerator.kt:91 */
 2502   3658   
    impl MaxLong {
 2503   3659   
        /// Returns an immutable reference to the underlying [`i64`].
 2504   3660   
        pub fn inner(&self) -> &i64 {
 2505   3661   
            &self.0
 2506   3662   
        }
 2507   3663   
 2508   3664   
        /// Consumes the value, returning the underlying [`i64`].
 2509   3665   
        pub fn into_inner(self) -> i64 {
 2510   3666   
            self.0
 2511   3667   
        }
 2512   3668   
    }
 2513   3669   
 2514   3670   
    impl crate::constrained::Constrained for MaxLong {
 2515   3671   
        type Unconstrained = i64;
 2516   3672   
    }
 2517   3673   
 2518   3674   
    impl ::std::convert::From<i64>
 2519   3675   
        for crate::constrained::MaybeConstrained<
 2520   3676   
            crate::input::malformed_range_override_input::MaxLong,
 2521   3677   
        >
 2522   3678   
    {
 2523   3679   
        fn from(value: i64) -> Self {
 2524   3680   
            Self::Unconstrained(value)
 2525   3681   
        }
 2526   3682   
    }
 2527   3683   
 2528   3684   
    impl ::std::fmt::Display for MaxLong {
 2529   3685   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2530   3686   
            self.0.fmt(f)
 2531   3687   
        }
 2532   3688   
    }
 2533   3689   
 2534   3690   
    impl ::std::convert::From<MaxLong> for i64 {
 2535   3691   
        fn from(value: MaxLong) -> Self {
 2536   3692   
            value.into_inner()
 2537   3693   
        }
 2538   3694   
    }
        3695  +
    /* TraitInfo.kt:41 */
 2539   3696   
    impl MaxLong {
 2540   3697   
        fn check_range(
 2541   3698   
            value: i64,
 2542   3699   
        ) -> ::std::result::Result<
 2543   3700   
            (),
 2544   3701   
            crate::input::malformed_range_override_input::max_long::ConstraintViolation,
 2545   3702   
        > {
 2546   3703   
            if value <= 6 {
 2547   3704   
                Ok(())
 2548   3705   
            } else {
 2549   3706   
                Err(crate::input::malformed_range_override_input::max_long::ConstraintViolation::Range(value))
 2550   3707   
            }
 2551   3708   
        }
 2552   3709   
    }
        3710  +
    /* TraitInfo.kt:57 */
 2553   3711   
    impl ::std::convert::TryFrom<i64> for MaxLong {
 2554   3712   
        type Error = crate::input::malformed_range_override_input::max_long::ConstraintViolation;
 2555   3713   
 2556   3714   
        /// Constructs a `MaxLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 2557   3715   
        fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 2558   3716   
            Self::check_range(value)?;
 2559   3717   
 2560   3718   
            Ok(Self(value))
 2561   3719   
        }
 2562   3720   
    }
        3721  +
    /* ConstrainedNumberGenerator.kt:82 */
 2563   3722   
    #[allow(missing_docs)] // documentation missing in model
 2564         -
    ///
        3723  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2565   3724   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2566   3725   
    /// [constraint traits]. Use [`MinLong::try_from`] to construct values of this type.
 2567   3726   
    ///
 2568   3727   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2569   3728   
    ///
        3729  +
    /* RustType.kt:516 */
 2570   3730   
    #[derive(
 2571   3731   
        ::std::clone::Clone,
 2572   3732   
        ::std::cmp::Eq,
 2573   3733   
        ::std::cmp::PartialEq,
 2574   3734   
        ::std::fmt::Debug,
 2575   3735   
        ::std::hash::Hash,
 2576   3736   
    )]
 2577         -
    pub struct MinLong(pub(crate) i64);
        3737  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MinLong(pub(crate) i64);
        3738  +
    /* ConstrainedNumberGenerator.kt:91 */
 2578   3739   
    impl MinLong {
 2579   3740   
        /// Returns an immutable reference to the underlying [`i64`].
 2580   3741   
        pub fn inner(&self) -> &i64 {
 2581   3742   
            &self.0
 2582   3743   
        }
 2583   3744   
 2584   3745   
        /// Consumes the value, returning the underlying [`i64`].
 2585   3746   
        pub fn into_inner(self) -> i64 {
 2586   3747   
            self.0
 2587   3748   
        }
 2588   3749   
    }
 2589   3750   
 2590   3751   
    impl crate::constrained::Constrained for MinLong {
 2591   3752   
        type Unconstrained = i64;
 2592   3753   
    }
 2593   3754   
 2594   3755   
    impl ::std::convert::From<i64>
 2595   3756   
        for crate::constrained::MaybeConstrained<
 2596   3757   
            crate::input::malformed_range_override_input::MinLong,
 2597   3758   
        >
 2598   3759   
    {
 2599   3760   
        fn from(value: i64) -> Self {
 2600   3761   
            Self::Unconstrained(value)
 2601   3762   
        }
 2602   3763   
    }
 2603   3764   
 2604   3765   
    impl ::std::fmt::Display for MinLong {
 2605   3766   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2606   3767   
            self.0.fmt(f)
 2607   3768   
        }
 2608   3769   
    }
 2609   3770   
 2610   3771   
    impl ::std::convert::From<MinLong> for i64 {
 2611   3772   
        fn from(value: MinLong) -> Self {
 2612   3773   
            value.into_inner()
 2613   3774   
        }
 2614   3775   
    }
        3776  +
    /* TraitInfo.kt:41 */
 2615   3777   
    impl MinLong {
 2616   3778   
        fn check_range(
 2617   3779   
            value: i64,
 2618   3780   
        ) -> ::std::result::Result<
 2619   3781   
            (),
 2620   3782   
            crate::input::malformed_range_override_input::min_long::ConstraintViolation,
 2621   3783   
        > {
 2622   3784   
            if 4 <= value {
 2623   3785   
                Ok(())
 2624   3786   
            } else {
 2625   3787   
                Err(crate::input::malformed_range_override_input::min_long::ConstraintViolation::Range(value))
 2626   3788   
            }
 2627   3789   
        }
 2628   3790   
    }
        3791  +
    /* TraitInfo.kt:57 */
 2629   3792   
    impl ::std::convert::TryFrom<i64> for MinLong {
 2630   3793   
        type Error = crate::input::malformed_range_override_input::min_long::ConstraintViolation;
 2631   3794   
 2632   3795   
        /// Constructs a `MinLong` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 2633   3796   
        fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 2634   3797   
            Self::check_range(value)?;
 2635   3798   
 2636   3799   
            Ok(Self(value))
 2637   3800   
        }
 2638   3801   
    }
        3802  +
    /* ConstrainedNumberGenerator.kt:82 */
 2639   3803   
    #[allow(missing_docs)] // documentation missing in model
 2640         -
    ///
        3804  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2641   3805   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2642   3806   
    /// [constraint traits]. Use [`Long::try_from`] to construct values of this type.
 2643   3807   
    ///
 2644   3808   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2645   3809   
    ///
        3810  +
    /* RustType.kt:516 */
 2646   3811   
    #[derive(
 2647   3812   
        ::std::clone::Clone,
 2648   3813   
        ::std::cmp::Eq,
 2649   3814   
        ::std::cmp::PartialEq,
 2650   3815   
        ::std::fmt::Debug,
 2651   3816   
        ::std::hash::Hash,
 2652   3817   
    )]
 2653         -
    pub struct Long(pub(crate) i64);
        3818  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct Long(pub(crate) i64);
        3819  +
    /* ConstrainedNumberGenerator.kt:91 */
 2654   3820   
    impl Long {
 2655   3821   
        /// Returns an immutable reference to the underlying [`i64`].
 2656   3822   
        pub fn inner(&self) -> &i64 {
 2657   3823   
            &self.0
 2658   3824   
        }
 2659   3825   
 2660   3826   
        /// Consumes the value, returning the underlying [`i64`].
 2661   3827   
        pub fn into_inner(self) -> i64 {
 2662   3828   
            self.0
 2663   3829   
        }
 2664   3830   
    }
 2665   3831   
 2666   3832   
    impl crate::constrained::Constrained for Long {
 2667   3833   
        type Unconstrained = i64;
 2668   3834   
    }
 2669   3835   
 2670   3836   
    impl ::std::convert::From<i64>
 2671   3837   
        for crate::constrained::MaybeConstrained<crate::input::malformed_range_override_input::Long>
 2672   3838   
    {
 2673   3839   
        fn from(value: i64) -> Self {
 2674   3840   
            Self::Unconstrained(value)
 2675   3841   
        }
 2676   3842   
    }
 2677   3843   
 2678   3844   
    impl ::std::fmt::Display for Long {
 2679   3845   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2680   3846   
            self.0.fmt(f)
 2681   3847   
        }
 2682   3848   
    }
 2683   3849   
 2684   3850   
    impl ::std::convert::From<Long> for i64 {
 2685   3851   
        fn from(value: Long) -> Self {
 2686   3852   
            value.into_inner()
 2687   3853   
        }
 2688   3854   
    }
        3855  +
    /* TraitInfo.kt:41 */
 2689   3856   
    impl Long {
 2690   3857   
        fn check_range(
 2691   3858   
            value: i64,
 2692   3859   
        ) -> ::std::result::Result<
 2693   3860   
            (),
 2694   3861   
            crate::input::malformed_range_override_input::long::ConstraintViolation,
 2695   3862   
        > {
 2696   3863   
            if (4..=6).contains(&value) {
 2697   3864   
                Ok(())
 2698   3865   
            } else {
 2699   3866   
                Err(
 2700   3867   
                    crate::input::malformed_range_override_input::long::ConstraintViolation::Range(
 2701   3868   
                        value,
 2702   3869   
                    ),
 2703   3870   
                )
 2704   3871   
            }
 2705   3872   
        }
 2706   3873   
    }
        3874  +
    /* TraitInfo.kt:57 */
 2707   3875   
    impl ::std::convert::TryFrom<i64> for Long {
 2708   3876   
        type Error = crate::input::malformed_range_override_input::long::ConstraintViolation;
 2709   3877   
 2710   3878   
        /// Constructs a `Long` from an [`i64`], failing when the provided value does not satisfy the modeled constraints.
 2711   3879   
        fn try_from(value: i64) -> ::std::result::Result<Self, Self::Error> {
 2712   3880   
            Self::check_range(value)?;
 2713   3881   
 2714   3882   
            Ok(Self(value))
 2715   3883   
        }
 2716   3884   
    }
        3885  +
    /* ConstrainedNumberGenerator.kt:82 */
 2717   3886   
    #[allow(missing_docs)] // documentation missing in model
 2718         -
    ///
        3887  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2719   3888   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2720   3889   
    /// [constraint traits]. Use [`MaxInteger::try_from`] to construct values of this type.
 2721   3890   
    ///
 2722   3891   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2723   3892   
    ///
        3893  +
    /* RustType.kt:516 */
 2724   3894   
    #[derive(
 2725   3895   
        ::std::clone::Clone,
 2726   3896   
        ::std::cmp::Eq,
 2727   3897   
        ::std::cmp::PartialEq,
 2728   3898   
        ::std::fmt::Debug,
 2729   3899   
        ::std::hash::Hash,
 2730   3900   
    )]
 2731         -
    pub struct MaxInteger(pub(crate) i32);
        3901  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxInteger(pub(crate) i32);
        3902  +
    /* ConstrainedNumberGenerator.kt:91 */
 2732   3903   
    impl MaxInteger {
 2733   3904   
        /// Returns an immutable reference to the underlying [`i32`].
 2734   3905   
        pub fn inner(&self) -> &i32 {
 2735   3906   
            &self.0
 2736   3907   
        }
 2737   3908   
 2738   3909   
        /// Consumes the value, returning the underlying [`i32`].
 2739   3910   
        pub fn into_inner(self) -> i32 {
 2740   3911   
            self.0
 2741   3912   
        }
 2742   3913   
    }
 2743   3914   
 2744   3915   
    impl crate::constrained::Constrained for MaxInteger {
 2745   3916   
        type Unconstrained = i32;
 2746   3917   
    }
 2747   3918   
 2748   3919   
    impl ::std::convert::From<i32>
 2749   3920   
        for crate::constrained::MaybeConstrained<
 2750   3921   
            crate::input::malformed_range_override_input::MaxInteger,
 2751   3922   
        >
 2752   3923   
    {
 2753   3924   
        fn from(value: i32) -> Self {
 2754   3925   
            Self::Unconstrained(value)
 2755   3926   
        }
 2756   3927   
    }
 2757   3928   
 2758   3929   
    impl ::std::fmt::Display for MaxInteger {
 2759   3930   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2760   3931   
            self.0.fmt(f)
 2761   3932   
        }
 2762   3933   
    }
 2763   3934   
 2764   3935   
    impl ::std::convert::From<MaxInteger> for i32 {
 2765   3936   
        fn from(value: MaxInteger) -> Self {
 2766   3937   
            value.into_inner()
 2767   3938   
        }
 2768   3939   
    }
        3940  +
    /* TraitInfo.kt:41 */
 2769   3941   
    impl MaxInteger {
 2770   3942   
        fn check_range(
 2771   3943   
            value: i32,
 2772   3944   
        ) -> ::std::result::Result<
 2773   3945   
            (),
 2774   3946   
            crate::input::malformed_range_override_input::max_integer::ConstraintViolation,
 2775   3947   
        > {
 2776   3948   
            if value <= 6 {
 2777   3949   
                Ok(())
 2778   3950   
            } else {
 2779   3951   
                Err(crate::input::malformed_range_override_input::max_integer::ConstraintViolation::Range(value))
 2780   3952   
            }
 2781   3953   
        }
 2782   3954   
    }
        3955  +
    /* TraitInfo.kt:57 */
 2783   3956   
    impl ::std::convert::TryFrom<i32> for MaxInteger {
 2784   3957   
        type Error = crate::input::malformed_range_override_input::max_integer::ConstraintViolation;
 2785   3958   
 2786   3959   
        /// Constructs a `MaxInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 2787   3960   
        fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 2788   3961   
            Self::check_range(value)?;
 2789   3962   
 2790   3963   
            Ok(Self(value))
 2791   3964   
        }
 2792   3965   
    }
        3966  +
    /* ConstrainedNumberGenerator.kt:82 */
 2793   3967   
    #[allow(missing_docs)] // documentation missing in model
 2794         -
    ///
        3968  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2795   3969   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2796   3970   
    /// [constraint traits]. Use [`MinInteger::try_from`] to construct values of this type.
 2797   3971   
    ///
 2798   3972   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2799   3973   
    ///
        3974  +
    /* RustType.kt:516 */
 2800   3975   
    #[derive(
 2801   3976   
        ::std::clone::Clone,
 2802   3977   
        ::std::cmp::Eq,
 2803   3978   
        ::std::cmp::PartialEq,
 2804   3979   
        ::std::fmt::Debug,
 2805   3980   
        ::std::hash::Hash,
 2806   3981   
    )]
 2807         -
    pub struct MinInteger(pub(crate) i32);
        3982  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MinInteger(pub(crate) i32);
        3983  +
    /* ConstrainedNumberGenerator.kt:91 */
 2808   3984   
    impl MinInteger {
 2809   3985   
        /// Returns an immutable reference to the underlying [`i32`].
 2810   3986   
        pub fn inner(&self) -> &i32 {
 2811   3987   
            &self.0
 2812   3988   
        }
 2813   3989   
 2814   3990   
        /// Consumes the value, returning the underlying [`i32`].
 2815   3991   
        pub fn into_inner(self) -> i32 {
 2816   3992   
            self.0
 2817   3993   
        }
 2818   3994   
    }
 2819   3995   
 2820   3996   
    impl crate::constrained::Constrained for MinInteger {
 2821   3997   
        type Unconstrained = i32;
 2822   3998   
    }
 2823   3999   
 2824   4000   
    impl ::std::convert::From<i32>
 2825   4001   
        for crate::constrained::MaybeConstrained<
 2826   4002   
            crate::input::malformed_range_override_input::MinInteger,
 2827   4003   
        >
 2828   4004   
    {
 2829   4005   
        fn from(value: i32) -> Self {
 2830   4006   
            Self::Unconstrained(value)
 2831   4007   
        }
 2832   4008   
    }
 2833   4009   
 2834   4010   
    impl ::std::fmt::Display for MinInteger {
 2835   4011   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2836   4012   
            self.0.fmt(f)
 2837   4013   
        }
 2838   4014   
    }
 2839   4015   
 2840   4016   
    impl ::std::convert::From<MinInteger> for i32 {
 2841   4017   
        fn from(value: MinInteger) -> Self {
 2842   4018   
            value.into_inner()
 2843   4019   
        }
 2844   4020   
    }
        4021  +
    /* TraitInfo.kt:41 */
 2845   4022   
    impl MinInteger {
 2846   4023   
        fn check_range(
 2847   4024   
            value: i32,
 2848   4025   
        ) -> ::std::result::Result<
 2849   4026   
            (),
 2850   4027   
            crate::input::malformed_range_override_input::min_integer::ConstraintViolation,
 2851   4028   
        > {
 2852   4029   
            if 4 <= value {
 2853   4030   
                Ok(())
 2854   4031   
            } else {
 2855   4032   
                Err(crate::input::malformed_range_override_input::min_integer::ConstraintViolation::Range(value))
 2856   4033   
            }
 2857   4034   
        }
 2858   4035   
    }
        4036  +
    /* TraitInfo.kt:57 */
 2859   4037   
    impl ::std::convert::TryFrom<i32> for MinInteger {
 2860   4038   
        type Error = crate::input::malformed_range_override_input::min_integer::ConstraintViolation;
 2861   4039   
 2862   4040   
        /// Constructs a `MinInteger` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 2863   4041   
        fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 2864   4042   
            Self::check_range(value)?;
 2865   4043   
 2866   4044   
            Ok(Self(value))
 2867   4045   
        }
 2868   4046   
    }
        4047  +
    /* ConstrainedNumberGenerator.kt:82 */
 2869   4048   
    #[allow(missing_docs)] // documentation missing in model
 2870         -
    ///
        4049  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2871   4050   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2872   4051   
    /// [constraint traits]. Use [`Integer::try_from`] to construct values of this type.
 2873   4052   
    ///
 2874   4053   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2875   4054   
    ///
        4055  +
    /* RustType.kt:516 */
 2876   4056   
    #[derive(
 2877   4057   
        ::std::clone::Clone,
 2878   4058   
        ::std::cmp::Eq,
 2879   4059   
        ::std::cmp::PartialEq,
 2880   4060   
        ::std::fmt::Debug,
 2881   4061   
        ::std::hash::Hash,
 2882   4062   
    )]
 2883         -
    pub struct Integer(pub(crate) i32);
        4063  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct Integer(pub(crate) i32);
        4064  +
    /* ConstrainedNumberGenerator.kt:91 */
 2884   4065   
    impl Integer {
 2885   4066   
        /// Returns an immutable reference to the underlying [`i32`].
 2886   4067   
        pub fn inner(&self) -> &i32 {
 2887   4068   
            &self.0
 2888   4069   
        }
 2889   4070   
 2890   4071   
        /// Consumes the value, returning the underlying [`i32`].
 2891   4072   
        pub fn into_inner(self) -> i32 {
 2892   4073   
            self.0
 2893   4074   
        }
 2894   4075   
    }
 2895   4076   
 2896   4077   
    impl crate::constrained::Constrained for Integer {
 2897   4078   
        type Unconstrained = i32;
 2898   4079   
    }
 2899   4080   
 2900   4081   
    impl ::std::convert::From<i32>
 2901   4082   
        for crate::constrained::MaybeConstrained<
 2902   4083   
            crate::input::malformed_range_override_input::Integer,
 2903   4084   
        >
 2904   4085   
    {
 2905   4086   
        fn from(value: i32) -> Self {
 2906   4087   
            Self::Unconstrained(value)
 2907   4088   
        }
 2908   4089   
    }
 2909   4090   
 2910   4091   
    impl ::std::fmt::Display for Integer {
 2911   4092   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2912   4093   
            self.0.fmt(f)
 2913   4094   
        }
 2914   4095   
    }
 2915   4096   
 2916   4097   
    impl ::std::convert::From<Integer> for i32 {
 2917   4098   
        fn from(value: Integer) -> Self {
 2918   4099   
            value.into_inner()
 2919   4100   
        }
 2920   4101   
    }
        4102  +
    /* TraitInfo.kt:41 */
 2921   4103   
    impl Integer {
 2922   4104   
        fn check_range(
 2923   4105   
            value: i32,
 2924   4106   
        ) -> ::std::result::Result<
 2925   4107   
            (),
 2926   4108   
            crate::input::malformed_range_override_input::integer::ConstraintViolation,
 2927   4109   
        > {
 2928   4110   
            if (4..=6).contains(&value) {
 2929   4111   
                Ok(())
 2930   4112   
            } else {
 2931   4113   
                Err(crate::input::malformed_range_override_input::integer::ConstraintViolation::Range(value))
 2932   4114   
            }
 2933   4115   
        }
 2934   4116   
    }
        4117  +
    /* TraitInfo.kt:57 */
 2935   4118   
    impl ::std::convert::TryFrom<i32> for Integer {
 2936   4119   
        type Error = crate::input::malformed_range_override_input::integer::ConstraintViolation;
 2937   4120   
 2938   4121   
        /// Constructs a `Integer` from an [`i32`], failing when the provided value does not satisfy the modeled constraints.
 2939   4122   
        fn try_from(value: i32) -> ::std::result::Result<Self, Self::Error> {
 2940   4123   
            Self::check_range(value)?;
 2941   4124   
 2942   4125   
            Ok(Self(value))
 2943   4126   
        }
 2944   4127   
    }
        4128  +
    /* ConstrainedNumberGenerator.kt:82 */
 2945   4129   
    #[allow(missing_docs)] // documentation missing in model
 2946         -
    ///
        4130  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 2947   4131   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 2948   4132   
    /// [constraint traits]. Use [`MaxShort::try_from`] to construct values of this type.
 2949   4133   
    ///
 2950   4134   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 2951   4135   
    ///
        4136  +
    /* RustType.kt:516 */
 2952   4137   
    #[derive(
 2953   4138   
        ::std::clone::Clone,
 2954   4139   
        ::std::cmp::Eq,
 2955   4140   
        ::std::cmp::PartialEq,
 2956   4141   
        ::std::fmt::Debug,
 2957   4142   
        ::std::hash::Hash,
 2958   4143   
    )]
 2959         -
    pub struct MaxShort(pub(crate) i16);
        4144  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxShort(pub(crate) i16);
        4145  +
    /* ConstrainedNumberGenerator.kt:91 */
 2960   4146   
    impl MaxShort {
 2961   4147   
        /// Returns an immutable reference to the underlying [`i16`].
 2962   4148   
        pub fn inner(&self) -> &i16 {
 2963   4149   
            &self.0
 2964   4150   
        }
 2965   4151   
 2966   4152   
        /// Consumes the value, returning the underlying [`i16`].
 2967   4153   
        pub fn into_inner(self) -> i16 {
 2968   4154   
            self.0
 2969   4155   
        }
 2970   4156   
    }
 2971   4157   
 2972   4158   
    impl crate::constrained::Constrained for MaxShort {
 2973   4159   
        type Unconstrained = i16;
 2974   4160   
    }
 2975   4161   
 2976   4162   
    impl ::std::convert::From<i16>
 2977   4163   
        for crate::constrained::MaybeConstrained<
 2978   4164   
            crate::input::malformed_range_override_input::MaxShort,
 2979   4165   
        >
 2980   4166   
    {
 2981   4167   
        fn from(value: i16) -> Self {
 2982   4168   
            Self::Unconstrained(value)
 2983   4169   
        }
 2984   4170   
    }
 2985   4171   
 2986   4172   
    impl ::std::fmt::Display for MaxShort {
 2987   4173   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 2988   4174   
            self.0.fmt(f)
 2989   4175   
        }
 2990   4176   
    }
 2991   4177   
 2992   4178   
    impl ::std::convert::From<MaxShort> for i16 {
 2993   4179   
        fn from(value: MaxShort) -> Self {
 2994   4180   
            value.into_inner()
 2995   4181   
        }
 2996   4182   
    }
        4183  +
    /* TraitInfo.kt:41 */
 2997   4184   
    impl MaxShort {
 2998   4185   
        fn check_range(
 2999   4186   
            value: i16,
 3000   4187   
        ) -> ::std::result::Result<
 3001   4188   
            (),
 3002   4189   
            crate::input::malformed_range_override_input::max_short::ConstraintViolation,
 3003   4190   
        > {
 3004   4191   
            if value <= 6 {
 3005   4192   
                Ok(())
 3006   4193   
            } else {
 3007   4194   
                Err(crate::input::malformed_range_override_input::max_short::ConstraintViolation::Range(value))
 3008   4195   
            }
 3009   4196   
        }
 3010   4197   
    }
        4198  +
    /* TraitInfo.kt:57 */
 3011   4199   
    impl ::std::convert::TryFrom<i16> for MaxShort {
 3012   4200   
        type Error = crate::input::malformed_range_override_input::max_short::ConstraintViolation;
 3013   4201   
 3014   4202   
        /// Constructs a `MaxShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 3015   4203   
        fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 3016   4204   
            Self::check_range(value)?;
 3017   4205   
 3018   4206   
            Ok(Self(value))
 3019   4207   
        }
 3020   4208   
    }
        4209  +
    /* ConstrainedNumberGenerator.kt:82 */
 3021   4210   
    #[allow(missing_docs)] // documentation missing in model
 3022         -
    ///
        4211  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 3023   4212   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3024   4213   
    /// [constraint traits]. Use [`MinShort::try_from`] to construct values of this type.
 3025   4214   
    ///
 3026   4215   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3027   4216   
    ///
        4217  +
    /* RustType.kt:516 */
 3028   4218   
    #[derive(
 3029   4219   
        ::std::clone::Clone,
 3030   4220   
        ::std::cmp::Eq,
 3031   4221   
        ::std::cmp::PartialEq,
 3032   4222   
        ::std::fmt::Debug,
 3033   4223   
        ::std::hash::Hash,
 3034   4224   
    )]
 3035         -
    pub struct MinShort(pub(crate) i16);
        4225  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MinShort(pub(crate) i16);
        4226  +
    /* ConstrainedNumberGenerator.kt:91 */
 3036   4227   
    impl MinShort {
 3037   4228   
        /// Returns an immutable reference to the underlying [`i16`].
 3038   4229   
        pub fn inner(&self) -> &i16 {
 3039   4230   
            &self.0
 3040   4231   
        }
 3041   4232   
 3042   4233   
        /// Consumes the value, returning the underlying [`i16`].
 3043   4234   
        pub fn into_inner(self) -> i16 {
 3044   4235   
            self.0
 3045   4236   
        }
 3046   4237   
    }
 3047   4238   
 3048   4239   
    impl crate::constrained::Constrained for MinShort {
 3049   4240   
        type Unconstrained = i16;
 3050   4241   
    }
 3051   4242   
 3052   4243   
    impl ::std::convert::From<i16>
 3053   4244   
        for crate::constrained::MaybeConstrained<
 3054   4245   
            crate::input::malformed_range_override_input::MinShort,
 3055   4246   
        >
 3056   4247   
    {
 3057   4248   
        fn from(value: i16) -> Self {
 3058   4249   
            Self::Unconstrained(value)
 3059   4250   
        }
 3060   4251   
    }
 3061   4252   
 3062   4253   
    impl ::std::fmt::Display for MinShort {
 3063   4254   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3064   4255   
            self.0.fmt(f)
 3065   4256   
        }
 3066   4257   
    }
 3067   4258   
 3068   4259   
    impl ::std::convert::From<MinShort> for i16 {
 3069   4260   
        fn from(value: MinShort) -> Self {
 3070   4261   
            value.into_inner()
 3071   4262   
        }
 3072   4263   
    }
        4264  +
    /* TraitInfo.kt:41 */
 3073   4265   
    impl MinShort {
 3074   4266   
        fn check_range(
 3075   4267   
            value: i16,
 3076   4268   
        ) -> ::std::result::Result<
 3077   4269   
            (),
 3078   4270   
            crate::input::malformed_range_override_input::min_short::ConstraintViolation,
 3079   4271   
        > {
 3080   4272   
            if 4 <= value {
 3081   4273   
                Ok(())
 3082   4274   
            } else {
 3083   4275   
                Err(crate::input::malformed_range_override_input::min_short::ConstraintViolation::Range(value))
 3084   4276   
            }
 3085   4277   
        }
 3086   4278   
    }
        4279  +
    /* TraitInfo.kt:57 */
 3087   4280   
    impl ::std::convert::TryFrom<i16> for MinShort {
 3088   4281   
        type Error = crate::input::malformed_range_override_input::min_short::ConstraintViolation;
 3089   4282   
 3090   4283   
        /// Constructs a `MinShort` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 3091   4284   
        fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 3092   4285   
            Self::check_range(value)?;
 3093   4286   
 3094   4287   
            Ok(Self(value))
 3095   4288   
        }
 3096   4289   
    }
        4290  +
    /* ConstrainedNumberGenerator.kt:82 */
 3097   4291   
    #[allow(missing_docs)] // documentation missing in model
 3098         -
    ///
        4292  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 3099   4293   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3100   4294   
    /// [constraint traits]. Use [`Short::try_from`] to construct values of this type.
 3101   4295   
    ///
 3102   4296   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3103   4297   
    ///
        4298  +
    /* RustType.kt:516 */
 3104   4299   
    #[derive(
 3105   4300   
        ::std::clone::Clone,
 3106   4301   
        ::std::cmp::Eq,
 3107   4302   
        ::std::cmp::PartialEq,
 3108   4303   
        ::std::fmt::Debug,
 3109   4304   
        ::std::hash::Hash,
 3110   4305   
    )]
 3111         -
    pub struct Short(pub(crate) i16);
        4306  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct Short(pub(crate) i16);
        4307  +
    /* ConstrainedNumberGenerator.kt:91 */
 3112   4308   
    impl Short {
 3113   4309   
        /// Returns an immutable reference to the underlying [`i16`].
 3114   4310   
        pub fn inner(&self) -> &i16 {
 3115   4311   
            &self.0
 3116   4312   
        }
 3117   4313   
 3118   4314   
        /// Consumes the value, returning the underlying [`i16`].
 3119   4315   
        pub fn into_inner(self) -> i16 {
 3120   4316   
            self.0
 3121   4317   
        }
 3122   4318   
    }
 3123   4319   
 3124   4320   
    impl crate::constrained::Constrained for Short {
 3125   4321   
        type Unconstrained = i16;
 3126   4322   
    }
 3127   4323   
 3128   4324   
    impl ::std::convert::From<i16>
 3129   4325   
        for crate::constrained::MaybeConstrained<
 3130   4326   
            crate::input::malformed_range_override_input::Short,
 3131   4327   
        >
 3132   4328   
    {
 3133   4329   
        fn from(value: i16) -> Self {
 3134   4330   
            Self::Unconstrained(value)
 3135   4331   
        }
 3136   4332   
    }
 3137   4333   
 3138   4334   
    impl ::std::fmt::Display for Short {
 3139   4335   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3140   4336   
            self.0.fmt(f)
 3141   4337   
        }
 3142   4338   
    }
 3143   4339   
 3144   4340   
    impl ::std::convert::From<Short> for i16 {
 3145   4341   
        fn from(value: Short) -> Self {
 3146   4342   
            value.into_inner()
 3147   4343   
        }
 3148   4344   
    }
        4345  +
    /* TraitInfo.kt:41 */
 3149   4346   
    impl Short {
 3150   4347   
        fn check_range(
 3151   4348   
            value: i16,
 3152   4349   
        ) -> ::std::result::Result<
 3153   4350   
            (),
 3154   4351   
            crate::input::malformed_range_override_input::short::ConstraintViolation,
 3155   4352   
        > {
 3156   4353   
            if (4..=6).contains(&value) {
 3157   4354   
                Ok(())
 3158   4355   
            } else {
 3159   4356   
                Err(
 3160   4357   
                    crate::input::malformed_range_override_input::short::ConstraintViolation::Range(
 3161   4358   
                        value,
 3162   4359   
                    ),
 3163   4360   
                )
 3164   4361   
            }
 3165   4362   
        }
 3166   4363   
    }
        4364  +
    /* TraitInfo.kt:57 */
 3167   4365   
    impl ::std::convert::TryFrom<i16> for Short {
 3168   4366   
        type Error = crate::input::malformed_range_override_input::short::ConstraintViolation;
 3169   4367   
 3170   4368   
        /// Constructs a `Short` from an [`i16`], failing when the provided value does not satisfy the modeled constraints.
 3171   4369   
        fn try_from(value: i16) -> ::std::result::Result<Self, Self::Error> {
 3172   4370   
            Self::check_range(value)?;
 3173   4371   
 3174   4372   
            Ok(Self(value))
 3175   4373   
        }
 3176   4374   
    }
        4375  +
    /* ConstrainedNumberGenerator.kt:82 */
 3177   4376   
    #[allow(missing_docs)] // documentation missing in model
 3178         -
    ///
        4377  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 3179   4378   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3180   4379   
    /// [constraint traits]. Use [`MaxByte::try_from`] to construct values of this type.
 3181   4380   
    ///
 3182   4381   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3183   4382   
    ///
        4383  +
    /* RustType.kt:516 */
 3184   4384   
    #[derive(
 3185   4385   
        ::std::clone::Clone,
 3186   4386   
        ::std::cmp::Eq,
 3187   4387   
        ::std::cmp::PartialEq,
 3188   4388   
        ::std::fmt::Debug,
 3189   4389   
        ::std::hash::Hash,
 3190   4390   
    )]
 3191         -
    pub struct MaxByte(pub(crate) i8);
        4391  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MaxByte(pub(crate) i8);
        4392  +
    /* ConstrainedNumberGenerator.kt:91 */
 3192   4393   
    impl MaxByte {
 3193   4394   
        /// Returns an immutable reference to the underlying [`i8`].
 3194   4395   
        pub fn inner(&self) -> &i8 {
 3195   4396   
            &self.0
 3196   4397   
        }
 3197   4398   
 3198   4399   
        /// Consumes the value, returning the underlying [`i8`].
 3199   4400   
        pub fn into_inner(self) -> i8 {
 3200   4401   
            self.0
 3201   4402   
        }
 3202   4403   
    }
 3203   4404   
 3204   4405   
    impl crate::constrained::Constrained for MaxByte {
 3205   4406   
        type Unconstrained = i8;
 3206   4407   
    }
 3207   4408   
 3208   4409   
    impl ::std::convert::From<i8>
 3209   4410   
        for crate::constrained::MaybeConstrained<
 3210   4411   
            crate::input::malformed_range_override_input::MaxByte,
 3211   4412   
        >
 3212   4413   
    {
 3213   4414   
        fn from(value: i8) -> Self {
 3214   4415   
            Self::Unconstrained(value)
 3215   4416   
        }
 3216   4417   
    }
 3217   4418   
 3218   4419   
    impl ::std::fmt::Display for MaxByte {
 3219   4420   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3220   4421   
            self.0.fmt(f)
 3221   4422   
        }
 3222   4423   
    }
 3223   4424   
 3224   4425   
    impl ::std::convert::From<MaxByte> for i8 {
 3225   4426   
        fn from(value: MaxByte) -> Self {
 3226   4427   
            value.into_inner()
 3227   4428   
        }
 3228   4429   
    }
        4430  +
    /* TraitInfo.kt:41 */
 3229   4431   
    impl MaxByte {
 3230   4432   
        fn check_range(
 3231   4433   
            value: i8,
 3232   4434   
        ) -> ::std::result::Result<
 3233   4435   
            (),
 3234   4436   
            crate::input::malformed_range_override_input::max_byte::ConstraintViolation,
 3235   4437   
        > {
 3236   4438   
            if value <= 6 {
 3237   4439   
                Ok(())
 3238   4440   
            } else {
 3239   4441   
                Err(crate::input::malformed_range_override_input::max_byte::ConstraintViolation::Range(value))
 3240   4442   
            }
 3241   4443   
        }
 3242   4444   
    }
        4445  +
    /* TraitInfo.kt:57 */
 3243   4446   
    impl ::std::convert::TryFrom<i8> for MaxByte {
 3244   4447   
        type Error = crate::input::malformed_range_override_input::max_byte::ConstraintViolation;
 3245   4448   
 3246   4449   
        /// Constructs a `MaxByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3247   4450   
        fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3248   4451   
            Self::check_range(value)?;
 3249   4452   
 3250   4453   
            Ok(Self(value))
 3251   4454   
        }
 3252   4455   
    }
        4456  +
    /* ConstrainedNumberGenerator.kt:82 */
 3253   4457   
    #[allow(missing_docs)] // documentation missing in model
 3254         -
    ///
        4458  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 3255   4459   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3256   4460   
    /// [constraint traits]. Use [`MinByte::try_from`] to construct values of this type.
 3257   4461   
    ///
 3258   4462   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3259   4463   
    ///
        4464  +
    /* RustType.kt:516 */
 3260   4465   
    #[derive(
 3261   4466   
        ::std::clone::Clone,
 3262   4467   
        ::std::cmp::Eq,
 3263   4468   
        ::std::cmp::PartialEq,
 3264   4469   
        ::std::fmt::Debug,
 3265   4470   
        ::std::hash::Hash,
 3266   4471   
    )]
 3267         -
    pub struct MinByte(pub(crate) i8);
        4472  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct MinByte(pub(crate) i8);
        4473  +
    /* ConstrainedNumberGenerator.kt:91 */
 3268   4474   
    impl MinByte {
 3269   4475   
        /// Returns an immutable reference to the underlying [`i8`].
 3270   4476   
        pub fn inner(&self) -> &i8 {
 3271   4477   
            &self.0
 3272   4478   
        }
 3273   4479   
 3274   4480   
        /// Consumes the value, returning the underlying [`i8`].
 3275   4481   
        pub fn into_inner(self) -> i8 {
 3276   4482   
            self.0
 3277   4483   
        }
 3278   4484   
    }
 3279   4485   
 3280   4486   
    impl crate::constrained::Constrained for MinByte {
 3281   4487   
        type Unconstrained = i8;
 3282   4488   
    }
 3283   4489   
 3284   4490   
    impl ::std::convert::From<i8>
 3285   4491   
        for crate::constrained::MaybeConstrained<
 3286   4492   
            crate::input::malformed_range_override_input::MinByte,
 3287   4493   
        >
 3288   4494   
    {
 3289   4495   
        fn from(value: i8) -> Self {
 3290   4496   
            Self::Unconstrained(value)
 3291   4497   
        }
 3292   4498   
    }
 3293   4499   
 3294   4500   
    impl ::std::fmt::Display for MinByte {
 3295   4501   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3296   4502   
            self.0.fmt(f)
 3297   4503   
        }
 3298   4504   
    }
 3299   4505   
 3300   4506   
    impl ::std::convert::From<MinByte> for i8 {
 3301   4507   
        fn from(value: MinByte) -> Self {
 3302   4508   
            value.into_inner()
 3303   4509   
        }
 3304   4510   
    }
        4511  +
    /* TraitInfo.kt:41 */
 3305   4512   
    impl MinByte {
 3306   4513   
        fn check_range(
 3307   4514   
            value: i8,
 3308   4515   
        ) -> ::std::result::Result<
 3309   4516   
            (),
 3310   4517   
            crate::input::malformed_range_override_input::min_byte::ConstraintViolation,
 3311   4518   
        > {
 3312   4519   
            if 4 <= value {
 3313   4520   
                Ok(())
 3314   4521   
            } else {
 3315   4522   
                Err(crate::input::malformed_range_override_input::min_byte::ConstraintViolation::Range(value))
 3316   4523   
            }
 3317   4524   
        }
 3318   4525   
    }
        4526  +
    /* TraitInfo.kt:57 */
 3319   4527   
    impl ::std::convert::TryFrom<i8> for MinByte {
 3320   4528   
        type Error = crate::input::malformed_range_override_input::min_byte::ConstraintViolation;
 3321   4529   
 3322   4530   
        /// Constructs a `MinByte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3323   4531   
        fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3324   4532   
            Self::check_range(value)?;
 3325   4533   
 3326   4534   
            Ok(Self(value))
 3327   4535   
        }
 3328   4536   
    }
        4537  +
    /* ConstrainedNumberGenerator.kt:82 */
 3329   4538   
    #[allow(missing_docs)] // documentation missing in model
 3330         -
    ///
        4539  +
    /// /* ConstrainedNumberGenerator.kt:83 */
 3331   4540   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 3332   4541   
    /// [constraint traits]. Use [`Byte::try_from`] to construct values of this type.
 3333   4542   
    ///
 3334   4543   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 3335   4544   
    ///
        4545  +
    /* RustType.kt:516 */
 3336   4546   
    #[derive(
 3337   4547   
        ::std::clone::Clone,
 3338   4548   
        ::std::cmp::Eq,
 3339   4549   
        ::std::cmp::PartialEq,
 3340   4550   
        ::std::fmt::Debug,
 3341   4551   
        ::std::hash::Hash,
 3342   4552   
    )]
 3343         -
    pub struct Byte(pub(crate) i8);
        4553  +
    pub /* ConstrainedNumberGenerator.kt:86 */ struct Byte(pub(crate) i8);
        4554  +
    /* ConstrainedNumberGenerator.kt:91 */
 3344   4555   
    impl Byte {
 3345   4556   
        /// Returns an immutable reference to the underlying [`i8`].
 3346   4557   
        pub fn inner(&self) -> &i8 {
 3347   4558   
            &self.0
 3348   4559   
        }
 3349   4560   
 3350   4561   
        /// Consumes the value, returning the underlying [`i8`].
 3351   4562   
        pub fn into_inner(self) -> i8 {
 3352   4563   
            self.0
 3353   4564   
        }
 3354   4565   
    }
 3355   4566   
 3356   4567   
    impl crate::constrained::Constrained for Byte {
 3357   4568   
        type Unconstrained = i8;
 3358   4569   
    }
 3359   4570   
 3360   4571   
    impl ::std::convert::From<i8>
 3361   4572   
        for crate::constrained::MaybeConstrained<crate::input::malformed_range_override_input::Byte>
 3362   4573   
    {
 3363   4574   
        fn from(value: i8) -> Self {
 3364   4575   
            Self::Unconstrained(value)
 3365   4576   
        }
 3366   4577   
    }
 3367   4578   
 3368   4579   
    impl ::std::fmt::Display for Byte {
 3369   4580   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3370   4581   
            self.0.fmt(f)
 3371   4582   
        }
 3372   4583   
    }
 3373   4584   
 3374   4585   
    impl ::std::convert::From<Byte> for i8 {
 3375   4586   
        fn from(value: Byte) -> Self {
 3376   4587   
            value.into_inner()
 3377   4588   
        }
 3378   4589   
    }
        4590  +
    /* TraitInfo.kt:41 */
 3379   4591   
    impl Byte {
 3380   4592   
        fn check_range(
 3381   4593   
            value: i8,
 3382   4594   
        ) -> ::std::result::Result<
 3383   4595   
            (),
 3384   4596   
            crate::input::malformed_range_override_input::byte::ConstraintViolation,
 3385   4597   
        > {
 3386   4598   
            if (4..=6).contains(&value) {
 3387   4599   
                Ok(())
 3388   4600   
            } else {
 3389   4601   
                Err(
 3390   4602   
                    crate::input::malformed_range_override_input::byte::ConstraintViolation::Range(
 3391   4603   
                        value,
 3392   4604   
                    ),
 3393   4605   
                )
 3394   4606   
            }
 3395   4607   
        }
 3396   4608   
    }
        4609  +
    /* TraitInfo.kt:57 */
 3397   4610   
    impl ::std::convert::TryFrom<i8> for Byte {
 3398   4611   
        type Error = crate::input::malformed_range_override_input::byte::ConstraintViolation;
 3399   4612   
 3400   4613   
        /// Constructs a `Byte` from an [`i8`], failing when the provided value does not satisfy the modeled constraints.
 3401   4614   
        fn try_from(value: i8) -> ::std::result::Result<Self, Self::Error> {
 3402   4615   
            Self::check_range(value)?;
 3403   4616   
 3404   4617   
            Ok(Self(value))
 3405   4618   
        }
 3406   4619   
    }
 3407   4620   
 3408   4621   
    /// See [`MalformedRangeOverrideInputMaxLong`](crate::input::malformed_range_override_input::MaxLong).
 3409   4622   
    pub mod max_long {
 3410   4623   
        4624  +
        /* ConstrainedNumberGenerator.kt:139 */
 3411   4625   
        #[derive(Debug, PartialEq)]
 3412   4626   
        pub enum ConstraintViolation {
 3413   4627   
            Range(i64),
 3414   4628   
        }
 3415   4629   
 3416   4630   
        impl ::std::fmt::Display for ConstraintViolation {
 3417   4631   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3418   4632   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMaxLong`failed to satisfy constraint: Member must be less than or equal to 6")
 3419   4633   
            }
 3420   4634   
        }
 3421   4635   
 3422   4636   
        impl ::std::error::Error for ConstraintViolation {}
        4637  +
        /* ConstrainedNumberGenerator.kt:159 */
 3423   4638   
        impl ConstraintViolation {
 3424   4639   
            pub(crate) fn as_validation_exception_field(
 3425   4640   
                self,
 3426   4641   
                path: ::std::string::String,
 3427   4642   
            ) -> crate::model::ValidationExceptionField {
 3428   4643   
                match self {
 3429   4644   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3430   4645   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 6", &path),
 3431   4646   
                                path,
 3432   4647   
                            },
 3433   4648   
                            }
 3434   4649   
            }
 3435   4650   
        }
 3436   4651   
    }
 3437   4652   
    /// See [`MalformedRangeOverrideInputMinLong`](crate::input::malformed_range_override_input::MinLong).
 3438   4653   
    pub mod min_long {
 3439   4654   
        4655  +
        /* ConstrainedNumberGenerator.kt:139 */
 3440   4656   
        #[derive(Debug, PartialEq)]
 3441   4657   
        pub enum ConstraintViolation {
 3442   4658   
            Range(i64),
 3443   4659   
        }
 3444   4660   
 3445   4661   
        impl ::std::fmt::Display for ConstraintViolation {
 3446   4662   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3447   4663   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMinLong`failed to satisfy constraint: Member must be greater than or equal to 4")
 3448   4664   
            }
 3449   4665   
        }
 3450   4666   
 3451   4667   
        impl ::std::error::Error for ConstraintViolation {}
        4668  +
        /* ConstrainedNumberGenerator.kt:159 */
 3452   4669   
        impl ConstraintViolation {
 3453   4670   
            pub(crate) fn as_validation_exception_field(
 3454   4671   
                self,
 3455   4672   
                path: ::std::string::String,
 3456   4673   
            ) -> crate::model::ValidationExceptionField {
 3457   4674   
                match self {
 3458   4675   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3459   4676   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to 4", &path),
 3460   4677   
                                path,
 3461   4678   
                            },
 3462   4679   
                            }
 3463   4680   
            }
 3464   4681   
        }
 3465   4682   
    }
 3466   4683   
    /// See [`MalformedRangeOverrideInputLong`](crate::input::malformed_range_override_input::Long).
 3467   4684   
    pub mod long {
 3468   4685   
        4686  +
        /* ConstrainedNumberGenerator.kt:139 */
 3469   4687   
        #[derive(Debug, PartialEq)]
 3470   4688   
        pub enum ConstraintViolation {
 3471   4689   
            Range(i64),
 3472   4690   
        }
 3473   4691   
 3474   4692   
        impl ::std::fmt::Display for ConstraintViolation {
 3475   4693   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3476   4694   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputLong`failed to satisfy constraint: Member must be between 4 and 6, inclusive")
 3477   4695   
            }
 3478   4696   
        }
 3479   4697   
 3480   4698   
        impl ::std::error::Error for ConstraintViolation {}
        4699  +
        /* ConstrainedNumberGenerator.kt:159 */
 3481   4700   
        impl ConstraintViolation {
 3482   4701   
            pub(crate) fn as_validation_exception_field(
 3483   4702   
                self,
 3484   4703   
                path: ::std::string::String,
 3485   4704   
            ) -> crate::model::ValidationExceptionField {
 3486   4705   
                match self {
 3487   4706   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3488   4707   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be between 4 and 6, inclusive", &path),
 3489   4708   
                                path,
 3490   4709   
                            },
 3491   4710   
                            }
 3492   4711   
            }
 3493   4712   
        }
 3494   4713   
    }
 3495   4714   
    /// See [`MalformedRangeOverrideInputMaxInteger`](crate::input::malformed_range_override_input::MaxInteger).
 3496   4715   
    pub mod max_integer {
 3497   4716   
        4717  +
        /* ConstrainedNumberGenerator.kt:139 */
 3498   4718   
        #[derive(Debug, PartialEq)]
 3499   4719   
        pub enum ConstraintViolation {
 3500   4720   
            Range(i32),
 3501   4721   
        }
 3502   4722   
 3503   4723   
        impl ::std::fmt::Display for ConstraintViolation {
 3504   4724   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3505   4725   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMaxInteger`failed to satisfy constraint: Member must be less than or equal to 6")
 3506   4726   
            }
 3507   4727   
        }
 3508   4728   
 3509   4729   
        impl ::std::error::Error for ConstraintViolation {}
        4730  +
        /* ConstrainedNumberGenerator.kt:159 */
 3510   4731   
        impl ConstraintViolation {
 3511   4732   
            pub(crate) fn as_validation_exception_field(
 3512   4733   
                self,
 3513   4734   
                path: ::std::string::String,
 3514   4735   
            ) -> crate::model::ValidationExceptionField {
 3515   4736   
                match self {
 3516   4737   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3517   4738   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 6", &path),
 3518   4739   
                                path,
 3519   4740   
                            },
 3520   4741   
                            }
 3521   4742   
            }
 3522   4743   
        }
 3523   4744   
    }
 3524   4745   
    /// See [`MalformedRangeOverrideInputMinInteger`](crate::input::malformed_range_override_input::MinInteger).
 3525   4746   
    pub mod min_integer {
 3526   4747   
        4748  +
        /* ConstrainedNumberGenerator.kt:139 */
 3527   4749   
        #[derive(Debug, PartialEq)]
 3528   4750   
        pub enum ConstraintViolation {
 3529   4751   
            Range(i32),
 3530   4752   
        }
 3531   4753   
 3532   4754   
        impl ::std::fmt::Display for ConstraintViolation {
 3533   4755   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3534   4756   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMinInteger`failed to satisfy constraint: Member must be greater than or equal to 4")
 3535   4757   
            }
 3536   4758   
        }
 3537   4759   
 3538   4760   
        impl ::std::error::Error for ConstraintViolation {}
        4761  +
        /* ConstrainedNumberGenerator.kt:159 */
 3539   4762   
        impl ConstraintViolation {
 3540   4763   
            pub(crate) fn as_validation_exception_field(
 3541   4764   
                self,
 3542   4765   
                path: ::std::string::String,
 3543   4766   
            ) -> crate::model::ValidationExceptionField {
 3544   4767   
                match self {
 3545   4768   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3546   4769   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to 4", &path),
 3547   4770   
                                path,
 3548   4771   
                            },
 3549   4772   
                            }
 3550   4773   
            }
 3551   4774   
        }
 3552   4775   
    }
 3553   4776   
    /// See [`MalformedRangeOverrideInputInteger`](crate::input::malformed_range_override_input::Integer).
 3554   4777   
    pub mod integer {
 3555   4778   
        4779  +
        /* ConstrainedNumberGenerator.kt:139 */
 3556   4780   
        #[derive(Debug, PartialEq)]
 3557   4781   
        pub enum ConstraintViolation {
 3558   4782   
            Range(i32),
 3559   4783   
        }
 3560   4784   
 3561   4785   
        impl ::std::fmt::Display for ConstraintViolation {
 3562   4786   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3563   4787   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputInteger`failed to satisfy constraint: Member must be between 4 and 6, inclusive")
 3564   4788   
            }
 3565   4789   
        }
 3566   4790   
 3567   4791   
        impl ::std::error::Error for ConstraintViolation {}
        4792  +
        /* ConstrainedNumberGenerator.kt:159 */
 3568   4793   
        impl ConstraintViolation {
 3569   4794   
            pub(crate) fn as_validation_exception_field(
 3570   4795   
                self,
 3571   4796   
                path: ::std::string::String,
 3572   4797   
            ) -> crate::model::ValidationExceptionField {
 3573   4798   
                match self {
 3574   4799   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3575   4800   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be between 4 and 6, inclusive", &path),
 3576   4801   
                                path,
 3577   4802   
                            },
 3578   4803   
                            }
 3579   4804   
            }
 3580   4805   
        }
 3581   4806   
    }
 3582   4807   
    /// See [`MalformedRangeOverrideInputMaxShort`](crate::input::malformed_range_override_input::MaxShort).
 3583   4808   
    pub mod max_short {
 3584   4809   
        4810  +
        /* ConstrainedNumberGenerator.kt:139 */
 3585   4811   
        #[derive(Debug, PartialEq)]
 3586   4812   
        pub enum ConstraintViolation {
 3587   4813   
            Range(i16),
 3588   4814   
        }
 3589   4815   
 3590   4816   
        impl ::std::fmt::Display for ConstraintViolation {
 3591   4817   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3592   4818   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMaxShort`failed to satisfy constraint: Member must be less than or equal to 6")
 3593   4819   
            }
 3594   4820   
        }
 3595   4821   
 3596   4822   
        impl ::std::error::Error for ConstraintViolation {}
        4823  +
        /* ConstrainedNumberGenerator.kt:159 */
 3597   4824   
        impl ConstraintViolation {
 3598   4825   
            pub(crate) fn as_validation_exception_field(
 3599   4826   
                self,
 3600   4827   
                path: ::std::string::String,
 3601   4828   
            ) -> crate::model::ValidationExceptionField {
 3602   4829   
                match self {
 3603   4830   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3604   4831   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 6", &path),
 3605   4832   
                                path,
 3606   4833   
                            },
 3607   4834   
                            }
 3608   4835   
            }
 3609   4836   
        }
 3610   4837   
    }
 3611   4838   
    /// See [`MalformedRangeOverrideInputMinShort`](crate::input::malformed_range_override_input::MinShort).
 3612   4839   
    pub mod min_short {
 3613   4840   
        4841  +
        /* ConstrainedNumberGenerator.kt:139 */
 3614   4842   
        #[derive(Debug, PartialEq)]
 3615   4843   
        pub enum ConstraintViolation {
 3616   4844   
            Range(i16),
 3617   4845   
        }
 3618   4846   
 3619   4847   
        impl ::std::fmt::Display for ConstraintViolation {
 3620   4848   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3621   4849   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMinShort`failed to satisfy constraint: Member must be greater than or equal to 4")
 3622   4850   
            }
 3623   4851   
        }
 3624   4852   
 3625   4853   
        impl ::std::error::Error for ConstraintViolation {}
        4854  +
        /* ConstrainedNumberGenerator.kt:159 */
 3626   4855   
        impl ConstraintViolation {
 3627   4856   
            pub(crate) fn as_validation_exception_field(
 3628   4857   
                self,
 3629   4858   
                path: ::std::string::String,
 3630   4859   
            ) -> crate::model::ValidationExceptionField {
 3631   4860   
                match self {
 3632   4861   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3633   4862   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to 4", &path),
 3634   4863   
                                path,
 3635   4864   
                            },
 3636   4865   
                            }
 3637   4866   
            }
 3638   4867   
        }
 3639   4868   
    }
 3640   4869   
    /// See [`MalformedRangeOverrideInputShort`](crate::input::malformed_range_override_input::Short).
 3641   4870   
    pub mod short {
 3642   4871   
        4872  +
        /* ConstrainedNumberGenerator.kt:139 */
 3643   4873   
        #[derive(Debug, PartialEq)]
 3644   4874   
        pub enum ConstraintViolation {
 3645   4875   
            Range(i16),
 3646   4876   
        }
 3647   4877   
 3648   4878   
        impl ::std::fmt::Display for ConstraintViolation {
 3649   4879   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3650   4880   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputShort`failed to satisfy constraint: Member must be between 4 and 6, inclusive")
 3651   4881   
            }
 3652   4882   
        }
 3653   4883   
 3654   4884   
        impl ::std::error::Error for ConstraintViolation {}
        4885  +
        /* ConstrainedNumberGenerator.kt:159 */
 3655   4886   
        impl ConstraintViolation {
 3656   4887   
            pub(crate) fn as_validation_exception_field(
 3657   4888   
                self,
 3658   4889   
                path: ::std::string::String,
 3659   4890   
            ) -> crate::model::ValidationExceptionField {
 3660   4891   
                match self {
 3661   4892   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3662   4893   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be between 4 and 6, inclusive", &path),
 3663   4894   
                                path,
 3664   4895   
                            },
 3665   4896   
                            }
 3666   4897   
            }
 3667   4898   
        }
 3668   4899   
    }
 3669   4900   
    /// See [`MalformedRangeOverrideInputMaxByte`](crate::input::malformed_range_override_input::MaxByte).
 3670   4901   
    pub mod max_byte {
 3671   4902   
        4903  +
        /* ConstrainedNumberGenerator.kt:139 */
 3672   4904   
        #[derive(Debug, PartialEq)]
 3673   4905   
        pub enum ConstraintViolation {
 3674   4906   
            Range(i8),
 3675   4907   
        }
 3676   4908   
 3677   4909   
        impl ::std::fmt::Display for ConstraintViolation {
 3678   4910   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3679   4911   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMaxByte`failed to satisfy constraint: Member must be less than or equal to 6")
 3680   4912   
            }
 3681   4913   
        }
 3682   4914   
 3683   4915   
        impl ::std::error::Error for ConstraintViolation {}
        4916  +
        /* ConstrainedNumberGenerator.kt:159 */
 3684   4917   
        impl ConstraintViolation {
 3685   4918   
            pub(crate) fn as_validation_exception_field(
 3686   4919   
                self,
 3687   4920   
                path: ::std::string::String,
 3688   4921   
            ) -> crate::model::ValidationExceptionField {
 3689   4922   
                match self {
 3690   4923   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3691   4924   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be less than or equal to 6", &path),
 3692   4925   
                                path,
 3693   4926   
                            },
 3694   4927   
                            }
 3695   4928   
            }
 3696   4929   
        }
 3697   4930   
    }
 3698   4931   
    /// See [`MalformedRangeOverrideInputMinByte`](crate::input::malformed_range_override_input::MinByte).
 3699   4932   
    pub mod min_byte {
 3700   4933   
        4934  +
        /* ConstrainedNumberGenerator.kt:139 */
 3701   4935   
        #[derive(Debug, PartialEq)]
 3702   4936   
        pub enum ConstraintViolation {
 3703   4937   
            Range(i8),
 3704   4938   
        }
 3705   4939   
 3706   4940   
        impl ::std::fmt::Display for ConstraintViolation {
 3707   4941   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3708   4942   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputMinByte`failed to satisfy constraint: Member must be greater than or equal to 4")
 3709   4943   
            }
 3710   4944   
        }
 3711   4945   
 3712   4946   
        impl ::std::error::Error for ConstraintViolation {}
        4947  +
        /* ConstrainedNumberGenerator.kt:159 */
 3713   4948   
        impl ConstraintViolation {
 3714   4949   
            pub(crate) fn as_validation_exception_field(
 3715   4950   
                self,
 3716   4951   
                path: ::std::string::String,
 3717   4952   
            ) -> crate::model::ValidationExceptionField {
 3718   4953   
                match self {
 3719   4954   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3720   4955   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be greater than or equal to 4", &path),
 3721   4956   
                                path,
 3722   4957   
                            },
 3723   4958   
                            }
 3724   4959   
            }
 3725   4960   
        }
 3726   4961   
    }
 3727   4962   
    /// See [`MalformedRangeOverrideInputByte`](crate::input::malformed_range_override_input::Byte).
 3728   4963   
    pub mod byte {
 3729   4964   
        4965  +
        /* ConstrainedNumberGenerator.kt:139 */
 3730   4966   
        #[derive(Debug, PartialEq)]
 3731   4967   
        pub enum ConstraintViolation {
 3732   4968   
            Range(i8),
 3733   4969   
        }
 3734   4970   
 3735   4971   
        impl ::std::fmt::Display for ConstraintViolation {
 3736   4972   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 3737   4973   
                write!(f, "Value for `aws.protocoltests.restjson.validation.synthetic#MalformedRangeOverrideInputByte`failed to satisfy constraint: Member must be between 4 and 6, inclusive")
 3738   4974   
            }
 3739   4975   
        }
 3740   4976   
 3741   4977   
        impl ::std::error::Error for ConstraintViolation {}
        4978  +
        /* ConstrainedNumberGenerator.kt:159 */
 3742   4979   
        impl ConstraintViolation {
 3743   4980   
            pub(crate) fn as_validation_exception_field(
 3744   4981   
                self,
 3745   4982   
                path: ::std::string::String,
 3746   4983   
            ) -> crate::model::ValidationExceptionField {
 3747   4984   
                match self {
 3748   4985   
                                Self::Range(_) => crate::model::ValidationExceptionField {
 3749   4986   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must be between 4 and 6, inclusive", &path),
 3750   4987   
                                path,
 3751   4988   
                            },
 3752   4989   
                            }
 3753   4990   
            }
 3754   4991   
        }
 3755   4992   
    }
        4993  +
        4994  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 3756   4995   
}
 3757         -
/// See [`MalformedRangeInput`](crate::input::MalformedRangeInput).
        4996  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedRangeInput`](crate::input::MalformedRangeInput).
 3758   4997   
pub mod malformed_range_input {
 3759   4998   
        4999  +
    /* RustType.kt:516 */
 3760   5000   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 3761         -
    /// Holds one variant for each of the ways the builder can fail.
        5001  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        5002  +
    /* RustType.kt:516 */
 3762   5003   
    #[non_exhaustive]
        5004  +
    /* ServerBuilderConstraintViolations.kt:75 */
 3763   5005   
    #[allow(clippy::enum_variant_names)]
 3764   5006   
    pub enum ConstraintViolation {
 3765         -
        /// Constraint violation occurred building member `byte` when building `MalformedRangeInput`.
        5007  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `byte` when building `MalformedRangeInput`.
        5008  +
        /* RustType.kt:516 */
 3766   5009   
        #[doc(hidden)]
        5010  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3767   5011   
        Byte(crate::model::range_byte::ConstraintViolation),
 3768         -
        /// Constraint violation occurred building member `min_byte` when building `MalformedRangeInput`.
        5012  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_byte` when building `MalformedRangeInput`.
        5013  +
        /* RustType.kt:516 */
 3769   5014   
        #[doc(hidden)]
        5015  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3770   5016   
        MinByte(crate::model::min_byte::ConstraintViolation),
 3771         -
        /// Constraint violation occurred building member `max_byte` when building `MalformedRangeInput`.
        5017  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_byte` when building `MalformedRangeInput`.
        5018  +
        /* RustType.kt:516 */
 3772   5019   
        #[doc(hidden)]
        5020  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3773   5021   
        MaxByte(crate::model::max_byte::ConstraintViolation),
 3774         -
        /// Constraint violation occurred building member `short` when building `MalformedRangeInput`.
        5022  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `short` when building `MalformedRangeInput`.
        5023  +
        /* RustType.kt:516 */
 3775   5024   
        #[doc(hidden)]
        5025  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3776   5026   
        Short(crate::model::range_short::ConstraintViolation),
 3777         -
        /// Constraint violation occurred building member `min_short` when building `MalformedRangeInput`.
        5027  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_short` when building `MalformedRangeInput`.
        5028  +
        /* RustType.kt:516 */
 3778   5029   
        #[doc(hidden)]
        5030  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3779   5031   
        MinShort(crate::model::min_short::ConstraintViolation),
 3780         -
        /// Constraint violation occurred building member `max_short` when building `MalformedRangeInput`.
        5032  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_short` when building `MalformedRangeInput`.
        5033  +
        /* RustType.kt:516 */
 3781   5034   
        #[doc(hidden)]
        5035  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3782   5036   
        MaxShort(crate::model::max_short::ConstraintViolation),
 3783         -
        /// Constraint violation occurred building member `integer` when building `MalformedRangeInput`.
        5037  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `integer` when building `MalformedRangeInput`.
        5038  +
        /* RustType.kt:516 */
 3784   5039   
        #[doc(hidden)]
        5040  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3785   5041   
        Integer(crate::model::range_integer::ConstraintViolation),
 3786         -
        /// Constraint violation occurred building member `min_integer` when building `MalformedRangeInput`.
        5042  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_integer` when building `MalformedRangeInput`.
        5043  +
        /* RustType.kt:516 */
 3787   5044   
        #[doc(hidden)]
        5045  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3788   5046   
        MinInteger(crate::model::min_integer::ConstraintViolation),
 3789         -
        /// Constraint violation occurred building member `max_integer` when building `MalformedRangeInput`.
        5047  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_integer` when building `MalformedRangeInput`.
        5048  +
        /* RustType.kt:516 */
 3790   5049   
        #[doc(hidden)]
        5050  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3791   5051   
        MaxInteger(crate::model::max_integer::ConstraintViolation),
 3792         -
        /// Constraint violation occurred building member `long` when building `MalformedRangeInput`.
        5052  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `long` when building `MalformedRangeInput`.
        5053  +
        /* RustType.kt:516 */
 3793   5054   
        #[doc(hidden)]
        5055  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3794   5056   
        Long(crate::model::range_long::ConstraintViolation),
 3795         -
        /// Constraint violation occurred building member `min_long` when building `MalformedRangeInput`.
        5057  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_long` when building `MalformedRangeInput`.
        5058  +
        /* RustType.kt:516 */
 3796   5059   
        #[doc(hidden)]
        5060  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3797   5061   
        MinLong(crate::model::min_long::ConstraintViolation),
 3798         -
        /// Constraint violation occurred building member `max_long` when building `MalformedRangeInput`.
        5062  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_long` when building `MalformedRangeInput`.
        5063  +
        /* RustType.kt:516 */
 3799   5064   
        #[doc(hidden)]
        5065  +
        /* ServerBuilderConstraintViolations.kt:164 */
 3800   5066   
        MaxLong(crate::model::max_long::ConstraintViolation),
        5067  +
        /* ServerBuilderConstraintViolations.kt:75 */
 3801   5068   
    }
        5069  +
    /* ServerBuilderConstraintViolations.kt:117 */
 3802   5070   
    impl ::std::fmt::Display for ConstraintViolation {
        5071  +
        /* ServerBuilderConstraintViolations.kt:118 */
 3803   5072   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5073  +
            /* ServerBuilderConstraintViolations.kt:119 */
 3804   5074   
            match self {
 3805         -
                ConstraintViolation::Byte(_) => write!(f, "constraint violation occurred building member `byte` when building `MalformedRangeInput`"),
 3806         -
                ConstraintViolation::MinByte(_) => write!(f, "constraint violation occurred building member `min_byte` when building `MalformedRangeInput`"),
 3807         -
                ConstraintViolation::MaxByte(_) => write!(f, "constraint violation occurred building member `max_byte` when building `MalformedRangeInput`"),
 3808         -
                ConstraintViolation::Short(_) => write!(f, "constraint violation occurred building member `short` when building `MalformedRangeInput`"),
 3809         -
                ConstraintViolation::MinShort(_) => write!(f, "constraint violation occurred building member `min_short` when building `MalformedRangeInput`"),
 3810         -
                ConstraintViolation::MaxShort(_) => write!(f, "constraint violation occurred building member `max_short` when building `MalformedRangeInput`"),
 3811         -
                ConstraintViolation::Integer(_) => write!(f, "constraint violation occurred building member `integer` when building `MalformedRangeInput`"),
 3812         -
                ConstraintViolation::MinInteger(_) => write!(f, "constraint violation occurred building member `min_integer` when building `MalformedRangeInput`"),
 3813         -
                ConstraintViolation::MaxInteger(_) => write!(f, "constraint violation occurred building member `max_integer` when building `MalformedRangeInput`"),
 3814         -
                ConstraintViolation::Long(_) => write!(f, "constraint violation occurred building member `long` when building `MalformedRangeInput`"),
 3815         -
                ConstraintViolation::MinLong(_) => write!(f, "constraint violation occurred building member `min_long` when building `MalformedRangeInput`"),
 3816         -
                ConstraintViolation::MaxLong(_) => write!(f, "constraint violation occurred building member `max_long` when building `MalformedRangeInput`"),
 3817         -
            }
 3818         -
        }
 3819         -
    }
        5075  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Byte(_) => write!(f, "constraint violation occurred building member `byte` when building `MalformedRangeInput`"),
        5076  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinByte(_) => write!(f, "constraint violation occurred building member `min_byte` when building `MalformedRangeInput`"),
        5077  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxByte(_) => write!(f, "constraint violation occurred building member `max_byte` when building `MalformedRangeInput`"),
        5078  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Short(_) => write!(f, "constraint violation occurred building member `short` when building `MalformedRangeInput`"),
        5079  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinShort(_) => write!(f, "constraint violation occurred building member `min_short` when building `MalformedRangeInput`"),
        5080  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxShort(_) => write!(f, "constraint violation occurred building member `max_short` when building `MalformedRangeInput`"),
        5081  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Integer(_) => write!(f, "constraint violation occurred building member `integer` when building `MalformedRangeInput`"),
        5082  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinInteger(_) => write!(f, "constraint violation occurred building member `min_integer` when building `MalformedRangeInput`"),
        5083  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxInteger(_) => write!(f, "constraint violation occurred building member `max_integer` when building `MalformedRangeInput`"),
        5084  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Long(_) => write!(f, "constraint violation occurred building member `long` when building `MalformedRangeInput`"),
        5085  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinLong(_) => write!(f, "constraint violation occurred building member `min_long` when building `MalformedRangeInput`"),
        5086  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxLong(_) => write!(f, "constraint violation occurred building member `max_long` when building `MalformedRangeInput`"),
        5087  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        5088  +
            /* ServerBuilderConstraintViolations.kt:118 */
        5089  +
        }
        5090  +
        /* ServerBuilderConstraintViolations.kt:117 */
        5091  +
    }
        5092  +
    /* ServerBuilderConstraintViolations.kt:84 */
 3820   5093   
    impl ::std::error::Error for ConstraintViolation {}
        5094  +
    /* ServerBuilderConstraintViolations.kt:171 */
 3821   5095   
    impl ConstraintViolation {
 3822   5096   
        pub(crate) fn as_validation_exception_field(
 3823   5097   
            self,
 3824   5098   
            path: ::std::string::String,
 3825   5099   
        ) -> crate::model::ValidationExceptionField {
 3826   5100   
            match self {
 3827   5101   
                ConstraintViolation::Byte(inner) => {
 3828   5102   
                    inner.as_validation_exception_field(path + "/byte")
 3829   5103   
                }
 3830   5104   
                ConstraintViolation::MinByte(inner) => {
 3831   5105   
                    inner.as_validation_exception_field(path + "/minByte")
 3832   5106   
                }
 3833   5107   
                ConstraintViolation::MaxByte(inner) => {
 3834   5108   
                    inner.as_validation_exception_field(path + "/maxByte")
 3835   5109   
                }
 3836   5110   
                ConstraintViolation::Short(inner) => {
 3837   5111   
                    inner.as_validation_exception_field(path + "/short")
 3838   5112   
                }
 3839   5113   
                ConstraintViolation::MinShort(inner) => {
 3840   5114   
                    inner.as_validation_exception_field(path + "/minShort")
 3841   5115   
                }
 3842   5116   
                ConstraintViolation::MaxShort(inner) => {
 3843   5117   
                    inner.as_validation_exception_field(path + "/maxShort")
 3844   5118   
                }
 3845   5119   
                ConstraintViolation::Integer(inner) => {
 3846   5120   
                    inner.as_validation_exception_field(path + "/integer")
 3847   5121   
                }
 3848   5122   
                ConstraintViolation::MinInteger(inner) => {
 3849   5123   
                    inner.as_validation_exception_field(path + "/minInteger")
 3850   5124   
                }
 3851   5125   
                ConstraintViolation::MaxInteger(inner) => {
 3852   5126   
                    inner.as_validation_exception_field(path + "/maxInteger")
 3853   5127   
                }
 3854   5128   
                ConstraintViolation::Long(inner) => {
 3855   5129   
                    inner.as_validation_exception_field(path + "/long")
 3856   5130   
                }
 3857   5131   
                ConstraintViolation::MinLong(inner) => {
 3858   5132   
                    inner.as_validation_exception_field(path + "/minLong")
 3859   5133   
                }
 3860   5134   
                ConstraintViolation::MaxLong(inner) => {
 3861   5135   
                    inner.as_validation_exception_field(path + "/maxLong")
 3862   5136   
                }
 3863   5137   
            }
 3864   5138   
        }
 3865   5139   
    }
        5140  +
    /* ServerBuilderGenerator.kt:234 */
 3866   5141   
    impl ::std::convert::From<ConstraintViolation>
 3867   5142   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3868   5143   
    {
 3869   5144   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3870   5145   
            let first_validation_exception_field =
 3871   5146   
                constraint_violation.as_validation_exception_field("".to_owned());
 3872   5147   
            let validation_exception = crate::error::ValidationException {
 3873   5148   
                message: format!(
 3874   5149   
                    "1 validation error detected. {}",
 3875   5150   
                    &first_validation_exception_field.message
 3876   5151   
                ),
 3877   5152   
                field_list: Some(vec![first_validation_exception_field]),
 3878   5153   
            };
 3879   5154   
            Self::ConstraintViolation(
 3880   5155   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 3881   5156   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 3882   5157   
                            )
 3883   5158   
        }
 3884   5159   
    }
        5160  +
    /* ServerBuilderGenerator.kt:244 */
 3885   5161   
    impl ::std::convert::From<Builder>
 3886   5162   
        for crate::constrained::MaybeConstrained<crate::input::MalformedRangeInput>
 3887   5163   
    {
 3888   5164   
        fn from(builder: Builder) -> Self {
 3889   5165   
            Self::Unconstrained(builder)
 3890   5166   
        }
 3891   5167   
    }
        5168  +
    /* ServerBuilderGenerator.kt:446 */
 3892   5169   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedRangeInput {
 3893   5170   
        type Error = ConstraintViolation;
 3894   5171   
 3895   5172   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 3896   5173   
            builder.build()
 3897   5174   
        }
 3898   5175   
    }
 3899         -
    /// A builder for [`MalformedRangeInput`](crate::input::MalformedRangeInput).
        5176  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedRangeInput`](crate::input::MalformedRangeInput).
        5177  +
    /* RustType.kt:516 */
 3900   5178   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        5179  +
    /* ServerBuilderGenerator.kt:211 */
 3901   5180   
    pub struct Builder {
        5181  +
        /* ServerBuilderGenerator.kt:308 */
 3902   5182   
        pub(crate) byte:
 3903   5183   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
        5184  +
        /* ServerBuilderGenerator.kt:308 */
 3904   5185   
        pub(crate) min_byte:
 3905   5186   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinByte>>,
        5187  +
        /* ServerBuilderGenerator.kt:308 */
 3906   5188   
        pub(crate) max_byte:
 3907   5189   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxByte>>,
        5190  +
        /* ServerBuilderGenerator.kt:308 */
 3908   5191   
        pub(crate) short:
 3909   5192   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeShort>>,
        5193  +
        /* ServerBuilderGenerator.kt:308 */
 3910   5194   
        pub(crate) min_short:
 3911   5195   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinShort>>,
        5196  +
        /* ServerBuilderGenerator.kt:308 */
 3912   5197   
        pub(crate) max_short:
 3913   5198   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxShort>>,
        5199  +
        /* ServerBuilderGenerator.kt:308 */
 3914   5200   
        pub(crate) integer:
 3915   5201   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeInteger>>,
        5202  +
        /* ServerBuilderGenerator.kt:308 */
 3916   5203   
        pub(crate) min_integer:
 3917   5204   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinInteger>>,
        5205  +
        /* ServerBuilderGenerator.kt:308 */
 3918   5206   
        pub(crate) max_integer:
 3919   5207   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxInteger>>,
        5208  +
        /* ServerBuilderGenerator.kt:308 */
 3920   5209   
        pub(crate) long:
 3921   5210   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
        5211  +
        /* ServerBuilderGenerator.kt:308 */
 3922   5212   
        pub(crate) min_long:
 3923   5213   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MinLong>>,
        5214  +
        /* ServerBuilderGenerator.kt:308 */
 3924   5215   
        pub(crate) max_long:
 3925   5216   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::MaxLong>>,
 3926         -
        pub(crate) float: ::std::option::Option<f32>,
 3927         -
        pub(crate) min_float: ::std::option::Option<f32>,
        5217  +
        /* ServerBuilderGenerator.kt:308 */ pub(crate) float: ::std::option::Option<f32>,
        5218  +
        /* ServerBuilderGenerator.kt:308 */ pub(crate) min_float: ::std::option::Option<f32>,
        5219  +
        /* ServerBuilderGenerator.kt:308 */
 3928   5220   
        pub(crate) max_float: ::std::option::Option<f32>,
        5221  +
        /* ServerBuilderGenerator.kt:211 */
 3929   5222   
    }
        5223  +
    /* ServerBuilderGenerator.kt:215 */
 3930   5224   
    impl Builder {
        5225  +
        /* ServerBuilderGenerator.kt:331 */
 3931   5226   
        #[allow(missing_docs)] // documentation missing in model
        5227  +
                               /* ServerBuilderGenerator.kt:343 */
 3932   5228   
        pub fn byte(mut self, input: ::std::option::Option<crate::model::RangeByte>) -> Self {
 3933         -
            self.byte = input.map(
 3934         -
                #[allow(clippy::redundant_closure)]
 3935         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3936         -
            );
        5229  +
            /* ServerBuilderGenerator.kt:344 */
        5230  +
            self.byte =
        5231  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5232  +
            /* ServerBuilderGenerator.kt:344 */;
 3937   5233   
            self
        5234  +
            /* ServerBuilderGenerator.kt:343 */
 3938   5235   
        }
        5236  +
        /* ServerBuilderGenerator.kt:426 */
 3939   5237   
        #[allow(missing_docs)] // documentation missing in model
        5238  +
                               /* ServerBuilderGenerator.kt:428 */
 3940   5239   
        pub(crate) fn set_byte(
 3941   5240   
            mut self,
 3942   5241   
            input: Option<
 3943   5242   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::RangeByte>>,
 3944   5243   
            >,
 3945   5244   
        ) -> Self {
        5245  +
            /* ServerBuilderGenerator.kt:429 */
 3946   5246   
            self.byte = input.map(|v| v.into());
 3947   5247   
            self
        5248  +
            /* ServerBuilderGenerator.kt:428 */
 3948   5249   
        }
        5250  +
        /* ServerBuilderGenerator.kt:331 */
 3949   5251   
        #[allow(missing_docs)] // documentation missing in model
        5252  +
                               /* ServerBuilderGenerator.kt:343 */
 3950   5253   
        pub fn min_byte(mut self, input: ::std::option::Option<crate::model::MinByte>) -> Self {
 3951         -
            self.min_byte = input.map(
 3952         -
                #[allow(clippy::redundant_closure)]
 3953         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3954         -
            );
        5254  +
            /* ServerBuilderGenerator.kt:344 */
        5255  +
            self.min_byte =
        5256  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5257  +
            /* ServerBuilderGenerator.kt:344 */;
 3955   5258   
            self
        5259  +
            /* ServerBuilderGenerator.kt:343 */
 3956   5260   
        }
        5261  +
        /* ServerBuilderGenerator.kt:426 */
 3957   5262   
        #[allow(missing_docs)] // documentation missing in model
        5263  +
                               /* ServerBuilderGenerator.kt:428 */
 3958   5264   
        pub(crate) fn set_min_byte(
 3959   5265   
            mut self,
 3960   5266   
            input: Option<
 3961   5267   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MinByte>>,
 3962   5268   
            >,
 3963   5269   
        ) -> Self {
        5270  +
            /* ServerBuilderGenerator.kt:429 */
 3964   5271   
            self.min_byte = input.map(|v| v.into());
 3965   5272   
            self
        5273  +
            /* ServerBuilderGenerator.kt:428 */
 3966   5274   
        }
        5275  +
        /* ServerBuilderGenerator.kt:331 */
 3967   5276   
        #[allow(missing_docs)] // documentation missing in model
        5277  +
                               /* ServerBuilderGenerator.kt:343 */
 3968   5278   
        pub fn max_byte(mut self, input: ::std::option::Option<crate::model::MaxByte>) -> Self {
 3969         -
            self.max_byte = input.map(
 3970         -
                #[allow(clippy::redundant_closure)]
 3971         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3972         -
            );
        5279  +
            /* ServerBuilderGenerator.kt:344 */
        5280  +
            self.max_byte =
        5281  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5282  +
            /* ServerBuilderGenerator.kt:344 */;
 3973   5283   
            self
        5284  +
            /* ServerBuilderGenerator.kt:343 */
 3974   5285   
        }
        5286  +
        /* ServerBuilderGenerator.kt:426 */
 3975   5287   
        #[allow(missing_docs)] // documentation missing in model
        5288  +
                               /* ServerBuilderGenerator.kt:428 */
 3976   5289   
        pub(crate) fn set_max_byte(
 3977   5290   
            mut self,
 3978   5291   
            input: Option<
 3979   5292   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MaxByte>>,
 3980   5293   
            >,
 3981   5294   
        ) -> Self {
        5295  +
            /* ServerBuilderGenerator.kt:429 */
 3982   5296   
            self.max_byte = input.map(|v| v.into());
 3983   5297   
            self
        5298  +
            /* ServerBuilderGenerator.kt:428 */
 3984   5299   
        }
        5300  +
        /* ServerBuilderGenerator.kt:331 */
 3985   5301   
        #[allow(missing_docs)] // documentation missing in model
        5302  +
                               /* ServerBuilderGenerator.kt:343 */
 3986   5303   
        pub fn short(mut self, input: ::std::option::Option<crate::model::RangeShort>) -> Self {
 3987         -
            self.short = input.map(
 3988         -
                #[allow(clippy::redundant_closure)]
 3989         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 3990         -
            );
        5304  +
            /* ServerBuilderGenerator.kt:344 */
        5305  +
            self.short =
        5306  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5307  +
            /* ServerBuilderGenerator.kt:344 */;
 3991   5308   
            self
        5309  +
            /* ServerBuilderGenerator.kt:343 */
 3992   5310   
        }
        5311  +
        /* ServerBuilderGenerator.kt:426 */
 3993   5312   
        #[allow(missing_docs)] // documentation missing in model
        5313  +
                               /* ServerBuilderGenerator.kt:428 */
 3994   5314   
        pub(crate) fn set_short(
 3995   5315   
            mut self,
 3996   5316   
            input: Option<
 3997   5317   
                impl ::std::convert::Into<
 3998   5318   
                    crate::constrained::MaybeConstrained<crate::model::RangeShort>,
 3999   5319   
                >,
 4000   5320   
            >,
 4001   5321   
        ) -> Self {
        5322  +
            /* ServerBuilderGenerator.kt:429 */
 4002   5323   
            self.short = input.map(|v| v.into());
 4003   5324   
            self
        5325  +
            /* ServerBuilderGenerator.kt:428 */
 4004   5326   
        }
        5327  +
        /* ServerBuilderGenerator.kt:331 */
 4005   5328   
        #[allow(missing_docs)] // documentation missing in model
        5329  +
                               /* ServerBuilderGenerator.kt:343 */
 4006   5330   
        pub fn min_short(mut self, input: ::std::option::Option<crate::model::MinShort>) -> Self {
 4007         -
            self.min_short = input.map(
 4008         -
                #[allow(clippy::redundant_closure)]
 4009         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4010         -
            );
        5331  +
            /* ServerBuilderGenerator.kt:344 */
        5332  +
            self.min_short =
        5333  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5334  +
            /* ServerBuilderGenerator.kt:344 */;
 4011   5335   
            self
        5336  +
            /* ServerBuilderGenerator.kt:343 */
 4012   5337   
        }
        5338  +
        /* ServerBuilderGenerator.kt:426 */
 4013   5339   
        #[allow(missing_docs)] // documentation missing in model
        5340  +
                               /* ServerBuilderGenerator.kt:428 */
 4014   5341   
        pub(crate) fn set_min_short(
 4015   5342   
            mut self,
 4016   5343   
            input: Option<
 4017   5344   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MinShort>>,
 4018   5345   
            >,
 4019   5346   
        ) -> Self {
        5347  +
            /* ServerBuilderGenerator.kt:429 */
 4020   5348   
            self.min_short = input.map(|v| v.into());
 4021   5349   
            self
        5350  +
            /* ServerBuilderGenerator.kt:428 */
 4022   5351   
        }
        5352  +
        /* ServerBuilderGenerator.kt:331 */
 4023   5353   
        #[allow(missing_docs)] // documentation missing in model
        5354  +
                               /* ServerBuilderGenerator.kt:343 */
 4024   5355   
        pub fn max_short(mut self, input: ::std::option::Option<crate::model::MaxShort>) -> Self {
 4025         -
            self.max_short = input.map(
 4026         -
                #[allow(clippy::redundant_closure)]
 4027         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4028         -
            );
        5356  +
            /* ServerBuilderGenerator.kt:344 */
        5357  +
            self.max_short =
        5358  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5359  +
            /* ServerBuilderGenerator.kt:344 */;
 4029   5360   
            self
        5361  +
            /* ServerBuilderGenerator.kt:343 */
 4030   5362   
        }
        5363  +
        /* ServerBuilderGenerator.kt:426 */
 4031   5364   
        #[allow(missing_docs)] // documentation missing in model
        5365  +
                               /* ServerBuilderGenerator.kt:428 */
 4032   5366   
        pub(crate) fn set_max_short(
 4033   5367   
            mut self,
 4034   5368   
            input: Option<
 4035   5369   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MaxShort>>,
 4036   5370   
            >,
 4037   5371   
        ) -> Self {
        5372  +
            /* ServerBuilderGenerator.kt:429 */
 4038   5373   
            self.max_short = input.map(|v| v.into());
 4039   5374   
            self
        5375  +
            /* ServerBuilderGenerator.kt:428 */
 4040   5376   
        }
        5377  +
        /* ServerBuilderGenerator.kt:331 */
 4041   5378   
        #[allow(missing_docs)] // documentation missing in model
        5379  +
                               /* ServerBuilderGenerator.kt:343 */
 4042   5380   
        pub fn integer(mut self, input: ::std::option::Option<crate::model::RangeInteger>) -> Self {
 4043         -
            self.integer = input.map(
 4044         -
                #[allow(clippy::redundant_closure)]
 4045         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4046         -
            );
        5381  +
            /* ServerBuilderGenerator.kt:344 */
        5382  +
            self.integer =
        5383  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5384  +
            /* ServerBuilderGenerator.kt:344 */;
 4047   5385   
            self
        5386  +
            /* ServerBuilderGenerator.kt:343 */
 4048   5387   
        }
        5388  +
        /* ServerBuilderGenerator.kt:426 */
 4049   5389   
        #[allow(missing_docs)] // documentation missing in model
        5390  +
                               /* ServerBuilderGenerator.kt:428 */
 4050   5391   
        pub(crate) fn set_integer(
 4051   5392   
            mut self,
 4052   5393   
            input: Option<
 4053   5394   
                impl ::std::convert::Into<
 4054   5395   
                    crate::constrained::MaybeConstrained<crate::model::RangeInteger>,
 4055   5396   
                >,
 4056   5397   
            >,
 4057   5398   
        ) -> Self {
        5399  +
            /* ServerBuilderGenerator.kt:429 */
 4058   5400   
            self.integer = input.map(|v| v.into());
 4059   5401   
            self
        5402  +
            /* ServerBuilderGenerator.kt:428 */
 4060   5403   
        }
        5404  +
        /* ServerBuilderGenerator.kt:331 */
 4061   5405   
        #[allow(missing_docs)] // documentation missing in model
        5406  +
                               /* ServerBuilderGenerator.kt:343 */
 4062   5407   
        pub fn min_integer(
 4063   5408   
            mut self,
 4064   5409   
            input: ::std::option::Option<crate::model::MinInteger>,
 4065   5410   
        ) -> Self {
 4066         -
            self.min_integer = input.map(
 4067         -
                #[allow(clippy::redundant_closure)]
 4068         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4069         -
            );
        5411  +
            /* ServerBuilderGenerator.kt:344 */
        5412  +
            self.min_integer =
        5413  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5414  +
            /* ServerBuilderGenerator.kt:344 */;
 4070   5415   
            self
        5416  +
            /* ServerBuilderGenerator.kt:343 */
 4071   5417   
        }
        5418  +
        /* ServerBuilderGenerator.kt:426 */
 4072   5419   
        #[allow(missing_docs)] // documentation missing in model
        5420  +
                               /* ServerBuilderGenerator.kt:428 */
 4073   5421   
        pub(crate) fn set_min_integer(
 4074   5422   
            mut self,
 4075   5423   
            input: Option<
 4076   5424   
                impl ::std::convert::Into<
 4077   5425   
                    crate::constrained::MaybeConstrained<crate::model::MinInteger>,
 4078   5426   
                >,
 4079   5427   
            >,
 4080   5428   
        ) -> Self {
        5429  +
            /* ServerBuilderGenerator.kt:429 */
 4081   5430   
            self.min_integer = input.map(|v| v.into());
 4082   5431   
            self
        5432  +
            /* ServerBuilderGenerator.kt:428 */
 4083   5433   
        }
        5434  +
        /* ServerBuilderGenerator.kt:331 */
 4084   5435   
        #[allow(missing_docs)] // documentation missing in model
        5436  +
                               /* ServerBuilderGenerator.kt:343 */
 4085   5437   
        pub fn max_integer(
 4086   5438   
            mut self,
 4087   5439   
            input: ::std::option::Option<crate::model::MaxInteger>,
 4088   5440   
        ) -> Self {
 4089         -
            self.max_integer = input.map(
 4090         -
                #[allow(clippy::redundant_closure)]
 4091         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4092         -
            );
        5441  +
            /* ServerBuilderGenerator.kt:344 */
        5442  +
            self.max_integer =
        5443  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5444  +
            /* ServerBuilderGenerator.kt:344 */;
 4093   5445   
            self
        5446  +
            /* ServerBuilderGenerator.kt:343 */
 4094   5447   
        }
        5448  +
        /* ServerBuilderGenerator.kt:426 */
 4095   5449   
        #[allow(missing_docs)] // documentation missing in model
        5450  +
                               /* ServerBuilderGenerator.kt:428 */
 4096   5451   
        pub(crate) fn set_max_integer(
 4097   5452   
            mut self,
 4098   5453   
            input: Option<
 4099   5454   
                impl ::std::convert::Into<
 4100   5455   
                    crate::constrained::MaybeConstrained<crate::model::MaxInteger>,
 4101   5456   
                >,
 4102   5457   
            >,
 4103   5458   
        ) -> Self {
        5459  +
            /* ServerBuilderGenerator.kt:429 */
 4104   5460   
            self.max_integer = input.map(|v| v.into());
 4105   5461   
            self
        5462  +
            /* ServerBuilderGenerator.kt:428 */
 4106   5463   
        }
        5464  +
        /* ServerBuilderGenerator.kt:331 */
 4107   5465   
        #[allow(missing_docs)] // documentation missing in model
        5466  +
                               /* ServerBuilderGenerator.kt:343 */
 4108   5467   
        pub fn long(mut self, input: ::std::option::Option<crate::model::RangeLong>) -> Self {
 4109         -
            self.long = input.map(
 4110         -
                #[allow(clippy::redundant_closure)]
 4111         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4112         -
            );
        5468  +
            /* ServerBuilderGenerator.kt:344 */
        5469  +
            self.long =
        5470  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5471  +
            /* ServerBuilderGenerator.kt:344 */;
 4113   5472   
            self
        5473  +
            /* ServerBuilderGenerator.kt:343 */
 4114   5474   
        }
        5475  +
        /* ServerBuilderGenerator.kt:426 */
 4115   5476   
        #[allow(missing_docs)] // documentation missing in model
        5477  +
                               /* ServerBuilderGenerator.kt:428 */
 4116   5478   
        pub(crate) fn set_long(
 4117   5479   
            mut self,
 4118   5480   
            input: Option<
 4119   5481   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::RangeLong>>,
 4120   5482   
            >,
 4121   5483   
        ) -> Self {
        5484  +
            /* ServerBuilderGenerator.kt:429 */
 4122   5485   
            self.long = input.map(|v| v.into());
 4123   5486   
            self
        5487  +
            /* ServerBuilderGenerator.kt:428 */
 4124   5488   
        }
        5489  +
        /* ServerBuilderGenerator.kt:331 */
 4125   5490   
        #[allow(missing_docs)] // documentation missing in model
        5491  +
                               /* ServerBuilderGenerator.kt:343 */
 4126   5492   
        pub fn min_long(mut self, input: ::std::option::Option<crate::model::MinLong>) -> Self {
 4127         -
            self.min_long = input.map(
 4128         -
                #[allow(clippy::redundant_closure)]
 4129         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4130         -
            );
        5493  +
            /* ServerBuilderGenerator.kt:344 */
        5494  +
            self.min_long =
        5495  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5496  +
            /* ServerBuilderGenerator.kt:344 */;
 4131   5497   
            self
        5498  +
            /* ServerBuilderGenerator.kt:343 */
 4132   5499   
        }
        5500  +
        /* ServerBuilderGenerator.kt:426 */
 4133   5501   
        #[allow(missing_docs)] // documentation missing in model
        5502  +
                               /* ServerBuilderGenerator.kt:428 */
 4134   5503   
        pub(crate) fn set_min_long(
 4135   5504   
            mut self,
 4136   5505   
            input: Option<
 4137   5506   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MinLong>>,
 4138   5507   
            >,
 4139   5508   
        ) -> Self {
        5509  +
            /* ServerBuilderGenerator.kt:429 */
 4140   5510   
            self.min_long = input.map(|v| v.into());
 4141   5511   
            self
        5512  +
            /* ServerBuilderGenerator.kt:428 */
 4142   5513   
        }
        5514  +
        /* ServerBuilderGenerator.kt:331 */
 4143   5515   
        #[allow(missing_docs)] // documentation missing in model
        5516  +
                               /* ServerBuilderGenerator.kt:343 */
 4144   5517   
        pub fn max_long(mut self, input: ::std::option::Option<crate::model::MaxLong>) -> Self {
 4145         -
            self.max_long = input.map(
 4146         -
                #[allow(clippy::redundant_closure)]
 4147         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4148         -
            );
        5518  +
            /* ServerBuilderGenerator.kt:344 */
        5519  +
            self.max_long =
        5520  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5521  +
            /* ServerBuilderGenerator.kt:344 */;
 4149   5522   
            self
        5523  +
            /* ServerBuilderGenerator.kt:343 */
 4150   5524   
        }
        5525  +
        /* ServerBuilderGenerator.kt:426 */
 4151   5526   
        #[allow(missing_docs)] // documentation missing in model
        5527  +
                               /* ServerBuilderGenerator.kt:428 */
 4152   5528   
        pub(crate) fn set_max_long(
 4153   5529   
            mut self,
 4154   5530   
            input: Option<
 4155   5531   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::MaxLong>>,
 4156   5532   
            >,
 4157   5533   
        ) -> Self {
        5534  +
            /* ServerBuilderGenerator.kt:429 */
 4158   5535   
            self.max_long = input.map(|v| v.into());
 4159   5536   
            self
        5537  +
            /* ServerBuilderGenerator.kt:428 */
 4160   5538   
        }
        5539  +
        /* ServerBuilderGenerator.kt:331 */
 4161   5540   
        #[allow(missing_docs)] // documentation missing in model
        5541  +
                               /* ServerBuilderGenerator.kt:343 */
 4162   5542   
        pub fn float(mut self, input: ::std::option::Option<f32>) -> Self {
 4163         -
            self.float = input;
        5543  +
            /* ServerBuilderGenerator.kt:344 */
        5544  +
            self.float =
        5545  +
                /* ServerBuilderGenerator.kt:376 */input
        5546  +
            /* ServerBuilderGenerator.kt:344 */;
 4164   5547   
            self
        5548  +
            /* ServerBuilderGenerator.kt:343 */
 4165   5549   
        }
        5550  +
        /* ServerBuilderGenerator.kt:426 */
 4166   5551   
        #[allow(missing_docs)] // documentation missing in model
        5552  +
                               /* ServerBuilderGenerator.kt:428 */
 4167   5553   
        pub(crate) fn set_float(mut self, input: Option<impl ::std::convert::Into<f32>>) -> Self {
        5554  +
            /* ServerBuilderGenerator.kt:429 */
 4168   5555   
            self.float = input.map(|v| v.into());
 4169   5556   
            self
        5557  +
            /* ServerBuilderGenerator.kt:428 */
 4170   5558   
        }
        5559  +
        /* ServerBuilderGenerator.kt:331 */
 4171   5560   
        #[allow(missing_docs)] // documentation missing in model
        5561  +
                               /* ServerBuilderGenerator.kt:343 */
 4172   5562   
        pub fn min_float(mut self, input: ::std::option::Option<f32>) -> Self {
 4173         -
            self.min_float = input;
        5563  +
            /* ServerBuilderGenerator.kt:344 */
        5564  +
            self.min_float =
        5565  +
                /* ServerBuilderGenerator.kt:376 */input
        5566  +
            /* ServerBuilderGenerator.kt:344 */;
 4174   5567   
            self
        5568  +
            /* ServerBuilderGenerator.kt:343 */
 4175   5569   
        }
        5570  +
        /* ServerBuilderGenerator.kt:426 */
 4176   5571   
        #[allow(missing_docs)] // documentation missing in model
        5572  +
                               /* ServerBuilderGenerator.kt:428 */
 4177   5573   
        pub(crate) fn set_min_float(
 4178   5574   
            mut self,
 4179   5575   
            input: Option<impl ::std::convert::Into<f32>>,
 4180   5576   
        ) -> Self {
        5577  +
            /* ServerBuilderGenerator.kt:429 */
 4181   5578   
            self.min_float = input.map(|v| v.into());
 4182   5579   
            self
        5580  +
            /* ServerBuilderGenerator.kt:428 */
 4183   5581   
        }
        5582  +
        /* ServerBuilderGenerator.kt:331 */
 4184   5583   
        #[allow(missing_docs)] // documentation missing in model
        5584  +
                               /* ServerBuilderGenerator.kt:343 */
 4185   5585   
        pub fn max_float(mut self, input: ::std::option::Option<f32>) -> Self {
 4186         -
            self.max_float = input;
        5586  +
            /* ServerBuilderGenerator.kt:344 */
        5587  +
            self.max_float =
        5588  +
                /* ServerBuilderGenerator.kt:376 */input
        5589  +
            /* ServerBuilderGenerator.kt:344 */;
 4187   5590   
            self
        5591  +
            /* ServerBuilderGenerator.kt:343 */
 4188   5592   
        }
        5593  +
        /* ServerBuilderGenerator.kt:426 */
 4189   5594   
        #[allow(missing_docs)] // documentation missing in model
        5595  +
                               /* ServerBuilderGenerator.kt:428 */
 4190   5596   
        pub(crate) fn set_max_float(
 4191   5597   
            mut self,
 4192   5598   
            input: Option<impl ::std::convert::Into<f32>>,
 4193   5599   
        ) -> Self {
        5600  +
            /* ServerBuilderGenerator.kt:429 */
 4194   5601   
            self.max_float = input.map(|v| v.into());
 4195   5602   
            self
        5603  +
            /* ServerBuilderGenerator.kt:428 */
 4196   5604   
        }
 4197         -
        /// Consumes the builder and constructs a [`MalformedRangeInput`](crate::input::MalformedRangeInput).
 4198         -
        ///
        5605  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedRangeInput`](crate::input::MalformedRangeInput).
        5606  +
        /// /* ServerBuilderGenerator.kt:260 */
 4199   5607   
        /// The builder fails to construct a [`MalformedRangeInput`](crate::input::MalformedRangeInput) if a [`ConstraintViolation`] occurs.
 4200   5608   
        ///
 4201         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        5609  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        5610  +
        /* ServerBuilderGenerator.kt:271 */
 4202   5611   
        pub fn build(self) -> Result<crate::input::MalformedRangeInput, ConstraintViolation> {
 4203   5612   
            self.build_enforcing_all_constraints()
 4204   5613   
        }
        5614  +
        /* ServerBuilderGenerator.kt:283 */
 4205   5615   
        fn build_enforcing_all_constraints(
 4206   5616   
            self,
 4207   5617   
        ) -> Result<crate::input::MalformedRangeInput, ConstraintViolation> {
 4208         -
            Ok(crate::input::MalformedRangeInput {
        5618  +
            /* ServerBuilderGenerator.kt:287 */
        5619  +
            Ok(
        5620  +
                /* ServerBuilderGenerator.kt:542 */
        5621  +
                crate::input::MalformedRangeInput {
        5622  +
                    /* ServerBuilderGenerator.kt:546 */
 4209   5623   
                    byte: self
 4210   5624   
                        .byte
        5625  +
                        /* ServerBuilderGenerator.kt:602 */
 4211   5626   
                        .map(|v| match v {
 4212   5627   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4213   5628   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4214   5629   
                        })
        5630  +
                        /* ServerBuilderGenerator.kt:614 */
 4215   5631   
                        .map(|res| res.map_err(ConstraintViolation::Byte))
 4216   5632   
                        .transpose()?,
        5633  +
                    /* ServerBuilderGenerator.kt:546 */
 4217   5634   
                    min_byte: self
 4218   5635   
                        .min_byte
        5636  +
                        /* ServerBuilderGenerator.kt:602 */
 4219   5637   
                        .map(|v| match v {
 4220   5638   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4221   5639   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4222   5640   
                        })
        5641  +
                        /* ServerBuilderGenerator.kt:614 */
 4223   5642   
                        .map(|res| res.map_err(ConstraintViolation::MinByte))
 4224   5643   
                        .transpose()?,
        5644  +
                    /* ServerBuilderGenerator.kt:546 */
 4225   5645   
                    max_byte: self
 4226   5646   
                        .max_byte
        5647  +
                        /* ServerBuilderGenerator.kt:602 */
 4227   5648   
                        .map(|v| match v {
 4228   5649   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4229   5650   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4230   5651   
                        })
        5652  +
                        /* ServerBuilderGenerator.kt:614 */
 4231   5653   
                        .map(|res| res.map_err(ConstraintViolation::MaxByte))
 4232   5654   
                        .transpose()?,
        5655  +
                    /* ServerBuilderGenerator.kt:546 */
 4233   5656   
                    short: self
 4234   5657   
                        .short
        5658  +
                        /* ServerBuilderGenerator.kt:602 */
 4235   5659   
                        .map(|v| match v {
 4236   5660   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4237   5661   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4238   5662   
                        })
        5663  +
                        /* ServerBuilderGenerator.kt:614 */
 4239   5664   
                        .map(|res| res.map_err(ConstraintViolation::Short))
 4240   5665   
                        .transpose()?,
        5666  +
                    /* ServerBuilderGenerator.kt:546 */
 4241   5667   
                    min_short: self
 4242   5668   
                        .min_short
        5669  +
                        /* ServerBuilderGenerator.kt:602 */
 4243   5670   
                        .map(|v| match v {
 4244   5671   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4245   5672   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4246   5673   
                        })
        5674  +
                        /* ServerBuilderGenerator.kt:614 */
 4247   5675   
                        .map(|res| res.map_err(ConstraintViolation::MinShort))
 4248   5676   
                        .transpose()?,
        5677  +
                    /* ServerBuilderGenerator.kt:546 */
 4249   5678   
                    max_short: self
 4250   5679   
                        .max_short
        5680  +
                        /* ServerBuilderGenerator.kt:602 */
 4251   5681   
                        .map(|v| match v {
 4252   5682   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4253   5683   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4254   5684   
                        })
        5685  +
                        /* ServerBuilderGenerator.kt:614 */
 4255   5686   
                        .map(|res| res.map_err(ConstraintViolation::MaxShort))
 4256   5687   
                        .transpose()?,
        5688  +
                    /* ServerBuilderGenerator.kt:546 */
 4257   5689   
                    integer: self
 4258   5690   
                        .integer
        5691  +
                        /* ServerBuilderGenerator.kt:602 */
 4259   5692   
                        .map(|v| match v {
 4260   5693   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4261   5694   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4262   5695   
                        })
        5696  +
                        /* ServerBuilderGenerator.kt:614 */
 4263   5697   
                        .map(|res| res.map_err(ConstraintViolation::Integer))
 4264   5698   
                        .transpose()?,
        5699  +
                    /* ServerBuilderGenerator.kt:546 */
 4265   5700   
                    min_integer: self
 4266   5701   
                        .min_integer
        5702  +
                        /* ServerBuilderGenerator.kt:602 */
 4267   5703   
                        .map(|v| match v {
 4268   5704   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4269   5705   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4270   5706   
                        })
        5707  +
                        /* ServerBuilderGenerator.kt:614 */
 4271   5708   
                        .map(|res| res.map_err(ConstraintViolation::MinInteger))
 4272   5709   
                        .transpose()?,
        5710  +
                    /* ServerBuilderGenerator.kt:546 */
 4273   5711   
                    max_integer: self
 4274   5712   
                        .max_integer
        5713  +
                        /* ServerBuilderGenerator.kt:602 */
 4275   5714   
                        .map(|v| match v {
 4276   5715   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4277   5716   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4278   5717   
                        })
        5718  +
                        /* ServerBuilderGenerator.kt:614 */
 4279   5719   
                        .map(|res| res.map_err(ConstraintViolation::MaxInteger))
 4280   5720   
                        .transpose()?,
        5721  +
                    /* ServerBuilderGenerator.kt:546 */
 4281   5722   
                    long: self
 4282   5723   
                        .long
        5724  +
                        /* ServerBuilderGenerator.kt:602 */
 4283   5725   
                        .map(|v| match v {
 4284   5726   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4285   5727   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4286   5728   
                        })
        5729  +
                        /* ServerBuilderGenerator.kt:614 */
 4287   5730   
                        .map(|res| res.map_err(ConstraintViolation::Long))
 4288   5731   
                        .transpose()?,
        5732  +
                    /* ServerBuilderGenerator.kt:546 */
 4289   5733   
                    min_long: self
 4290   5734   
                        .min_long
        5735  +
                        /* ServerBuilderGenerator.kt:602 */
 4291   5736   
                        .map(|v| match v {
 4292   5737   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4293   5738   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4294   5739   
                        })
        5740  +
                        /* ServerBuilderGenerator.kt:614 */
 4295   5741   
                        .map(|res| res.map_err(ConstraintViolation::MinLong))
 4296   5742   
                        .transpose()?,
        5743  +
                    /* ServerBuilderGenerator.kt:546 */
 4297   5744   
                    max_long: self
 4298   5745   
                        .max_long
        5746  +
                        /* ServerBuilderGenerator.kt:602 */
 4299   5747   
                        .map(|v| match v {
 4300   5748   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4301   5749   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4302   5750   
                        })
        5751  +
                        /* ServerBuilderGenerator.kt:614 */
 4303   5752   
                        .map(|res| res.map_err(ConstraintViolation::MaxLong))
 4304   5753   
                        .transpose()?,
        5754  +
                    /* ServerBuilderGenerator.kt:546 */
 4305   5755   
                    float: self.float,
        5756  +
                    /* ServerBuilderGenerator.kt:546 */
 4306   5757   
                    min_float: self.min_float,
        5758  +
                    /* ServerBuilderGenerator.kt:546 */
 4307   5759   
                    max_float: self.max_float,
 4308         -
            })
        5760  +
                    /* ServerBuilderGenerator.kt:542 */
        5761  +
                }, /* ServerBuilderGenerator.kt:287 */
        5762  +
            )
        5763  +
            /* ServerBuilderGenerator.kt:283 */
 4309   5764   
        }
        5765  +
        /* ServerBuilderGenerator.kt:215 */
 4310   5766   
    }
        5767  +
        5768  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4311   5769   
}
 4312         -
/// See [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
        5770  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
 4313   5771   
pub mod malformed_pattern_override_input {
 4314   5772   
        5773  +
    /* RustType.kt:516 */
 4315   5774   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 4316         -
    /// Holds one variant for each of the ways the builder can fail.
        5775  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        5776  +
    /* RustType.kt:516 */
 4317   5777   
    #[non_exhaustive]
        5778  +
    /* ServerBuilderConstraintViolations.kt:75 */
 4318   5779   
    #[allow(clippy::enum_variant_names)]
 4319   5780   
    pub enum ConstraintViolation {
 4320         -
        /// Constraint violation occurred building member `string` when building `MalformedPatternOverrideInput`.
        5781  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `MalformedPatternOverrideInput`.
        5782  +
        /* RustType.kt:516 */
 4321   5783   
        #[doc(hidden)]
        5784  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4322   5785   
        String(crate::input::malformed_pattern_override_input::string::ConstraintViolation),
 4323         -
        /// Constraint violation occurred building member `list` when building `MalformedPatternOverrideInput`.
        5786  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list` when building `MalformedPatternOverrideInput`.
        5787  +
        /* RustType.kt:516 */
 4324   5788   
        #[doc(hidden)]
        5789  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4325   5790   
        List(crate::model::pattern_list_override::ConstraintViolation),
 4326         -
        /// Constraint violation occurred building member `map` when building `MalformedPatternOverrideInput`.
        5791  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map` when building `MalformedPatternOverrideInput`.
        5792  +
        /* RustType.kt:516 */
 4327   5793   
        #[doc(hidden)]
        5794  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4328   5795   
        Map(crate::model::pattern_map_override::ConstraintViolation),
 4329         -
        /// Constraint violation occurred building member `union` when building `MalformedPatternOverrideInput`.
        5796  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `union` when building `MalformedPatternOverrideInput`.
        5797  +
        /* RustType.kt:516 */
 4330   5798   
        #[doc(hidden)]
        5799  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4331   5800   
        Union(crate::model::pattern_union_override::ConstraintViolation),
        5801  +
        /* ServerBuilderConstraintViolations.kt:75 */
 4332   5802   
    }
        5803  +
    /* ServerBuilderConstraintViolations.kt:117 */
 4333   5804   
    impl ::std::fmt::Display for ConstraintViolation {
        5805  +
        /* ServerBuilderConstraintViolations.kt:118 */
 4334   5806   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        5807  +
            /* ServerBuilderConstraintViolations.kt:119 */
 4335   5808   
            match self {
 4336         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedPatternOverrideInput`"),
 4337         -
                ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedPatternOverrideInput`"),
 4338         -
                ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedPatternOverrideInput`"),
 4339         -
                ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `MalformedPatternOverrideInput`"),
 4340         -
            }
        5809  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedPatternOverrideInput`"),
        5810  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedPatternOverrideInput`"),
        5811  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedPatternOverrideInput`"),
        5812  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `MalformedPatternOverrideInput`"),
        5813  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        5814  +
            /* ServerBuilderConstraintViolations.kt:118 */
 4341   5815   
        }
        5816  +
        /* ServerBuilderConstraintViolations.kt:117 */
 4342   5817   
    }
        5818  +
    /* ServerBuilderConstraintViolations.kt:84 */
 4343   5819   
    impl ::std::error::Error for ConstraintViolation {}
        5820  +
    /* ServerBuilderConstraintViolations.kt:171 */
 4344   5821   
    impl ConstraintViolation {
 4345   5822   
        pub(crate) fn as_validation_exception_field(
 4346   5823   
            self,
 4347   5824   
            path: ::std::string::String,
 4348   5825   
        ) -> crate::model::ValidationExceptionField {
 4349   5826   
            match self {
 4350   5827   
                ConstraintViolation::String(inner) => {
 4351   5828   
                    inner.as_validation_exception_field(path + "/string")
 4352   5829   
                }
 4353   5830   
                ConstraintViolation::List(inner) => {
 4354   5831   
                    inner.as_validation_exception_field(path + "/list")
 4355   5832   
                }
 4356   5833   
                ConstraintViolation::Map(inner) => {
 4357   5834   
                    inner.as_validation_exception_field(path + "/map")
 4358   5835   
                }
 4359   5836   
                ConstraintViolation::Union(inner) => {
 4360   5837   
                    inner.as_validation_exception_field(path + "/union")
 4361   5838   
                }
 4362   5839   
            }
 4363   5840   
        }
 4364   5841   
    }
        5842  +
    /* ServerBuilderGenerator.kt:234 */
 4365   5843   
    impl ::std::convert::From<ConstraintViolation>
 4366   5844   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4367   5845   
    {
 4368   5846   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4369   5847   
            let first_validation_exception_field =
 4370   5848   
                constraint_violation.as_validation_exception_field("".to_owned());
 4371   5849   
            let validation_exception = crate::error::ValidationException {
 4372   5850   
                message: format!(
 4373   5851   
                    "1 validation error detected. {}",
 4374   5852   
                    &first_validation_exception_field.message
 4375   5853   
                ),
 4376   5854   
                field_list: Some(vec![first_validation_exception_field]),
 4377   5855   
            };
 4378   5856   
            Self::ConstraintViolation(
 4379   5857   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 4380   5858   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4381   5859   
                            )
 4382   5860   
        }
 4383   5861   
    }
        5862  +
    /* ServerBuilderGenerator.kt:244 */
 4384   5863   
    impl ::std::convert::From<Builder>
 4385   5864   
        for crate::constrained::MaybeConstrained<crate::input::MalformedPatternOverrideInput>
 4386   5865   
    {
 4387   5866   
        fn from(builder: Builder) -> Self {
 4388   5867   
            Self::Unconstrained(builder)
 4389   5868   
        }
 4390   5869   
    }
        5870  +
    /* ServerBuilderGenerator.kt:446 */
 4391   5871   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedPatternOverrideInput {
 4392   5872   
        type Error = ConstraintViolation;
 4393   5873   
 4394   5874   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 4395   5875   
            builder.build()
 4396   5876   
        }
 4397   5877   
    }
 4398         -
    /// A builder for [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
        5878  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
        5879  +
    /* RustType.kt:516 */
 4399   5880   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        5881  +
    /* ServerBuilderGenerator.kt:211 */
 4400   5882   
    pub struct Builder {
 4401         -
        pub(crate) string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::input::malformed_pattern_override_input::String>>,
 4402         -
        pub(crate) list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::pattern_list_override_constrained::PatternListOverrideConstrained>>,
 4403         -
        pub(crate) map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::pattern_map_override_constrained::PatternMapOverrideConstrained>>,
 4404         -
        pub(crate) union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternUnionOverride>>,
 4405         -
    }
        5883  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) string: ::std::option::Option<crate::constrained::MaybeConstrained<crate::input::malformed_pattern_override_input::String>>,
        5884  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) list: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::pattern_list_override_constrained::PatternListOverrideConstrained>>,
        5885  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) map: ::std::option::Option<crate::constrained::MaybeConstrained<crate::constrained::pattern_map_override_constrained::PatternMapOverrideConstrained>>,
        5886  +
        /* ServerBuilderGenerator.kt:308 */pub(crate) union: ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternUnionOverride>>,
        5887  +
    /* ServerBuilderGenerator.kt:211 */}
        5888  +
    /* ServerBuilderGenerator.kt:215 */
 4406   5889   
    impl Builder {
        5890  +
        /* ServerBuilderGenerator.kt:331 */
 4407   5891   
        #[allow(missing_docs)] // documentation missing in model
        5892  +
                               /* ServerBuilderGenerator.kt:343 */
 4408   5893   
        pub fn string(
 4409   5894   
            mut self,
 4410   5895   
            input: ::std::option::Option<crate::input::malformed_pattern_override_input::String>,
 4411   5896   
        ) -> Self {
 4412         -
            self.string = input.map(
 4413         -
                #[allow(clippy::redundant_closure)]
 4414         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4415         -
            );
        5897  +
            /* ServerBuilderGenerator.kt:344 */
        5898  +
            self.string =
        5899  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5900  +
            /* ServerBuilderGenerator.kt:344 */;
 4416   5901   
            self
        5902  +
            /* ServerBuilderGenerator.kt:343 */
 4417   5903   
        }
        5904  +
        /* ServerBuilderGenerator.kt:426 */
 4418   5905   
        #[allow(missing_docs)] // documentation missing in model
        5906  +
                               /* ServerBuilderGenerator.kt:428 */
 4419   5907   
        pub(crate) fn set_string(
 4420   5908   
            mut self,
 4421   5909   
            input: Option<
 4422   5910   
                impl ::std::convert::Into<
 4423   5911   
                    crate::constrained::MaybeConstrained<
 4424   5912   
                        crate::input::malformed_pattern_override_input::String,
 4425   5913   
                    >,
 4426   5914   
                >,
 4427   5915   
            >,
 4428   5916   
        ) -> Self {
        5917  +
            /* ServerBuilderGenerator.kt:429 */
 4429   5918   
            self.string = input.map(|v| v.into());
 4430   5919   
            self
        5920  +
            /* ServerBuilderGenerator.kt:428 */
 4431   5921   
        }
        5922  +
        /* ServerBuilderGenerator.kt:331 */
 4432   5923   
        #[allow(missing_docs)] // documentation missing in model
        5924  +
                               /* ServerBuilderGenerator.kt:343 */
 4433   5925   
        pub fn list(
 4434   5926   
            mut self,
 4435   5927   
            input: ::std::option::Option<
 4436   5928   
                ::std::vec::Vec<crate::model::pattern_list_override::Member>,
 4437   5929   
            >,
 4438   5930   
        ) -> Self {
 4439         -
            self.list = input.map(
 4440         -
                #[allow(clippy::redundant_closure)]
 4441         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 4442         -
            );
        5931  +
            /* ServerBuilderGenerator.kt:344 */
        5932  +
            self.list =
        5933  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        5934  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        5935  +
                /* ServerBuilderGenerator.kt:369 */)
        5936  +
            /* ServerBuilderGenerator.kt:344 */;
 4443   5937   
            self
        5938  +
            /* ServerBuilderGenerator.kt:343 */
 4444   5939   
        }
        5940  +
        /* ServerBuilderGenerator.kt:426 */
 4445   5941   
        #[allow(missing_docs)] // documentation missing in model
        5942  +
                               /* ServerBuilderGenerator.kt:428 */
 4446   5943   
        pub(crate) fn set_list(
 4447   5944   
            mut self,
 4448   5945   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::pattern_list_override_constrained::PatternListOverrideConstrained>>>,
 4449   5946   
        ) -> Self {
        5947  +
            /* ServerBuilderGenerator.kt:429 */
 4450   5948   
            self.list = input.map(|v| v.into());
 4451   5949   
            self
        5950  +
            /* ServerBuilderGenerator.kt:428 */
 4452   5951   
        }
        5952  +
        /* ServerBuilderGenerator.kt:331 */
 4453   5953   
        #[allow(missing_docs)] // documentation missing in model
        5954  +
                               /* ServerBuilderGenerator.kt:343 */
 4454   5955   
        pub fn map(
 4455   5956   
            mut self,
 4456   5957   
            input: ::std::option::Option<
 4457   5958   
                ::std::collections::HashMap<
 4458   5959   
                    crate::model::pattern_map_override::Key,
 4459   5960   
                    crate::model::pattern_map_override::Value,
 4460   5961   
                >,
 4461   5962   
            >,
 4462   5963   
        ) -> Self {
 4463         -
            self.map = input.map(
 4464         -
                #[allow(clippy::redundant_closure)]
 4465         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 4466         -
            );
        5964  +
            /* ServerBuilderGenerator.kt:344 */
        5965  +
            self.map =
        5966  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        5967  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        5968  +
                /* ServerBuilderGenerator.kt:369 */)
        5969  +
            /* ServerBuilderGenerator.kt:344 */;
 4467   5970   
            self
        5971  +
            /* ServerBuilderGenerator.kt:343 */
 4468   5972   
        }
        5973  +
        /* ServerBuilderGenerator.kt:426 */
 4469   5974   
        #[allow(missing_docs)] // documentation missing in model
        5975  +
                               /* ServerBuilderGenerator.kt:428 */
 4470   5976   
        pub(crate) fn set_map(
 4471   5977   
            mut self,
 4472   5978   
            input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::pattern_map_override_constrained::PatternMapOverrideConstrained>>>,
 4473   5979   
        ) -> Self {
        5980  +
            /* ServerBuilderGenerator.kt:429 */
 4474   5981   
            self.map = input.map(|v| v.into());
 4475   5982   
            self
        5983  +
            /* ServerBuilderGenerator.kt:428 */
 4476   5984   
        }
        5985  +
        /* ServerBuilderGenerator.kt:331 */
 4477   5986   
        #[allow(missing_docs)] // documentation missing in model
        5987  +
                               /* ServerBuilderGenerator.kt:343 */
 4478   5988   
        pub fn union(
 4479   5989   
            mut self,
 4480   5990   
            input: ::std::option::Option<crate::model::PatternUnionOverride>,
 4481   5991   
        ) -> Self {
 4482         -
            self.union = input.map(
 4483         -
                #[allow(clippy::redundant_closure)]
 4484         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4485         -
            );
        5992  +
            /* ServerBuilderGenerator.kt:344 */
        5993  +
            self.union =
        5994  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        5995  +
            /* ServerBuilderGenerator.kt:344 */;
 4486   5996   
            self
        5997  +
            /* ServerBuilderGenerator.kt:343 */
 4487   5998   
        }
        5999  +
        /* ServerBuilderGenerator.kt:426 */
 4488   6000   
        #[allow(missing_docs)] // documentation missing in model
        6001  +
                               /* ServerBuilderGenerator.kt:428 */
 4489   6002   
        pub(crate) fn set_union(
 4490   6003   
            mut self,
 4491   6004   
            input: Option<
 4492   6005   
                impl ::std::convert::Into<
 4493   6006   
                    crate::constrained::MaybeConstrained<crate::model::PatternUnionOverride>,
 4494   6007   
                >,
 4495   6008   
            >,
 4496   6009   
        ) -> Self {
        6010  +
            /* ServerBuilderGenerator.kt:429 */
 4497   6011   
            self.union = input.map(|v| v.into());
 4498   6012   
            self
        6013  +
            /* ServerBuilderGenerator.kt:428 */
 4499   6014   
        }
 4500         -
        /// Consumes the builder and constructs a [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
 4501         -
        ///
        6015  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput).
        6016  +
        /// /* ServerBuilderGenerator.kt:260 */
 4502   6017   
        /// The builder fails to construct a [`MalformedPatternOverrideInput`](crate::input::MalformedPatternOverrideInput) if a [`ConstraintViolation`] occurs.
 4503   6018   
        ///
 4504         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        6019  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        6020  +
        /* ServerBuilderGenerator.kt:271 */
 4505   6021   
        pub fn build(
 4506   6022   
            self,
 4507   6023   
        ) -> Result<crate::input::MalformedPatternOverrideInput, ConstraintViolation> {
 4508   6024   
            self.build_enforcing_all_constraints()
 4509   6025   
        }
        6026  +
        /* ServerBuilderGenerator.kt:283 */
 4510   6027   
        fn build_enforcing_all_constraints(
 4511   6028   
            self,
 4512   6029   
        ) -> Result<crate::input::MalformedPatternOverrideInput, ConstraintViolation> {
 4513         -
            Ok(crate::input::MalformedPatternOverrideInput {
        6030  +
            /* ServerBuilderGenerator.kt:287 */
        6031  +
            Ok(
        6032  +
                /* ServerBuilderGenerator.kt:542 */
        6033  +
                crate::input::MalformedPatternOverrideInput {
        6034  +
                    /* ServerBuilderGenerator.kt:546 */
 4514   6035   
                    string: self
 4515   6036   
                        .string
        6037  +
                        /* ServerBuilderGenerator.kt:602 */
 4516   6038   
                        .map(|v| match v {
 4517   6039   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4518   6040   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4519   6041   
                        })
        6042  +
                        /* ServerBuilderGenerator.kt:614 */
 4520   6043   
                        .map(|res| res.map_err(ConstraintViolation::String))
 4521   6044   
                        .transpose()?,
        6045  +
                    /* ServerBuilderGenerator.kt:546 */
 4522   6046   
                    list: self
 4523   6047   
                        .list
        6048  +
                        /* ServerBuilderGenerator.kt:602 */
 4524   6049   
                        .map(|v| match v {
 4525   6050   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4526   6051   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4527   6052   
                        })
        6053  +
                        /* ServerBuilderGenerator.kt:614 */
 4528   6054   
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::List))
 4529   6055   
                        .transpose()?,
        6056  +
                    /* ServerBuilderGenerator.kt:546 */
 4530   6057   
                    map: self
 4531   6058   
                        .map
        6059  +
                        /* ServerBuilderGenerator.kt:602 */
 4532   6060   
                        .map(|v| match v {
 4533   6061   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4534   6062   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4535   6063   
                        })
        6064  +
                        /* ServerBuilderGenerator.kt:614 */
 4536   6065   
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::Map))
 4537   6066   
                        .transpose()?,
        6067  +
                    /* ServerBuilderGenerator.kt:546 */
 4538   6068   
                    union: self
 4539   6069   
                        .union
        6070  +
                        /* ServerBuilderGenerator.kt:602 */
 4540   6071   
                        .map(|v| match v {
 4541   6072   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4542   6073   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4543   6074   
                        })
        6075  +
                        /* ServerBuilderGenerator.kt:614 */
 4544   6076   
                        .map(|res| res.map_err(ConstraintViolation::Union))
 4545   6077   
                        .transpose()?,
 4546         -
            })
        6078  +
                    /* ServerBuilderGenerator.kt:542 */
        6079  +
                }, /* ServerBuilderGenerator.kt:287 */
        6080  +
            )
        6081  +
            /* ServerBuilderGenerator.kt:283 */
 4547   6082   
        }
        6083  +
        /* ServerBuilderGenerator.kt:215 */
 4548   6084   
    }
        6085  +
    /* ConstrainedStringGenerator.kt:82 */
 4549   6086   
    #[allow(missing_docs)] // documentation missing in model
 4550         -
    ///
        6087  +
    /// /* ConstrainedStringGenerator.kt:83 */
 4551   6088   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 4552   6089   
    /// [constraint traits]. Use [`String::try_from`] to construct values of this type.
 4553   6090   
    ///
 4554   6091   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 4555   6092   
    ///
        6093  +
    /* RustType.kt:516 */
 4556   6094   
    #[derive(
 4557   6095   
        ::std::clone::Clone,
 4558   6096   
        ::std::cmp::Eq,
 4559   6097   
        ::std::cmp::PartialEq,
 4560   6098   
        ::std::fmt::Debug,
 4561   6099   
        ::std::hash::Hash,
 4562   6100   
    )]
 4563         -
    pub struct String(pub(crate) ::std::string::String);
        6101  +
    pub /* ConstrainedStringGenerator.kt:86 */ struct String(pub(crate) ::std::string::String);
        6102  +
    /* ConstrainedStringGenerator.kt:90 */
 4564   6103   
    impl String {
 4565   6104   
        /// Extracts a string slice containing the entire underlying `String`.
 4566   6105   
        pub fn as_str(&self) -> &str {
 4567   6106   
            &self.0
 4568   6107   
        }
 4569   6108   
 4570   6109   
        /// Returns an immutable reference to the underlying [`::std::string::String`].
 4571   6110   
        pub fn inner(&self) -> &::std::string::String {
 4572   6111   
            &self.0
 4573   6112   
        }
 4574   6113   
 4575   6114   
        /// Consumes the value, returning the underlying [`::std::string::String`].
 4576   6115   
        pub fn into_inner(self) -> ::std::string::String {
 4577   6116   
            self.0
 4578   6117   
        }
 4579   6118   
    }
        6119  +
    /* TraitInfo.kt:41 */
 4580   6120   
    impl String {
 4581   6121   
        fn check_pattern(
 4582   6122   
            string: ::std::string::String,
 4583   6123   
        ) -> ::std::result::Result<
 4584   6124   
            ::std::string::String,
 4585   6125   
            crate::input::malformed_pattern_override_input::string::ConstraintViolation,
 4586   6126   
        > {
 4587   6127   
            let regex = Self::compile_regex();
 4588   6128   
 4589   6129   
            if regex.is_match(&string) {
 4590   6130   
                Ok(string)
 4591   6131   
            } else {
 4592   6132   
                Err(crate::input::malformed_pattern_override_input::string::ConstraintViolation::Pattern(string))
 4593   6133   
            }
 4594   6134   
        }
 4595   6135   
 4596   6136   
        /// Attempts to compile the regex for this constrained type's `@pattern`.
 4597   6137   
        /// This can fail if the specified regex is not supported by the `::regex` crate.
 4598   6138   
        pub fn compile_regex() -> &'static ::regex::Regex {
 4599   6139   
            static REGEX: std::sync::LazyLock<::regex::Regex> = std::sync::LazyLock::new(|| {
 4600   6140   
                ::regex::Regex::new(r#"^[g-m]+$"#).expect(r#"The regular expression ^[g-m]+$ is not supported by the `regex` crate; feel free to file an issue under https://github.com/smithy-lang/smithy-rs/issues for support"#)
 4601   6141   
            });
 4602   6142   
 4603   6143   
            &REGEX
 4604   6144   
        }
 4605   6145   
    }
        6146  +
    /* TraitInfo.kt:57 */
 4606   6147   
    impl ::std::convert::TryFrom<::std::string::String> for String {
 4607   6148   
        type Error = crate::input::malformed_pattern_override_input::string::ConstraintViolation;
 4608   6149   
 4609   6150   
        /// Constructs a `String` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 4610   6151   
        fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 4611   6152   
            let value = Self::check_pattern(value)?;
 4612   6153   
 4613   6154   
            Ok(Self(value))
 4614   6155   
        }
 4615   6156   
    }
        6157  +
    /* ConstrainedStringGenerator.kt:112 */
 4616   6158   
    impl crate::constrained::Constrained for String {
 4617   6159   
        type Unconstrained = ::std::string::String;
 4618   6160   
    }
 4619   6161   
 4620   6162   
    impl ::std::convert::From<::std::string::String>
 4621   6163   
        for crate::constrained::MaybeConstrained<
 4622   6164   
            crate::input::malformed_pattern_override_input::String,
 4623   6165   
        >
 4624   6166   
    {
 4625   6167   
        fn from(value: ::std::string::String) -> Self {
 4626   6168   
            Self::Unconstrained(value)
 4627   6169   
        }
 4628   6170   
    }
 4629   6171   
 4630   6172   
    impl ::std::fmt::Display for String {
 4631   6173   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4632   6174   
            self.0.fmt(f)
 4633   6175   
        }
 4634   6176   
    }
 4635   6177   
 4636   6178   
    impl ::std::convert::From<String> for ::std::string::String {
 4637   6179   
        fn from(value: String) -> Self {
 4638   6180   
            value.into_inner()
 4639   6181   
        }
 4640   6182   
    }
        6183  +
    /* RustType.kt:516 */
 4641   6184   
    #[cfg(test)]
        6185  +
    /* ConstrainedStringGenerator.kt:205 */
 4642   6186   
    mod test_string {
 4643   6187   
        #[test]
 4644   6188   
        fn regex_compiles() {
 4645   6189   
            crate::input::malformed_pattern_override_input::String::compile_regex();
 4646   6190   
        }
        6191  +
        6192  +
        /* ConstrainedStringGenerator.kt:205 */
 4647   6193   
    }
 4648   6194   
 4649   6195   
    /// See [`MalformedPatternOverrideInputString`](crate::input::malformed_pattern_override_input::String).
 4650   6196   
    pub mod string {
 4651   6197   
        6198  +
        /* ConstrainedStringGenerator.kt:155 */
 4652   6199   
        #[derive(Debug, PartialEq)]
 4653   6200   
        pub enum ConstraintViolation {
 4654   6201   
            /// Error when a string doesn't satisfy its `@pattern`.
 4655   6202   
            /// Contains the String that failed the pattern.
 4656   6203   
            Pattern(String),
 4657   6204   
        }
 4658   6205   
 4659   6206   
        impl ::std::fmt::Display for ConstraintViolation {
 4660   6207   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 4661   6208   
                let message = match self {
 4662   6209   
                    Self::Pattern(_) => {
 4663   6210   
                        format!(
 4664   6211   
                            r#"Value provided for `aws.protocoltests.restjson.validation.synthetic#MalformedPatternOverrideInputString` failed to satisfy the constraint: Member must match the regular expression pattern: {}"#,
 4665   6212   
                            r#"^[g-m]+$"#
 4666   6213   
                        )
 4667   6214   
                    }
 4668   6215   
                };
 4669   6216   
                write!(f, "{message}")
 4670   6217   
            }
 4671   6218   
        }
 4672   6219   
 4673   6220   
        impl ::std::error::Error for ConstraintViolation {}
        6221  +
        /* ConstrainedStringGenerator.kt:180 */
 4674   6222   
        impl ConstraintViolation {
 4675   6223   
            pub(crate) fn as_validation_exception_field(
 4676   6224   
                self,
 4677   6225   
                path: ::std::string::String,
 4678   6226   
            ) -> crate::model::ValidationExceptionField {
 4679   6227   
                match self {
 4680   6228   
                                #[allow(unused_variables)]
 4681   6229   
        Self::Pattern(_) => crate::model::ValidationExceptionField {
 4682   6230   
                                message: format!("Value at '{}' failed to satisfy constraint: Member must satisfy regular expression pattern: {}", &path, r#"^[g-m]+$"#),
 4683   6231   
                                path
 4684   6232   
                            },
 4685   6233   
                            }
 4686   6234   
            }
 4687   6235   
        }
 4688   6236   
    }
        6237  +
        6238  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4689   6239   
}
 4690         -
/// See [`MalformedPatternInput`](crate::input::MalformedPatternInput).
        6240  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedPatternInput`](crate::input::MalformedPatternInput).
 4691   6241   
pub mod malformed_pattern_input {
 4692   6242   
        6243  +
    /* RustType.kt:516 */
 4693   6244   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 4694         -
    /// Holds one variant for each of the ways the builder can fail.
        6245  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6246  +
    /* RustType.kt:516 */
 4695   6247   
    #[non_exhaustive]
        6248  +
    /* ServerBuilderConstraintViolations.kt:75 */
 4696   6249   
    #[allow(clippy::enum_variant_names)]
 4697   6250   
    pub enum ConstraintViolation {
 4698         -
        /// Constraint violation occurred building member `string` when building `MalformedPatternInput`.
        6251  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `MalformedPatternInput`.
        6252  +
        /* RustType.kt:516 */
 4699   6253   
        #[doc(hidden)]
        6254  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4700   6255   
        String(crate::model::pattern_string::ConstraintViolation),
 4701         -
        /// Constraint violation occurred building member `evil_string` when building `MalformedPatternInput`.
        6256  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `evil_string` when building `MalformedPatternInput`.
        6257  +
        /* RustType.kt:516 */
 4702   6258   
        #[doc(hidden)]
        6259  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4703   6260   
        EvilString(crate::model::evil_string::ConstraintViolation),
 4704         -
        /// Constraint violation occurred building member `list` when building `MalformedPatternInput`.
        6261  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list` when building `MalformedPatternInput`.
        6262  +
        /* RustType.kt:516 */
 4705   6263   
        #[doc(hidden)]
        6264  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4706   6265   
        List(crate::model::pattern_list::ConstraintViolation),
 4707         -
        /// Constraint violation occurred building member `map` when building `MalformedPatternInput`.
        6266  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map` when building `MalformedPatternInput`.
        6267  +
        /* RustType.kt:516 */
 4708   6268   
        #[doc(hidden)]
        6269  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4709   6270   
        Map(crate::model::pattern_map::ConstraintViolation),
 4710         -
        /// Constraint violation occurred building member `union` when building `MalformedPatternInput`.
        6271  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `union` when building `MalformedPatternInput`.
        6272  +
        /* RustType.kt:516 */
 4711   6273   
        #[doc(hidden)]
        6274  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4712   6275   
        Union(crate::model::pattern_union::ConstraintViolation),
        6276  +
        /* ServerBuilderConstraintViolations.kt:75 */
 4713   6277   
    }
        6278  +
    /* ServerBuilderConstraintViolations.kt:117 */
 4714   6279   
    impl ::std::fmt::Display for ConstraintViolation {
        6280  +
        /* ServerBuilderConstraintViolations.kt:118 */
 4715   6281   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6282  +
            /* ServerBuilderConstraintViolations.kt:119 */
 4716   6283   
            match self {
 4717         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedPatternInput`"),
 4718         -
                ConstraintViolation::EvilString(_) => write!(f, "constraint violation occurred building member `evil_string` when building `MalformedPatternInput`"),
 4719         -
                ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedPatternInput`"),
 4720         -
                ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedPatternInput`"),
 4721         -
                ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `MalformedPatternInput`"),
 4722         -
            }
        6284  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedPatternInput`"),
        6285  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::EvilString(_) => write!(f, "constraint violation occurred building member `evil_string` when building `MalformedPatternInput`"),
        6286  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedPatternInput`"),
        6287  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedPatternInput`"),
        6288  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `MalformedPatternInput`"),
        6289  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        6290  +
            /* ServerBuilderConstraintViolations.kt:118 */
 4723   6291   
        }
        6292  +
        /* ServerBuilderConstraintViolations.kt:117 */
 4724   6293   
    }
        6294  +
    /* ServerBuilderConstraintViolations.kt:84 */
 4725   6295   
    impl ::std::error::Error for ConstraintViolation {}
        6296  +
    /* ServerBuilderConstraintViolations.kt:171 */
 4726   6297   
    impl ConstraintViolation {
 4727   6298   
        pub(crate) fn as_validation_exception_field(
 4728   6299   
            self,
 4729   6300   
            path: ::std::string::String,
 4730   6301   
        ) -> crate::model::ValidationExceptionField {
 4731   6302   
            match self {
 4732   6303   
                ConstraintViolation::String(inner) => {
 4733   6304   
                    inner.as_validation_exception_field(path + "/string")
 4734   6305   
                }
 4735   6306   
                ConstraintViolation::EvilString(inner) => {
 4736   6307   
                    inner.as_validation_exception_field(path + "/evilString")
 4737   6308   
                }
 4738   6309   
                ConstraintViolation::List(inner) => {
 4739   6310   
                    inner.as_validation_exception_field(path + "/list")
 4740   6311   
                }
 4741   6312   
                ConstraintViolation::Map(inner) => {
 4742   6313   
                    inner.as_validation_exception_field(path + "/map")
 4743   6314   
                }
 4744   6315   
                ConstraintViolation::Union(inner) => {
 4745   6316   
                    inner.as_validation_exception_field(path + "/union")
 4746   6317   
                }
 4747   6318   
            }
 4748   6319   
        }
 4749   6320   
    }
        6321  +
    /* ServerBuilderGenerator.kt:234 */
 4750   6322   
    impl ::std::convert::From<ConstraintViolation>
 4751   6323   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4752   6324   
    {
 4753   6325   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4754   6326   
            let first_validation_exception_field =
 4755   6327   
                constraint_violation.as_validation_exception_field("".to_owned());
 4756   6328   
            let validation_exception = crate::error::ValidationException {
 4757   6329   
                message: format!(
 4758   6330   
                    "1 validation error detected. {}",
 4759   6331   
                    &first_validation_exception_field.message
 4760   6332   
                ),
 4761   6333   
                field_list: Some(vec![first_validation_exception_field]),
 4762   6334   
            };
 4763   6335   
            Self::ConstraintViolation(
 4764   6336   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 4765   6337   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 4766   6338   
                            )
 4767   6339   
        }
 4768   6340   
    }
        6341  +
    /* ServerBuilderGenerator.kt:244 */
 4769   6342   
    impl ::std::convert::From<Builder>
 4770   6343   
        for crate::constrained::MaybeConstrained<crate::input::MalformedPatternInput>
 4771   6344   
    {
 4772   6345   
        fn from(builder: Builder) -> Self {
 4773   6346   
            Self::Unconstrained(builder)
 4774   6347   
        }
 4775   6348   
    }
        6349  +
    /* ServerBuilderGenerator.kt:446 */
 4776   6350   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedPatternInput {
 4777   6351   
        type Error = ConstraintViolation;
 4778   6352   
 4779   6353   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 4780   6354   
            builder.build()
 4781   6355   
        }
 4782   6356   
    }
 4783         -
    /// A builder for [`MalformedPatternInput`](crate::input::MalformedPatternInput).
        6357  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedPatternInput`](crate::input::MalformedPatternInput).
        6358  +
    /* RustType.kt:516 */
 4784   6359   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6360  +
    /* ServerBuilderGenerator.kt:211 */
 4785   6361   
    pub struct Builder {
        6362  +
        /* ServerBuilderGenerator.kt:308 */
 4786   6363   
        pub(crate) string: ::std::option::Option<
 4787   6364   
            crate::constrained::MaybeConstrained<crate::model::PatternString>,
 4788   6365   
        >,
        6366  +
        /* ServerBuilderGenerator.kt:308 */
 4789   6367   
        pub(crate) evil_string:
 4790   6368   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EvilString>>,
        6369  +
        /* ServerBuilderGenerator.kt:308 */
 4791   6370   
        pub(crate) list: ::std::option::Option<
 4792   6371   
            crate::constrained::MaybeConstrained<
 4793   6372   
                crate::constrained::pattern_list_constrained::PatternListConstrained,
 4794   6373   
            >,
 4795   6374   
        >,
        6375  +
        /* ServerBuilderGenerator.kt:308 */
 4796   6376   
        pub(crate) map: ::std::option::Option<
 4797   6377   
            crate::constrained::MaybeConstrained<
 4798   6378   
                crate::constrained::pattern_map_constrained::PatternMapConstrained,
 4799   6379   
            >,
 4800   6380   
        >,
        6381  +
        /* ServerBuilderGenerator.kt:308 */
 4801   6382   
        pub(crate) union:
 4802   6383   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::PatternUnion>>,
        6384  +
        /* ServerBuilderGenerator.kt:211 */
 4803   6385   
    }
        6386  +
    /* ServerBuilderGenerator.kt:215 */
 4804   6387   
    impl Builder {
        6388  +
        /* ServerBuilderGenerator.kt:331 */
 4805   6389   
        #[allow(missing_docs)] // documentation missing in model
        6390  +
                               /* ServerBuilderGenerator.kt:343 */
 4806   6391   
        pub fn string(mut self, input: ::std::option::Option<crate::model::PatternString>) -> Self {
 4807         -
            self.string = input.map(
 4808         -
                #[allow(clippy::redundant_closure)]
 4809         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4810         -
            );
        6392  +
            /* ServerBuilderGenerator.kt:344 */
        6393  +
            self.string =
        6394  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6395  +
            /* ServerBuilderGenerator.kt:344 */;
 4811   6396   
            self
        6397  +
            /* ServerBuilderGenerator.kt:343 */
 4812   6398   
        }
        6399  +
        /* ServerBuilderGenerator.kt:426 */
 4813   6400   
        #[allow(missing_docs)] // documentation missing in model
        6401  +
                               /* ServerBuilderGenerator.kt:428 */
 4814   6402   
        pub(crate) fn set_string(
 4815   6403   
            mut self,
 4816   6404   
            input: Option<
 4817   6405   
                impl ::std::convert::Into<
 4818   6406   
                    crate::constrained::MaybeConstrained<crate::model::PatternString>,
 4819   6407   
                >,
 4820   6408   
            >,
 4821   6409   
        ) -> Self {
        6410  +
            /* ServerBuilderGenerator.kt:429 */
 4822   6411   
            self.string = input.map(|v| v.into());
 4823   6412   
            self
        6413  +
            /* ServerBuilderGenerator.kt:428 */
 4824   6414   
        }
        6415  +
        /* ServerBuilderGenerator.kt:331 */
 4825   6416   
        #[allow(missing_docs)] // documentation missing in model
        6417  +
                               /* ServerBuilderGenerator.kt:343 */
 4826   6418   
        pub fn evil_string(
 4827   6419   
            mut self,
 4828   6420   
            input: ::std::option::Option<crate::model::EvilString>,
 4829   6421   
        ) -> Self {
 4830         -
            self.evil_string = input.map(
 4831         -
                #[allow(clippy::redundant_closure)]
 4832         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4833         -
            );
        6422  +
            /* ServerBuilderGenerator.kt:344 */
        6423  +
            self.evil_string =
        6424  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6425  +
            /* ServerBuilderGenerator.kt:344 */;
 4834   6426   
            self
        6427  +
            /* ServerBuilderGenerator.kt:343 */
 4835   6428   
        }
        6429  +
        /* ServerBuilderGenerator.kt:426 */
 4836   6430   
        #[allow(missing_docs)] // documentation missing in model
        6431  +
                               /* ServerBuilderGenerator.kt:428 */
 4837   6432   
        pub(crate) fn set_evil_string(
 4838   6433   
            mut self,
 4839   6434   
            input: Option<
 4840   6435   
                impl ::std::convert::Into<
 4841   6436   
                    crate::constrained::MaybeConstrained<crate::model::EvilString>,
 4842   6437   
                >,
 4843   6438   
            >,
 4844   6439   
        ) -> Self {
        6440  +
            /* ServerBuilderGenerator.kt:429 */
 4845   6441   
            self.evil_string = input.map(|v| v.into());
 4846   6442   
            self
        6443  +
            /* ServerBuilderGenerator.kt:428 */
 4847   6444   
        }
        6445  +
        /* ServerBuilderGenerator.kt:331 */
 4848   6446   
        #[allow(missing_docs)] // documentation missing in model
        6447  +
                               /* ServerBuilderGenerator.kt:343 */
 4849   6448   
        pub fn list(
 4850   6449   
            mut self,
 4851   6450   
            input: ::std::option::Option<::std::vec::Vec<crate::model::PatternString>>,
 4852   6451   
        ) -> Self {
 4853         -
            self.list = input.map(
 4854         -
                #[allow(clippy::redundant_closure)]
 4855         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 4856         -
            );
        6452  +
            /* ServerBuilderGenerator.kt:344 */
        6453  +
            self.list =
        6454  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        6455  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        6456  +
                /* ServerBuilderGenerator.kt:369 */)
        6457  +
            /* ServerBuilderGenerator.kt:344 */;
 4857   6458   
            self
        6459  +
            /* ServerBuilderGenerator.kt:343 */
 4858   6460   
        }
        6461  +
        /* ServerBuilderGenerator.kt:426 */
 4859   6462   
        #[allow(missing_docs)] // documentation missing in model
        6463  +
                               /* ServerBuilderGenerator.kt:428 */
 4860   6464   
        pub(crate) fn set_list(
 4861   6465   
            mut self,
 4862   6466   
            input: Option<
 4863   6467   
                impl ::std::convert::Into<
 4864   6468   
                    crate::constrained::MaybeConstrained<
 4865   6469   
                        crate::constrained::pattern_list_constrained::PatternListConstrained,
 4866   6470   
                    >,
 4867   6471   
                >,
 4868   6472   
            >,
 4869   6473   
        ) -> Self {
        6474  +
            /* ServerBuilderGenerator.kt:429 */
 4870   6475   
            self.list = input.map(|v| v.into());
 4871   6476   
            self
        6477  +
            /* ServerBuilderGenerator.kt:428 */
 4872   6478   
        }
        6479  +
        /* ServerBuilderGenerator.kt:331 */
 4873   6480   
        #[allow(missing_docs)] // documentation missing in model
        6481  +
                               /* ServerBuilderGenerator.kt:343 */
 4874   6482   
        pub fn map(
 4875   6483   
            mut self,
 4876   6484   
            input: ::std::option::Option<
 4877   6485   
                ::std::collections::HashMap<
 4878   6486   
                    crate::model::PatternString,
 4879   6487   
                    crate::model::PatternString,
 4880   6488   
                >,
 4881   6489   
            >,
 4882   6490   
        ) -> Self {
 4883         -
            self.map = input.map(
 4884         -
                #[allow(clippy::redundant_closure)]
 4885         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 4886         -
            );
        6491  +
            /* ServerBuilderGenerator.kt:344 */
        6492  +
            self.map =
        6493  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        6494  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        6495  +
                /* ServerBuilderGenerator.kt:369 */)
        6496  +
            /* ServerBuilderGenerator.kt:344 */;
 4887   6497   
            self
        6498  +
            /* ServerBuilderGenerator.kt:343 */
 4888   6499   
        }
        6500  +
        /* ServerBuilderGenerator.kt:426 */
 4889   6501   
        #[allow(missing_docs)] // documentation missing in model
        6502  +
                               /* ServerBuilderGenerator.kt:428 */
 4890   6503   
        pub(crate) fn set_map(
 4891   6504   
            mut self,
 4892   6505   
            input: Option<
 4893   6506   
                impl ::std::convert::Into<
 4894   6507   
                    crate::constrained::MaybeConstrained<
 4895   6508   
                        crate::constrained::pattern_map_constrained::PatternMapConstrained,
 4896   6509   
                    >,
 4897   6510   
                >,
 4898   6511   
            >,
 4899   6512   
        ) -> Self {
        6513  +
            /* ServerBuilderGenerator.kt:429 */
 4900   6514   
            self.map = input.map(|v| v.into());
 4901   6515   
            self
        6516  +
            /* ServerBuilderGenerator.kt:428 */
 4902   6517   
        }
        6518  +
        /* ServerBuilderGenerator.kt:331 */
 4903   6519   
        #[allow(missing_docs)] // documentation missing in model
        6520  +
                               /* ServerBuilderGenerator.kt:343 */
 4904   6521   
        pub fn union(mut self, input: ::std::option::Option<crate::model::PatternUnion>) -> Self {
 4905         -
            self.union = input.map(
 4906         -
                #[allow(clippy::redundant_closure)]
 4907         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 4908         -
            );
        6522  +
            /* ServerBuilderGenerator.kt:344 */
        6523  +
            self.union =
        6524  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6525  +
            /* ServerBuilderGenerator.kt:344 */;
 4909   6526   
            self
        6527  +
            /* ServerBuilderGenerator.kt:343 */
 4910   6528   
        }
        6529  +
        /* ServerBuilderGenerator.kt:426 */
 4911   6530   
        #[allow(missing_docs)] // documentation missing in model
        6531  +
                               /* ServerBuilderGenerator.kt:428 */
 4912   6532   
        pub(crate) fn set_union(
 4913   6533   
            mut self,
 4914   6534   
            input: Option<
 4915   6535   
                impl ::std::convert::Into<
 4916   6536   
                    crate::constrained::MaybeConstrained<crate::model::PatternUnion>,
 4917   6537   
                >,
 4918   6538   
            >,
 4919   6539   
        ) -> Self {
        6540  +
            /* ServerBuilderGenerator.kt:429 */
 4920   6541   
            self.union = input.map(|v| v.into());
 4921   6542   
            self
        6543  +
            /* ServerBuilderGenerator.kt:428 */
 4922   6544   
        }
 4923         -
        /// Consumes the builder and constructs a [`MalformedPatternInput`](crate::input::MalformedPatternInput).
 4924         -
        ///
        6545  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedPatternInput`](crate::input::MalformedPatternInput).
        6546  +
        /// /* ServerBuilderGenerator.kt:260 */
 4925   6547   
        /// The builder fails to construct a [`MalformedPatternInput`](crate::input::MalformedPatternInput) if a [`ConstraintViolation`] occurs.
 4926   6548   
        ///
 4927         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        6549  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        6550  +
        /* ServerBuilderGenerator.kt:271 */
 4928   6551   
        pub fn build(self) -> Result<crate::input::MalformedPatternInput, ConstraintViolation> {
 4929   6552   
            self.build_enforcing_all_constraints()
 4930   6553   
        }
        6554  +
        /* ServerBuilderGenerator.kt:283 */
 4931   6555   
        fn build_enforcing_all_constraints(
 4932   6556   
            self,
 4933   6557   
        ) -> Result<crate::input::MalformedPatternInput, ConstraintViolation> {
 4934         -
            Ok(crate::input::MalformedPatternInput {
        6558  +
            /* ServerBuilderGenerator.kt:287 */
        6559  +
            Ok(
        6560  +
                /* ServerBuilderGenerator.kt:542 */
        6561  +
                crate::input::MalformedPatternInput {
        6562  +
                    /* ServerBuilderGenerator.kt:546 */
 4935   6563   
                    string: self
 4936   6564   
                        .string
        6565  +
                        /* ServerBuilderGenerator.kt:602 */
 4937   6566   
                        .map(|v| match v {
 4938   6567   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4939   6568   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4940   6569   
                        })
        6570  +
                        /* ServerBuilderGenerator.kt:614 */
 4941   6571   
                        .map(|res| res.map_err(ConstraintViolation::String))
 4942   6572   
                        .transpose()?,
        6573  +
                    /* ServerBuilderGenerator.kt:546 */
 4943   6574   
                    evil_string: self
 4944   6575   
                        .evil_string
        6576  +
                        /* ServerBuilderGenerator.kt:602 */
 4945   6577   
                        .map(|v| match v {
 4946   6578   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4947   6579   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4948   6580   
                        })
        6581  +
                        /* ServerBuilderGenerator.kt:614 */
 4949   6582   
                        .map(|res| res.map_err(ConstraintViolation::EvilString))
 4950   6583   
                        .transpose()?,
        6584  +
                    /* ServerBuilderGenerator.kt:546 */
 4951   6585   
                    list: self
 4952   6586   
                        .list
        6587  +
                        /* ServerBuilderGenerator.kt:602 */
 4953   6588   
                        .map(|v| match v {
 4954   6589   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4955   6590   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4956   6591   
                        })
        6592  +
                        /* ServerBuilderGenerator.kt:614 */
 4957   6593   
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::List))
 4958   6594   
                        .transpose()?,
        6595  +
                    /* ServerBuilderGenerator.kt:546 */
 4959   6596   
                    map: self
 4960   6597   
                        .map
        6598  +
                        /* ServerBuilderGenerator.kt:602 */
 4961   6599   
                        .map(|v| match v {
 4962   6600   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4963   6601   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4964   6602   
                        })
        6603  +
                        /* ServerBuilderGenerator.kt:614 */
 4965   6604   
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::Map))
 4966   6605   
                        .transpose()?,
        6606  +
                    /* ServerBuilderGenerator.kt:546 */
 4967   6607   
                    union: self
 4968   6608   
                        .union
        6609  +
                        /* ServerBuilderGenerator.kt:602 */
 4969   6610   
                        .map(|v| match v {
 4970   6611   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 4971   6612   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 4972   6613   
                        })
        6614  +
                        /* ServerBuilderGenerator.kt:614 */
 4973   6615   
                        .map(|res| res.map_err(ConstraintViolation::Union))
 4974   6616   
                        .transpose()?,
 4975         -
            })
        6617  +
                    /* ServerBuilderGenerator.kt:542 */
        6618  +
                }, /* ServerBuilderGenerator.kt:287 */
        6619  +
            )
        6620  +
            /* ServerBuilderGenerator.kt:283 */
 4976   6621   
        }
        6622  +
        /* ServerBuilderGenerator.kt:215 */
 4977   6623   
    }
        6624  +
        6625  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 4978   6626   
}
 4979         -
/// See [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
        6627  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
 4980   6628   
pub mod malformed_length_query_string_input {
 4981   6629   
        6630  +
    /* RustType.kt:516 */
 4982   6631   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 4983         -
    /// Holds one variant for each of the ways the builder can fail.
        6632  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6633  +
    /* RustType.kt:516 */
 4984   6634   
    #[non_exhaustive]
        6635  +
    /* ServerBuilderConstraintViolations.kt:75 */
 4985   6636   
    #[allow(clippy::enum_variant_names)]
 4986   6637   
    pub enum ConstraintViolation {
 4987         -
        /// Constraint violation occurred building member `string` when building `MalformedLengthQueryStringInput`.
        6638  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `MalformedLengthQueryStringInput`.
        6639  +
        /* RustType.kt:516 */
 4988   6640   
        #[doc(hidden)]
        6641  +
        /* ServerBuilderConstraintViolations.kt:164 */
 4989   6642   
        String(crate::model::length_string::ConstraintViolation),
        6643  +
        /* ServerBuilderConstraintViolations.kt:75 */
 4990   6644   
    }
        6645  +
    /* ServerBuilderConstraintViolations.kt:117 */
 4991   6646   
    impl ::std::fmt::Display for ConstraintViolation {
        6647  +
        /* ServerBuilderConstraintViolations.kt:118 */
 4992   6648   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6649  +
            /* ServerBuilderConstraintViolations.kt:119 */
 4993   6650   
            match self {
 4994         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedLengthQueryStringInput`"),
 4995         -
            }
        6651  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedLengthQueryStringInput`"),
        6652  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        6653  +
            /* ServerBuilderConstraintViolations.kt:118 */
 4996   6654   
        }
        6655  +
        /* ServerBuilderConstraintViolations.kt:117 */
 4997   6656   
    }
        6657  +
    /* ServerBuilderConstraintViolations.kt:84 */
 4998   6658   
    impl ::std::error::Error for ConstraintViolation {}
        6659  +
    /* ServerBuilderConstraintViolations.kt:171 */
 4999   6660   
    impl ConstraintViolation {
 5000   6661   
        pub(crate) fn as_validation_exception_field(
 5001   6662   
            self,
 5002   6663   
            path: ::std::string::String,
 5003   6664   
        ) -> crate::model::ValidationExceptionField {
 5004   6665   
            match self {
 5005   6666   
                ConstraintViolation::String(inner) => {
 5006   6667   
                    inner.as_validation_exception_field(path + "/string")
 5007   6668   
                }
 5008   6669   
            }
 5009   6670   
        }
 5010   6671   
    }
        6672  +
    /* ServerBuilderGenerator.kt:234 */
 5011   6673   
    impl ::std::convert::From<ConstraintViolation>
 5012   6674   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 5013   6675   
    {
 5014   6676   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 5015   6677   
            let first_validation_exception_field =
 5016   6678   
                constraint_violation.as_validation_exception_field("".to_owned());
 5017   6679   
            let validation_exception = crate::error::ValidationException {
 5018   6680   
                message: format!(
 5019   6681   
                    "1 validation error detected. {}",
 5020   6682   
                    &first_validation_exception_field.message
 5021   6683   
                ),
 5022   6684   
                field_list: Some(vec![first_validation_exception_field]),
 5023   6685   
            };
 5024   6686   
            Self::ConstraintViolation(
 5025   6687   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 5026   6688   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 5027   6689   
                            )
 5028   6690   
        }
 5029   6691   
    }
        6692  +
    /* ServerBuilderGenerator.kt:244 */
 5030   6693   
    impl ::std::convert::From<Builder>
 5031   6694   
        for crate::constrained::MaybeConstrained<crate::input::MalformedLengthQueryStringInput>
 5032   6695   
    {
 5033   6696   
        fn from(builder: Builder) -> Self {
 5034   6697   
            Self::Unconstrained(builder)
 5035   6698   
        }
 5036   6699   
    }
        6700  +
    /* ServerBuilderGenerator.kt:446 */
 5037   6701   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedLengthQueryStringInput {
 5038   6702   
        type Error = ConstraintViolation;
 5039   6703   
 5040   6704   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 5041   6705   
            builder.build()
 5042   6706   
        }
 5043   6707   
    }
 5044         -
    /// A builder for [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
        6708  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
        6709  +
    /* RustType.kt:516 */
 5045   6710   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6711  +
    /* ServerBuilderGenerator.kt:211 */
 5046   6712   
    pub struct Builder {
        6713  +
        /* ServerBuilderGenerator.kt:308 */
 5047   6714   
        pub(crate) string:
 5048   6715   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        6716  +
        /* ServerBuilderGenerator.kt:211 */
 5049   6717   
    }
        6718  +
    /* ServerBuilderGenerator.kt:215 */
 5050   6719   
    impl Builder {
        6720  +
        /* ServerBuilderGenerator.kt:331 */
 5051   6721   
        #[allow(missing_docs)] // documentation missing in model
        6722  +
                               /* ServerBuilderGenerator.kt:343 */
 5052   6723   
        pub fn string(mut self, input: ::std::option::Option<crate::model::LengthString>) -> Self {
 5053         -
            self.string = input.map(
 5054         -
                #[allow(clippy::redundant_closure)]
 5055         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5056         -
            );
        6724  +
            /* ServerBuilderGenerator.kt:344 */
        6725  +
            self.string =
        6726  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6727  +
            /* ServerBuilderGenerator.kt:344 */;
 5057   6728   
            self
        6729  +
            /* ServerBuilderGenerator.kt:343 */
 5058   6730   
        }
        6731  +
        /* ServerBuilderGenerator.kt:426 */
 5059   6732   
        #[allow(missing_docs)] // documentation missing in model
        6733  +
                               /* ServerBuilderGenerator.kt:428 */
 5060   6734   
        pub(crate) fn set_string(
 5061   6735   
            mut self,
 5062   6736   
            input: Option<
 5063   6737   
                impl ::std::convert::Into<
 5064   6738   
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 5065   6739   
                >,
 5066   6740   
            >,
 5067   6741   
        ) -> Self {
        6742  +
            /* ServerBuilderGenerator.kt:429 */
 5068   6743   
            self.string = input.map(|v| v.into());
 5069   6744   
            self
        6745  +
            /* ServerBuilderGenerator.kt:428 */
 5070   6746   
        }
 5071         -
        /// Consumes the builder and constructs a [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
 5072         -
        ///
        6747  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput).
        6748  +
        /// /* ServerBuilderGenerator.kt:260 */
 5073   6749   
        /// The builder fails to construct a [`MalformedLengthQueryStringInput`](crate::input::MalformedLengthQueryStringInput) if a [`ConstraintViolation`] occurs.
 5074   6750   
        ///
        6751  +
        /* ServerBuilderGenerator.kt:271 */
 5075   6752   
        pub fn build(
 5076   6753   
            self,
 5077   6754   
        ) -> Result<crate::input::MalformedLengthQueryStringInput, ConstraintViolation> {
 5078   6755   
            self.build_enforcing_all_constraints()
 5079   6756   
        }
        6757  +
        /* ServerBuilderGenerator.kt:283 */
 5080   6758   
        fn build_enforcing_all_constraints(
 5081   6759   
            self,
 5082   6760   
        ) -> Result<crate::input::MalformedLengthQueryStringInput, ConstraintViolation> {
 5083         -
            Ok(crate::input::MalformedLengthQueryStringInput {
        6761  +
            /* ServerBuilderGenerator.kt:287 */
        6762  +
            Ok(
        6763  +
                /* ServerBuilderGenerator.kt:542 */
        6764  +
                crate::input::MalformedLengthQueryStringInput {
        6765  +
                    /* ServerBuilderGenerator.kt:546 */
 5084   6766   
                    string: self
 5085   6767   
                        .string
        6768  +
                        /* ServerBuilderGenerator.kt:602 */
 5086   6769   
                        .map(|v| match v {
 5087   6770   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5088   6771   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5089   6772   
                        })
        6773  +
                        /* ServerBuilderGenerator.kt:614 */
 5090   6774   
                        .map(|res| res.map_err(ConstraintViolation::String))
 5091   6775   
                        .transpose()?,
 5092         -
            })
        6776  +
                    /* ServerBuilderGenerator.kt:542 */
        6777  +
                }, /* ServerBuilderGenerator.kt:287 */
        6778  +
            )
        6779  +
            /* ServerBuilderGenerator.kt:283 */
 5093   6780   
        }
        6781  +
        /* ServerBuilderGenerator.kt:215 */
 5094   6782   
    }
        6783  +
        6784  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 5095   6785   
}
 5096         -
/// See [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
        6786  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
 5097   6787   
pub mod malformed_length_override_input {
 5098   6788   
        6789  +
    /* RustType.kt:516 */
 5099   6790   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 5100         -
    /// Holds one variant for each of the ways the builder can fail.
        6791  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        6792  +
    /* RustType.kt:516 */
 5101   6793   
    #[non_exhaustive]
        6794  +
    /* ServerBuilderConstraintViolations.kt:75 */
 5102   6795   
    #[allow(clippy::enum_variant_names)]
 5103   6796   
    pub enum ConstraintViolation {
 5104         -
        /// Constraint violation occurred building member `blob` when building `MalformedLengthOverrideInput`.
        6797  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `blob` when building `MalformedLengthOverrideInput`.
        6798  +
        /* RustType.kt:516 */
 5105   6799   
        #[doc(hidden)]
        6800  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5106   6801   
        Blob(crate::input::malformed_length_override_input::blob::ConstraintViolation),
 5107         -
        /// Constraint violation occurred building member `string` when building `MalformedLengthOverrideInput`.
        6802  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `MalformedLengthOverrideInput`.
        6803  +
        /* RustType.kt:516 */
 5108   6804   
        #[doc(hidden)]
        6805  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5109   6806   
        String(crate::input::malformed_length_override_input::string::ConstraintViolation),
 5110         -
        /// Constraint violation occurred building member `min_string` when building `MalformedLengthOverrideInput`.
        6807  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_string` when building `MalformedLengthOverrideInput`.
        6808  +
        /* RustType.kt:516 */
 5111   6809   
        #[doc(hidden)]
        6810  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5112   6811   
        MinString(crate::input::malformed_length_override_input::min_string::ConstraintViolation),
 5113         -
        /// Constraint violation occurred building member `max_string` when building `MalformedLengthOverrideInput`.
        6812  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_string` when building `MalformedLengthOverrideInput`.
        6813  +
        /* RustType.kt:516 */
 5114   6814   
        #[doc(hidden)]
        6815  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5115   6816   
        MaxString(crate::input::malformed_length_override_input::max_string::ConstraintViolation),
 5116         -
        /// Constraint violation occurred building member `list` when building `MalformedLengthOverrideInput`.
        6817  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list` when building `MalformedLengthOverrideInput`.
        6818  +
        /* RustType.kt:516 */
 5117   6819   
        #[doc(hidden)]
        6820  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5118   6821   
        List(crate::input::malformed_length_override_input::list::ConstraintViolation),
 5119         -
        /// Constraint violation occurred building member `map` when building `MalformedLengthOverrideInput`.
        6822  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map` when building `MalformedLengthOverrideInput`.
        6823  +
        /* RustType.kt:516 */
 5120   6824   
        #[doc(hidden)]
        6825  +
        /* ServerBuilderConstraintViolations.kt:164 */
 5121   6826   
        Map(crate::input::malformed_length_override_input::map::ConstraintViolation),
        6827  +
        /* ServerBuilderConstraintViolations.kt:75 */
 5122   6828   
    }
        6829  +
    /* ServerBuilderConstraintViolations.kt:117 */
 5123   6830   
    impl ::std::fmt::Display for ConstraintViolation {
        6831  +
        /* ServerBuilderConstraintViolations.kt:118 */
 5124   6832   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        6833  +
            /* ServerBuilderConstraintViolations.kt:119 */
 5125   6834   
            match self {
 5126         -
                ConstraintViolation::Blob(_) => write!(f, "constraint violation occurred building member `blob` when building `MalformedLengthOverrideInput`"),
 5127         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedLengthOverrideInput`"),
 5128         -
                ConstraintViolation::MinString(_) => write!(f, "constraint violation occurred building member `min_string` when building `MalformedLengthOverrideInput`"),
 5129         -
                ConstraintViolation::MaxString(_) => write!(f, "constraint violation occurred building member `max_string` when building `MalformedLengthOverrideInput`"),
 5130         -
                ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedLengthOverrideInput`"),
 5131         -
                ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedLengthOverrideInput`"),
 5132         -
            }
 5133         -
        }
 5134         -
    }
        6835  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Blob(_) => write!(f, "constraint violation occurred building member `blob` when building `MalformedLengthOverrideInput`"),
        6836  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedLengthOverrideInput`"),
        6837  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinString(_) => write!(f, "constraint violation occurred building member `min_string` when building `MalformedLengthOverrideInput`"),
        6838  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxString(_) => write!(f, "constraint violation occurred building member `max_string` when building `MalformedLengthOverrideInput`"),
        6839  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedLengthOverrideInput`"),
        6840  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedLengthOverrideInput`"),
        6841  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        6842  +
            /* ServerBuilderConstraintViolations.kt:118 */
        6843  +
        }
        6844  +
        /* ServerBuilderConstraintViolations.kt:117 */
        6845  +
    }
        6846  +
    /* ServerBuilderConstraintViolations.kt:84 */
 5135   6847   
    impl ::std::error::Error for ConstraintViolation {}
        6848  +
    /* ServerBuilderConstraintViolations.kt:171 */
 5136   6849   
    impl ConstraintViolation {
 5137   6850   
        pub(crate) fn as_validation_exception_field(
 5138   6851   
            self,
 5139   6852   
            path: ::std::string::String,
 5140   6853   
        ) -> crate::model::ValidationExceptionField {
 5141   6854   
            match self {
 5142   6855   
                ConstraintViolation::Blob(inner) => {
 5143   6856   
                    inner.as_validation_exception_field(path + "/blob")
 5144   6857   
                }
 5145   6858   
                ConstraintViolation::String(inner) => {
 5146   6859   
                    inner.as_validation_exception_field(path + "/string")
 5147   6860   
                }
 5148   6861   
                ConstraintViolation::MinString(inner) => {
 5149   6862   
                    inner.as_validation_exception_field(path + "/minString")
 5150   6863   
                }
 5151   6864   
                ConstraintViolation::MaxString(inner) => {
 5152   6865   
                    inner.as_validation_exception_field(path + "/maxString")
 5153   6866   
                }
 5154   6867   
                ConstraintViolation::List(inner) => {
 5155   6868   
                    inner.as_validation_exception_field(path + "/list")
 5156   6869   
                }
 5157   6870   
                ConstraintViolation::Map(inner) => {
 5158   6871   
                    inner.as_validation_exception_field(path + "/map")
 5159   6872   
                }
 5160   6873   
            }
 5161   6874   
        }
 5162   6875   
    }
        6876  +
    /* ServerBuilderGenerator.kt:234 */
 5163   6877   
    impl ::std::convert::From<ConstraintViolation>
 5164   6878   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 5165   6879   
    {
 5166   6880   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 5167   6881   
            let first_validation_exception_field =
 5168   6882   
                constraint_violation.as_validation_exception_field("".to_owned());
 5169   6883   
            let validation_exception = crate::error::ValidationException {
 5170   6884   
                message: format!(
 5171   6885   
                    "1 validation error detected. {}",
 5172   6886   
                    &first_validation_exception_field.message
 5173   6887   
                ),
 5174   6888   
                field_list: Some(vec![first_validation_exception_field]),
 5175   6889   
            };
 5176   6890   
            Self::ConstraintViolation(
 5177   6891   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 5178   6892   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 5179   6893   
                            )
 5180   6894   
        }
 5181   6895   
    }
        6896  +
    /* ServerBuilderGenerator.kt:244 */
 5182   6897   
    impl ::std::convert::From<Builder>
 5183   6898   
        for crate::constrained::MaybeConstrained<crate::input::MalformedLengthOverrideInput>
 5184   6899   
    {
 5185   6900   
        fn from(builder: Builder) -> Self {
 5186   6901   
            Self::Unconstrained(builder)
 5187   6902   
        }
 5188   6903   
    }
        6904  +
    /* ServerBuilderGenerator.kt:446 */
 5189   6905   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedLengthOverrideInput {
 5190   6906   
        type Error = ConstraintViolation;
 5191   6907   
 5192   6908   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 5193   6909   
            builder.build()
 5194   6910   
        }
 5195   6911   
    }
 5196         -
    /// A builder for [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
        6912  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
        6913  +
    /* RustType.kt:516 */
 5197   6914   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        6915  +
    /* ServerBuilderGenerator.kt:211 */
 5198   6916   
    pub struct Builder {
        6917  +
        /* ServerBuilderGenerator.kt:308 */
 5199   6918   
        pub(crate) blob: ::std::option::Option<
 5200   6919   
            crate::constrained::MaybeConstrained<
 5201   6920   
                crate::input::malformed_length_override_input::Blob,
 5202   6921   
            >,
 5203   6922   
        >,
        6923  +
        /* ServerBuilderGenerator.kt:308 */
 5204   6924   
        pub(crate) string: ::std::option::Option<
 5205   6925   
            crate::constrained::MaybeConstrained<
 5206   6926   
                crate::input::malformed_length_override_input::String,
 5207   6927   
            >,
 5208   6928   
        >,
        6929  +
        /* ServerBuilderGenerator.kt:308 */
 5209   6930   
        pub(crate) min_string: ::std::option::Option<
 5210   6931   
            crate::constrained::MaybeConstrained<
 5211   6932   
                crate::input::malformed_length_override_input::MinString,
 5212   6933   
            >,
 5213   6934   
        >,
        6935  +
        /* ServerBuilderGenerator.kt:308 */
 5214   6936   
        pub(crate) max_string: ::std::option::Option<
 5215   6937   
            crate::constrained::MaybeConstrained<
 5216   6938   
                crate::input::malformed_length_override_input::MaxString,
 5217   6939   
            >,
 5218   6940   
        >,
        6941  +
        /* ServerBuilderGenerator.kt:308 */
 5219   6942   
        pub(crate) list: ::std::option::Option<
 5220   6943   
            crate::constrained::MaybeConstrained<
 5221   6944   
                crate::input::malformed_length_override_input::List,
 5222   6945   
            >,
 5223   6946   
        >,
        6947  +
        /* ServerBuilderGenerator.kt:308 */
 5224   6948   
        pub(crate) map: ::std::option::Option<
 5225   6949   
            crate::constrained::MaybeConstrained<
 5226   6950   
                crate::input::malformed_length_override_input::Map,
 5227   6951   
            >,
 5228   6952   
        >,
        6953  +
        /* ServerBuilderGenerator.kt:211 */
 5229   6954   
    }
        6955  +
    /* ServerBuilderGenerator.kt:215 */
 5230   6956   
    impl Builder {
        6957  +
        /* ServerBuilderGenerator.kt:331 */
 5231   6958   
        #[allow(missing_docs)] // documentation missing in model
        6959  +
                               /* ServerBuilderGenerator.kt:343 */
 5232   6960   
        pub fn blob(
 5233   6961   
            mut self,
 5234   6962   
            input: ::std::option::Option<crate::input::malformed_length_override_input::Blob>,
 5235   6963   
        ) -> Self {
 5236         -
            self.blob = input.map(
 5237         -
                #[allow(clippy::redundant_closure)]
 5238         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5239         -
            );
        6964  +
            /* ServerBuilderGenerator.kt:344 */
        6965  +
            self.blob =
        6966  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6967  +
            /* ServerBuilderGenerator.kt:344 */;
 5240   6968   
            self
        6969  +
            /* ServerBuilderGenerator.kt:343 */
 5241   6970   
        }
        6971  +
        /* ServerBuilderGenerator.kt:426 */
 5242   6972   
        #[allow(missing_docs)] // documentation missing in model
        6973  +
                               /* ServerBuilderGenerator.kt:428 */
 5243   6974   
        pub(crate) fn set_blob(
 5244   6975   
            mut self,
 5245   6976   
            input: Option<
 5246   6977   
                impl ::std::convert::Into<
 5247   6978   
                    crate::constrained::MaybeConstrained<
 5248   6979   
                        crate::input::malformed_length_override_input::Blob,
 5249   6980   
                    >,
 5250   6981   
                >,
 5251   6982   
            >,
 5252   6983   
        ) -> Self {
        6984  +
            /* ServerBuilderGenerator.kt:429 */
 5253   6985   
            self.blob = input.map(|v| v.into());
 5254   6986   
            self
        6987  +
            /* ServerBuilderGenerator.kt:428 */
 5255   6988   
        }
        6989  +
        /* ServerBuilderGenerator.kt:331 */
 5256   6990   
        #[allow(missing_docs)] // documentation missing in model
        6991  +
                               /* ServerBuilderGenerator.kt:343 */
 5257   6992   
        pub fn string(
 5258   6993   
            mut self,
 5259   6994   
            input: ::std::option::Option<crate::input::malformed_length_override_input::String>,
 5260   6995   
        ) -> Self {
 5261         -
            self.string = input.map(
 5262         -
                #[allow(clippy::redundant_closure)]
 5263         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5264         -
            );
        6996  +
            /* ServerBuilderGenerator.kt:344 */
        6997  +
            self.string =
        6998  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        6999  +
            /* ServerBuilderGenerator.kt:344 */;
 5265   7000   
            self
        7001  +
            /* ServerBuilderGenerator.kt:343 */
 5266   7002   
        }
        7003  +
        /* ServerBuilderGenerator.kt:426 */
 5267   7004   
        #[allow(missing_docs)] // documentation missing in model
        7005  +
                               /* ServerBuilderGenerator.kt:428 */
 5268   7006   
        pub(crate) fn set_string(
 5269   7007   
            mut self,
 5270   7008   
            input: Option<
 5271   7009   
                impl ::std::convert::Into<
 5272   7010   
                    crate::constrained::MaybeConstrained<
 5273   7011   
                        crate::input::malformed_length_override_input::String,
 5274   7012   
                    >,
 5275   7013   
                >,
 5276   7014   
            >,
 5277   7015   
        ) -> Self {
        7016  +
            /* ServerBuilderGenerator.kt:429 */
 5278   7017   
            self.string = input.map(|v| v.into());
 5279   7018   
            self
        7019  +
            /* ServerBuilderGenerator.kt:428 */
 5280   7020   
        }
        7021  +
        /* ServerBuilderGenerator.kt:331 */
 5281   7022   
        #[allow(missing_docs)] // documentation missing in model
        7023  +
                               /* ServerBuilderGenerator.kt:343 */
 5282   7024   
        pub fn min_string(
 5283   7025   
            mut self,
 5284   7026   
            input: ::std::option::Option<crate::input::malformed_length_override_input::MinString>,
 5285   7027   
        ) -> Self {
 5286         -
            self.min_string = input.map(
 5287         -
                #[allow(clippy::redundant_closure)]
 5288         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5289         -
            );
        7028  +
            /* ServerBuilderGenerator.kt:344 */
        7029  +
            self.min_string =
        7030  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7031  +
            /* ServerBuilderGenerator.kt:344 */;
 5290   7032   
            self
        7033  +
            /* ServerBuilderGenerator.kt:343 */
 5291   7034   
        }
        7035  +
        /* ServerBuilderGenerator.kt:426 */
 5292   7036   
        #[allow(missing_docs)] // documentation missing in model
        7037  +
                               /* ServerBuilderGenerator.kt:428 */
 5293   7038   
        pub(crate) fn set_min_string(
 5294   7039   
            mut self,
 5295   7040   
            input: Option<
 5296   7041   
                impl ::std::convert::Into<
 5297   7042   
                    crate::constrained::MaybeConstrained<
 5298   7043   
                        crate::input::malformed_length_override_input::MinString,
 5299   7044   
                    >,
 5300   7045   
                >,
 5301   7046   
            >,
 5302   7047   
        ) -> Self {
        7048  +
            /* ServerBuilderGenerator.kt:429 */
 5303   7049   
            self.min_string = input.map(|v| v.into());
 5304   7050   
            self
        7051  +
            /* ServerBuilderGenerator.kt:428 */
 5305   7052   
        }
        7053  +
        /* ServerBuilderGenerator.kt:331 */
 5306   7054   
        #[allow(missing_docs)] // documentation missing in model
        7055  +
                               /* ServerBuilderGenerator.kt:343 */
 5307   7056   
        pub fn max_string(
 5308   7057   
            mut self,
 5309   7058   
            input: ::std::option::Option<crate::input::malformed_length_override_input::MaxString>,
 5310   7059   
        ) -> Self {
 5311         -
            self.max_string = input.map(
 5312         -
                #[allow(clippy::redundant_closure)]
 5313         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5314         -
            );
        7060  +
            /* ServerBuilderGenerator.kt:344 */
        7061  +
            self.max_string =
        7062  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7063  +
            /* ServerBuilderGenerator.kt:344 */;
 5315   7064   
            self
        7065  +
            /* ServerBuilderGenerator.kt:343 */
 5316   7066   
        }
        7067  +
        /* ServerBuilderGenerator.kt:426 */
 5317   7068   
        #[allow(missing_docs)] // documentation missing in model
        7069  +
                               /* ServerBuilderGenerator.kt:428 */
 5318   7070   
        pub(crate) fn set_max_string(
 5319   7071   
            mut self,
 5320   7072   
            input: Option<
 5321   7073   
                impl ::std::convert::Into<
 5322   7074   
                    crate::constrained::MaybeConstrained<
 5323   7075   
                        crate::input::malformed_length_override_input::MaxString,
 5324   7076   
                    >,
 5325   7077   
                >,
 5326   7078   
            >,
 5327   7079   
        ) -> Self {
        7080  +
            /* ServerBuilderGenerator.kt:429 */
 5328   7081   
            self.max_string = input.map(|v| v.into());
 5329   7082   
            self
        7083  +
            /* ServerBuilderGenerator.kt:428 */
 5330   7084   
        }
        7085  +
        /* ServerBuilderGenerator.kt:331 */
 5331   7086   
        #[allow(missing_docs)] // documentation missing in model
        7087  +
                               /* ServerBuilderGenerator.kt:343 */
 5332   7088   
        pub fn list(
 5333   7089   
            mut self,
 5334   7090   
            input: ::std::option::Option<crate::input::malformed_length_override_input::List>,
 5335   7091   
        ) -> Self {
 5336         -
            self.list = input.map(
 5337         -
                #[allow(clippy::redundant_closure)]
 5338         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5339         -
            );
        7092  +
            /* ServerBuilderGenerator.kt:344 */
        7093  +
            self.list =
        7094  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7095  +
            /* ServerBuilderGenerator.kt:344 */;
 5340   7096   
            self
        7097  +
            /* ServerBuilderGenerator.kt:343 */
 5341   7098   
        }
        7099  +
        /* ServerBuilderGenerator.kt:426 */
 5342   7100   
        #[allow(missing_docs)] // documentation missing in model
        7101  +
                               /* ServerBuilderGenerator.kt:428 */
 5343   7102   
        pub(crate) fn set_list(
 5344   7103   
            mut self,
 5345   7104   
            input: Option<
 5346   7105   
                impl ::std::convert::Into<
 5347   7106   
                    crate::constrained::MaybeConstrained<
 5348   7107   
                        crate::input::malformed_length_override_input::List,
 5349   7108   
                    >,
 5350   7109   
                >,
 5351   7110   
            >,
 5352   7111   
        ) -> Self {
        7112  +
            /* ServerBuilderGenerator.kt:429 */
 5353   7113   
            self.list = input.map(|v| v.into());
 5354   7114   
            self
        7115  +
            /* ServerBuilderGenerator.kt:428 */
 5355   7116   
        }
        7117  +
        /* ServerBuilderGenerator.kt:331 */
 5356   7118   
        #[allow(missing_docs)] // documentation missing in model
        7119  +
                               /* ServerBuilderGenerator.kt:343 */
 5357   7120   
        pub fn map(
 5358   7121   
            mut self,
 5359   7122   
            input: ::std::option::Option<crate::input::malformed_length_override_input::Map>,
 5360   7123   
        ) -> Self {
 5361         -
            self.map = input.map(
 5362         -
                #[allow(clippy::redundant_closure)]
 5363         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 5364         -
            );
        7124  +
            /* ServerBuilderGenerator.kt:344 */
        7125  +
            self.map =
        7126  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        7127  +
            /* ServerBuilderGenerator.kt:344 */;
 5365   7128   
            self
        7129  +
            /* ServerBuilderGenerator.kt:343 */
 5366   7130   
        }
        7131  +
        /* ServerBuilderGenerator.kt:426 */
 5367   7132   
        #[allow(missing_docs)] // documentation missing in model
        7133  +
                               /* ServerBuilderGenerator.kt:428 */
 5368   7134   
        pub(crate) fn set_map(
 5369   7135   
            mut self,
 5370   7136   
            input: Option<
 5371   7137   
                impl ::std::convert::Into<
 5372   7138   
                    crate::constrained::MaybeConstrained<
 5373   7139   
                        crate::input::malformed_length_override_input::Map,
 5374   7140   
                    >,
 5375   7141   
                >,
 5376   7142   
            >,
 5377   7143   
        ) -> Self {
        7144  +
            /* ServerBuilderGenerator.kt:429 */
 5378   7145   
            self.map = input.map(|v| v.into());
 5379   7146   
            self
        7147  +
            /* ServerBuilderGenerator.kt:428 */
 5380   7148   
        }
 5381         -
        /// Consumes the builder and constructs a [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
 5382         -
        ///
        7149  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput).
        7150  +
        /// /* ServerBuilderGenerator.kt:260 */
 5383   7151   
        /// The builder fails to construct a [`MalformedLengthOverrideInput`](crate::input::MalformedLengthOverrideInput) if a [`ConstraintViolation`] occurs.
 5384   7152   
        ///
 5385         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        7153  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        7154  +
        /* ServerBuilderGenerator.kt:271 */
 5386   7155   
        pub fn build(
 5387   7156   
            self,
 5388   7157   
        ) -> Result<crate::input::MalformedLengthOverrideInput, ConstraintViolation> {
 5389   7158   
            self.build_enforcing_all_constraints()
 5390   7159   
        }
        7160  +
        /* ServerBuilderGenerator.kt:283 */
 5391   7161   
        fn build_enforcing_all_constraints(
 5392   7162   
            self,
 5393   7163   
        ) -> Result<crate::input::MalformedLengthOverrideInput, ConstraintViolation> {
 5394         -
            Ok(crate::input::MalformedLengthOverrideInput {
        7164  +
            /* ServerBuilderGenerator.kt:287 */
        7165  +
            Ok(
        7166  +
                /* ServerBuilderGenerator.kt:542 */
        7167  +
                crate::input::MalformedLengthOverrideInput {
        7168  +
                    /* ServerBuilderGenerator.kt:546 */
 5395   7169   
                    blob: self
 5396   7170   
                        .blob
        7171  +
                        /* ServerBuilderGenerator.kt:602 */
 5397   7172   
                        .map(|v| match v {
 5398   7173   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5399   7174   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5400   7175   
                        })
        7176  +
                        /* ServerBuilderGenerator.kt:614 */
 5401   7177   
                        .map(|res| res.map_err(ConstraintViolation::Blob))
 5402   7178   
                        .transpose()?,
        7179  +
                    /* ServerBuilderGenerator.kt:546 */
 5403   7180   
                    string: self
 5404   7181   
                        .string
        7182  +
                        /* ServerBuilderGenerator.kt:602 */
 5405   7183   
                        .map(|v| match v {
 5406   7184   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5407   7185   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5408   7186   
                        })
        7187  +
                        /* ServerBuilderGenerator.kt:614 */
 5409   7188   
                        .map(|res| res.map_err(ConstraintViolation::String))
 5410   7189   
                        .transpose()?,
        7190  +
                    /* ServerBuilderGenerator.kt:546 */
 5411   7191   
                    min_string: self
 5412   7192   
                        .min_string
        7193  +
                        /* ServerBuilderGenerator.kt:602 */
 5413   7194   
                        .map(|v| match v {
 5414   7195   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5415   7196   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5416   7197   
                        })
        7198  +
                        /* ServerBuilderGenerator.kt:614 */
 5417   7199   
                        .map(|res| res.map_err(ConstraintViolation::MinString))
 5418   7200   
                        .transpose()?,
        7201  +
                    /* ServerBuilderGenerator.kt:546 */
 5419   7202   
                    max_string: self
 5420   7203   
                        .max_string
        7204  +
                        /* ServerBuilderGenerator.kt:602 */
 5421   7205   
                        .map(|v| match v {
 5422   7206   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5423   7207   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5424   7208   
                        })
        7209  +
                        /* ServerBuilderGenerator.kt:614 */
 5425   7210   
                        .map(|res| res.map_err(ConstraintViolation::MaxString))
 5426   7211   
                        .transpose()?,
        7212  +
                    /* ServerBuilderGenerator.kt:546 */
 5427   7213   
                    list: self
 5428   7214   
                        .list
        7215  +
                        /* ServerBuilderGenerator.kt:602 */
 5429   7216   
                        .map(|v| match v {
 5430   7217   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5431   7218   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5432   7219   
                        })
        7220  +
                        /* ServerBuilderGenerator.kt:614 */
 5433   7221   
                        .map(|res| res.map_err(ConstraintViolation::List))
 5434   7222   
                        .transpose()?,
        7223  +
                    /* ServerBuilderGenerator.kt:546 */
 5435   7224   
                    map: self
 5436   7225   
                        .map
        7226  +
                        /* ServerBuilderGenerator.kt:602 */
 5437   7227   
                        .map(|v| match v {
 5438   7228   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 5439   7229   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 5440   7230   
                        })
        7231  +
                        /* ServerBuilderGenerator.kt:614 */
 5441   7232   
                        .map(|res| res.map_err(ConstraintViolation::Map))
 5442   7233   
                        .transpose()?,
 5443         -
            })
        7234  +
                    /* ServerBuilderGenerator.kt:542 */
        7235  +
                }, /* ServerBuilderGenerator.kt:287 */
        7236  +
            )
        7237  +
            /* ServerBuilderGenerator.kt:283 */
 5444   7238   
        }
        7239  +
        /* ServerBuilderGenerator.kt:215 */
 5445   7240   
    }
        7241  +
    /* ConstrainedMapGenerator.kt:78 */
 5446   7242   
    #[allow(missing_docs)] // documentation missing in model
 5447         -
    ///
        7243  +
    /// /* ConstrainedMapGenerator.kt:79 */
 5448   7244   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5449   7245   
    /// [constraint traits]. Use [`Map::try_from`] to construct values of this type.
 5450   7246   
    ///
 5451   7247   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5452   7248   
    ///
        7249  +
    /* RustType.kt:516 */
 5453   7250   
    #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
 5454         -
    pub struct Map(
        7251  +
    pub /* ConstrainedMapGenerator.kt:82 */ struct Map(
 5455   7252   
        pub(crate) ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>,
 5456   7253   
    );
        7254  +
    /* ConstrainedMapGenerator.kt:83 */
 5457   7255   
    impl Map {
        7256  +
        /* ConstrainedMapGenerator.kt:85 */
 5458   7257   
        /// Returns an immutable reference to the underlying [`::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>`].
 5459   7258   
        pub fn inner(
 5460   7259   
            &self,
 5461   7260   
        ) -> &::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>
 5462   7261   
        {
 5463   7262   
            &self.0
 5464   7263   
        }
        7264  +
        /* ConstrainedMapGenerator.kt:95 */
 5465   7265   
        /// Consumes the value, returning the underlying [`::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>`].
 5466   7266   
        pub fn into_inner(
 5467   7267   
            self,
 5468   7268   
        ) -> ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>
 5469   7269   
        {
 5470   7270   
            self.0
 5471   7271   
        }
        7272  +
        /* ConstrainedMapGenerator.kt:83 */
 5472   7273   
    }
        7274  +
    /* ConstrainedMapGenerator.kt:106 */
 5473   7275   
    impl
 5474   7276   
        ::std::convert::TryFrom<
 5475   7277   
            ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>,
 5476   7278   
        > for Map
 5477   7279   
    {
 5478   7280   
        type Error = crate::input::malformed_length_override_input::map::ConstraintViolation;
 5479   7281   
 5480   7282   
        /// Constructs a `Map` from an [`::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>`], failing when the provided value does not satisfy the modeled constraints.
 5481   7283   
        fn try_from(
 5482   7284   
            value: ::std::collections::HashMap<
 5483   7285   
                crate::model::LengthString,
 5484   7286   
                crate::model::LengthList,
 5485   7287   
            >,
 5486   7288   
        ) -> ::std::result::Result<Self, Self::Error> {
 5487   7289   
            let length = value.len();
 5488   7290   
            if (4..=6).contains(&length) {
 5489   7291   
                Ok(Self(value))
 5490   7292   
            } else {
 5491   7293   
                Err(
 5492   7294   
                    crate::input::malformed_length_override_input::map::ConstraintViolation::Length(
 5493   7295   
                        length,
 5494   7296   
                    ),
 5495   7297   
                )
 5496   7298   
            }
 5497   7299   
        }
 5498   7300   
    }
 5499   7301   
 5500   7302   
    impl ::std::convert::From<Map>
 5501   7303   
        for ::std::collections::HashMap<crate::model::LengthString, crate::model::LengthList>
 5502   7304   
    {
 5503   7305   
        fn from(value: Map) -> Self {
 5504   7306   
            value.into_inner()
 5505   7307   
        }
 5506   7308   
    }
        7309  +
    /* ConstrainedMapGenerator.kt:164 */
 5507   7310   
    impl crate::constrained::Constrained for Map {
 5508   7311   
        type Unconstrained = crate::input::malformed_length_override_input::malformed_length_override_input_map_unconstrained::MalformedLengthOverrideInputMapUnconstrained;
 5509   7312   
    }
        7313  +
    /* ConstrainedCollectionGenerator.kt:93 */
 5510   7314   
    #[allow(missing_docs)] // documentation missing in model
 5511         -
    ///
        7315  +
    /// /* ConstrainedCollectionGenerator.kt:94 */
 5512   7316   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5513   7317   
    /// [constraint traits]. Use [`List::try_from`] to construct values of this type.
 5514   7318   
    ///
 5515   7319   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5516   7320   
    ///
        7321  +
    /* RustType.kt:516 */
 5517   7322   
    #[derive(
 5518   7323   
        ::std::clone::Clone,
 5519   7324   
        ::std::cmp::Eq,
 5520   7325   
        ::std::cmp::PartialEq,
 5521   7326   
        ::std::fmt::Debug,
 5522   7327   
        ::std::hash::Hash,
 5523   7328   
    )]
 5524         -
    pub struct List(pub(crate) ::std::vec::Vec<crate::model::LengthString>);
        7329  +
    pub /* ConstrainedCollectionGenerator.kt:97 */ struct List(
        7330  +
        pub(crate) ::std::vec::Vec<crate::model::LengthString>,
        7331  +
    );
        7332  +
    /* ConstrainedCollectionGenerator.kt:104 */
 5525   7333   
    impl List {
        7334  +
        /* ConstrainedCollectionGenerator.kt:106 */
 5526   7335   
        /// Returns an immutable reference to the underlying [`::std::vec::Vec<crate::model::LengthString>`].
 5527   7336   
        pub fn inner(&self) -> &::std::vec::Vec<crate::model::LengthString> {
 5528   7337   
            &self.0
 5529   7338   
        }
        7339  +
        /* ConstrainedCollectionGenerator.kt:116 */
 5530   7340   
        /// Consumes the value, returning the underlying [`::std::vec::Vec<crate::model::LengthString>`].
 5531   7341   
        pub fn into_inner(self) -> ::std::vec::Vec<crate::model::LengthString> {
 5532   7342   
            self.0
 5533   7343   
        }
 5534   7344   
 5535   7345   
        fn check_length(
 5536   7346   
            length: usize,
 5537   7347   
        ) -> ::std::result::Result<
 5538   7348   
            (),
 5539   7349   
            crate::input::malformed_length_override_input::list::ConstraintViolation,
 5540   7350   
        > {
 5541   7351   
            if (4..=6).contains(&length) {
 5542   7352   
                Ok(())
 5543   7353   
            } else {
 5544   7354   
                Err(crate::input::malformed_length_override_input::list::ConstraintViolation::Length(length))
 5545   7355   
            }
 5546   7356   
        }
        7357  +
        /* ConstrainedCollectionGenerator.kt:104 */
 5547   7358   
    }
        7359  +
    /* ConstrainedCollectionGenerator.kt:133 */
 5548   7360   
    impl ::std::convert::TryFrom<::std::vec::Vec<crate::model::LengthString>> for List {
 5549   7361   
        type Error = crate::input::malformed_length_override_input::list::ConstraintViolation;
 5550   7362   
 5551   7363   
        /// Constructs a `List` from an [`::std::vec::Vec<crate::model::LengthString>`], failing when the provided value does not satisfy the modeled constraints.
 5552   7364   
        fn try_from(
 5553   7365   
            value: ::std::vec::Vec<crate::model::LengthString>,
 5554   7366   
        ) -> ::std::result::Result<Self, Self::Error> {
 5555   7367   
            Self::check_length(value.len())?;
 5556   7368   
 5557   7369   
            Ok(Self(value))
 5558   7370   
        }
 5559   7371   
    }
 5560   7372   
 5561   7373   
    impl ::std::convert::From<List> for ::std::vec::Vec<crate::model::LengthString> {
 5562   7374   
        fn from(value: List) -> Self {
 5563   7375   
            value.into_inner()
 5564   7376   
        }
 5565   7377   
    }
        7378  +
    /* ConstrainedCollectionGenerator.kt:181 */
 5566   7379   
    impl crate::constrained::Constrained for List {
 5567   7380   
        type Unconstrained = crate::input::malformed_length_override_input::malformed_length_override_input_list_unconstrained::MalformedLengthOverrideInputListUnconstrained;
 5568   7381   
    }
        7382  +
    /* ConstrainedStringGenerator.kt:82 */
 5569   7383   
    #[allow(missing_docs)] // documentation missing in model
 5570         -
    ///
        7384  +
    /// /* ConstrainedStringGenerator.kt:83 */
 5571   7385   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5572   7386   
    /// [constraint traits]. Use [`MaxString::try_from`] to construct values of this type.
 5573   7387   
    ///
 5574   7388   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5575   7389   
    ///
        7390  +
    /* RustType.kt:516 */
 5576   7391   
    #[derive(
 5577   7392   
        ::std::clone::Clone,
 5578   7393   
        ::std::cmp::Eq,
 5579   7394   
        ::std::cmp::PartialEq,
 5580   7395   
        ::std::fmt::Debug,
 5581   7396   
        ::std::hash::Hash,
 5582   7397   
    )]
 5583         -
    pub struct MaxString(pub(crate) ::std::string::String);
        7398  +
    pub /* ConstrainedStringGenerator.kt:86 */ struct MaxString(pub(crate) ::std::string::String);
        7399  +
    /* ConstrainedStringGenerator.kt:90 */
 5584   7400   
    impl MaxString {
 5585   7401   
        /// Extracts a string slice containing the entire underlying `String`.
 5586   7402   
        pub fn as_str(&self) -> &str {
 5587   7403   
            &self.0
 5588   7404   
        }
 5589   7405   
 5590   7406   
        /// Returns an immutable reference to the underlying [`::std::string::String`].
 5591   7407   
        pub fn inner(&self) -> &::std::string::String {
 5592   7408   
            &self.0
 5593   7409   
        }
 5594   7410   
 5595   7411   
        /// Consumes the value, returning the underlying [`::std::string::String`].
 5596   7412   
        pub fn into_inner(self) -> ::std::string::String {
 5597   7413   
            self.0
 5598   7414   
        }
 5599   7415   
    }
        7416  +
    /* TraitInfo.kt:41 */
 5600   7417   
    impl MaxString {
 5601   7418   
        fn check_length(
 5602   7419   
            string: &str,
 5603   7420   
        ) -> ::std::result::Result<
 5604   7421   
            (),
 5605   7422   
            crate::input::malformed_length_override_input::max_string::ConstraintViolation,
 5606   7423   
        > {
 5607   7424   
            let length = string.chars().count();
 5608   7425   
 5609   7426   
            if length <= 6 {
 5610   7427   
                Ok(())
 5611   7428   
            } else {
 5612   7429   
                Err(crate::input::malformed_length_override_input::max_string::ConstraintViolation::Length(length))
 5613   7430   
            }
 5614   7431   
        }
 5615   7432   
    }
        7433  +
    /* TraitInfo.kt:57 */
 5616   7434   
    impl ::std::convert::TryFrom<::std::string::String> for MaxString {
 5617   7435   
        type Error = crate::input::malformed_length_override_input::max_string::ConstraintViolation;
 5618   7436   
 5619   7437   
        /// Constructs a `MaxString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 5620   7438   
        fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 5621   7439   
            Self::check_length(&value)?;
 5622   7440   
 5623   7441   
            Ok(Self(value))
 5624   7442   
        }
 5625   7443   
    }
        7444  +
    /* ConstrainedStringGenerator.kt:112 */
 5626   7445   
    impl crate::constrained::Constrained for MaxString {
 5627   7446   
        type Unconstrained = ::std::string::String;
 5628   7447   
    }
 5629   7448   
 5630   7449   
    impl ::std::convert::From<::std::string::String>
 5631   7450   
        for crate::constrained::MaybeConstrained<
 5632   7451   
            crate::input::malformed_length_override_input::MaxString,
 5633   7452   
        >
 5634   7453   
    {
 5635   7454   
        fn from(value: ::std::string::String) -> Self {
 5636   7455   
            Self::Unconstrained(value)
 5637   7456   
        }
 5638   7457   
    }
 5639   7458   
 5640   7459   
    impl ::std::fmt::Display for MaxString {
 5641   7460   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5642   7461   
            self.0.fmt(f)
 5643   7462   
        }
 5644   7463   
    }
 5645   7464   
 5646   7465   
    impl ::std::convert::From<MaxString> for ::std::string::String {
 5647   7466   
        fn from(value: MaxString) -> Self {
 5648   7467   
            value.into_inner()
 5649   7468   
        }
 5650   7469   
    }
        7470  +
    /* ConstrainedStringGenerator.kt:82 */
 5651   7471   
    #[allow(missing_docs)] // documentation missing in model
 5652         -
    ///
        7472  +
    /// /* ConstrainedStringGenerator.kt:83 */
 5653   7473   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5654   7474   
    /// [constraint traits]. Use [`MinString::try_from`] to construct values of this type.
 5655   7475   
    ///
 5656   7476   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5657   7477   
    ///
        7478  +
    /* RustType.kt:516 */
 5658   7479   
    #[derive(
 5659   7480   
        ::std::clone::Clone,
 5660   7481   
        ::std::cmp::Eq,
 5661   7482   
        ::std::cmp::PartialEq,
 5662   7483   
        ::std::fmt::Debug,
 5663   7484   
        ::std::hash::Hash,
 5664   7485   
    )]
 5665         -
    pub struct MinString(pub(crate) ::std::string::String);
        7486  +
    pub /* ConstrainedStringGenerator.kt:86 */ struct MinString(pub(crate) ::std::string::String);
        7487  +
    /* ConstrainedStringGenerator.kt:90 */
 5666   7488   
    impl MinString {
 5667   7489   
        /// Extracts a string slice containing the entire underlying `String`.
 5668   7490   
        pub fn as_str(&self) -> &str {
 5669   7491   
            &self.0
 5670   7492   
        }
 5671   7493   
 5672   7494   
        /// Returns an immutable reference to the underlying [`::std::string::String`].
 5673   7495   
        pub fn inner(&self) -> &::std::string::String {
 5674   7496   
            &self.0
 5675   7497   
        }
 5676   7498   
 5677   7499   
        /// Consumes the value, returning the underlying [`::std::string::String`].
 5678   7500   
        pub fn into_inner(self) -> ::std::string::String {
 5679   7501   
            self.0
 5680   7502   
        }
 5681   7503   
    }
        7504  +
    /* TraitInfo.kt:41 */
 5682   7505   
    impl MinString {
 5683   7506   
        fn check_length(
 5684   7507   
            string: &str,
 5685   7508   
        ) -> ::std::result::Result<
 5686   7509   
            (),
 5687   7510   
            crate::input::malformed_length_override_input::min_string::ConstraintViolation,
 5688   7511   
        > {
 5689   7512   
            let length = string.chars().count();
 5690   7513   
 5691   7514   
            if 4 <= length {
 5692   7515   
                Ok(())
 5693   7516   
            } else {
 5694   7517   
                Err(crate::input::malformed_length_override_input::min_string::ConstraintViolation::Length(length))
 5695   7518   
            }
 5696   7519   
        }
 5697   7520   
    }
        7521  +
    /* TraitInfo.kt:57 */
 5698   7522   
    impl ::std::convert::TryFrom<::std::string::String> for MinString {
 5699   7523   
        type Error = crate::input::malformed_length_override_input::min_string::ConstraintViolation;
 5700   7524   
 5701   7525   
        /// Constructs a `MinString` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 5702   7526   
        fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 5703   7527   
            Self::check_length(&value)?;
 5704   7528   
 5705   7529   
            Ok(Self(value))
 5706   7530   
        }
 5707   7531   
    }
        7532  +
    /* ConstrainedStringGenerator.kt:112 */
 5708   7533   
    impl crate::constrained::Constrained for MinString {
 5709   7534   
        type Unconstrained = ::std::string::String;
 5710   7535   
    }
 5711   7536   
 5712   7537   
    impl ::std::convert::From<::std::string::String>
 5713   7538   
        for crate::constrained::MaybeConstrained<
 5714   7539   
            crate::input::malformed_length_override_input::MinString,
 5715   7540   
        >
 5716   7541   
    {
 5717   7542   
        fn from(value: ::std::string::String) -> Self {
 5718   7543   
            Self::Unconstrained(value)
 5719   7544   
        }
 5720   7545   
    }
 5721   7546   
 5722   7547   
    impl ::std::fmt::Display for MinString {
 5723   7548   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5724   7549   
            self.0.fmt(f)
 5725   7550   
        }
 5726   7551   
    }
 5727   7552   
 5728   7553   
    impl ::std::convert::From<MinString> for ::std::string::String {
 5729   7554   
        fn from(value: MinString) -> Self {
 5730   7555   
            value.into_inner()
 5731   7556   
        }
 5732   7557   
    }
        7558  +
    /* ConstrainedStringGenerator.kt:82 */
 5733   7559   
    #[allow(missing_docs)] // documentation missing in model
 5734         -
    ///
        7560  +
    /// /* ConstrainedStringGenerator.kt:83 */
 5735   7561   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5736   7562   
    /// [constraint traits]. Use [`String::try_from`] to construct values of this type.
 5737   7563   
    ///
 5738   7564   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5739   7565   
    ///
        7566  +
    /* RustType.kt:516 */
 5740   7567   
    #[derive(
 5741   7568   
        ::std::clone::Clone,
 5742   7569   
        ::std::cmp::Eq,
 5743   7570   
        ::std::cmp::PartialEq,
 5744   7571   
        ::std::fmt::Debug,
 5745   7572   
        ::std::hash::Hash,
 5746   7573   
    )]
 5747         -
    pub struct String(pub(crate) ::std::string::String);
        7574  +
    pub /* ConstrainedStringGenerator.kt:86 */ struct String(pub(crate) ::std::string::String);
        7575  +
    /* ConstrainedStringGenerator.kt:90 */
 5748   7576   
    impl String {
 5749   7577   
        /// Extracts a string slice containing the entire underlying `String`.
 5750   7578   
        pub fn as_str(&self) -> &str {
 5751   7579   
            &self.0
 5752   7580   
        }
 5753   7581   
 5754   7582   
        /// Returns an immutable reference to the underlying [`::std::string::String`].
 5755   7583   
        pub fn inner(&self) -> &::std::string::String {
 5756   7584   
            &self.0
 5757   7585   
        }
 5758   7586   
 5759   7587   
        /// Consumes the value, returning the underlying [`::std::string::String`].
 5760   7588   
        pub fn into_inner(self) -> ::std::string::String {
 5761   7589   
            self.0
 5762   7590   
        }
 5763   7591   
    }
        7592  +
    /* TraitInfo.kt:41 */
 5764   7593   
    impl String {
 5765   7594   
        fn check_length(
 5766   7595   
            string: &str,
 5767   7596   
        ) -> ::std::result::Result<
 5768   7597   
            (),
 5769   7598   
            crate::input::malformed_length_override_input::string::ConstraintViolation,
 5770   7599   
        > {
 5771   7600   
            let length = string.chars().count();
 5772   7601   
 5773   7602   
            if (4..=6).contains(&length) {
 5774   7603   
                Ok(())
 5775   7604   
            } else {
 5776   7605   
                Err(crate::input::malformed_length_override_input::string::ConstraintViolation::Length(length))
 5777   7606   
            }
 5778   7607   
        }
 5779   7608   
    }
        7609  +
    /* TraitInfo.kt:57 */
 5780   7610   
    impl ::std::convert::TryFrom<::std::string::String> for String {
 5781   7611   
        type Error = crate::input::malformed_length_override_input::string::ConstraintViolation;
 5782   7612   
 5783   7613   
        /// Constructs a `String` from an [`::std::string::String`], failing when the provided value does not satisfy the modeled constraints.
 5784   7614   
        fn try_from(value: ::std::string::String) -> ::std::result::Result<Self, Self::Error> {
 5785   7615   
            Self::check_length(&value)?;
 5786   7616   
 5787   7617   
            Ok(Self(value))
 5788   7618   
        }
 5789   7619   
    }
        7620  +
    /* ConstrainedStringGenerator.kt:112 */
 5790   7621   
    impl crate::constrained::Constrained for String {
 5791   7622   
        type Unconstrained = ::std::string::String;
 5792   7623   
    }
 5793   7624   
 5794   7625   
    impl ::std::convert::From<::std::string::String>
 5795   7626   
        for crate::constrained::MaybeConstrained<
 5796   7627   
            crate::input::malformed_length_override_input::String,
 5797   7628   
        >
 5798   7629   
    {
 5799   7630   
        fn from(value: ::std::string::String) -> Self {
 5800   7631   
            Self::Unconstrained(value)
 5801   7632   
        }
 5802   7633   
    }
 5803   7634   
 5804   7635   
    impl ::std::fmt::Display for String {
 5805   7636   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5806   7637   
            self.0.fmt(f)
 5807   7638   
        }
 5808   7639   
    }
 5809   7640   
 5810   7641   
    impl ::std::convert::From<String> for ::std::string::String {
 5811   7642   
        fn from(value: String) -> Self {
 5812   7643   
            value.into_inner()
 5813   7644   
        }
 5814   7645   
    }
        7646  +
    /* ConstrainedBlobGenerator.kt:66 */
 5815   7647   
    #[allow(missing_docs)] // documentation missing in model
 5816         -
    ///
        7648  +
    /// /* ConstrainedBlobGenerator.kt:67 */
 5817   7649   
    /// This is a constrained type because its corresponding modeled Smithy shape has one or more
 5818   7650   
    /// [constraint traits]. Use [`Blob::try_from`] to construct values of this type.
 5819   7651   
    ///
 5820   7652   
    /// [constraint traits]: https://smithy.io/2.0/spec/constraint-traits.html
 5821   7653   
    ///
        7654  +
    /* RustType.kt:516 */
 5822   7655   
    #[derive(
 5823   7656   
        ::std::clone::Clone,
 5824   7657   
        ::std::cmp::Eq,
 5825   7658   
        ::std::cmp::PartialEq,
 5826   7659   
        ::std::fmt::Debug,
 5827   7660   
        ::std::hash::Hash,
 5828   7661   
    )]
 5829         -
    pub struct Blob(pub(crate) ::aws_smithy_types::Blob);
        7662  +
    pub /* ConstrainedBlobGenerator.kt:70 */ struct Blob(pub(crate) ::aws_smithy_types::Blob);
        7663  +
    /* ConstrainedBlobGenerator.kt:71 */
 5830   7664   
    impl Blob {
        7665  +
        /* ConstrainedBlobGenerator.kt:73 */
 5831   7666   
        /// Returns an immutable reference to the underlying [`::aws_smithy_types::Blob`].
 5832   7667   
        pub fn inner(&self) -> &::aws_smithy_types::Blob {
 5833   7668   
            &self.0
 5834   7669   
        }
        7670  +
        /* ConstrainedBlobGenerator.kt:82 */
 5835   7671   
        /// Consumes the value, returning the underlying [`::aws_smithy_types::Blob`].
 5836   7672   
        pub fn into_inner(self) -> ::aws_smithy_types::Blob {
 5837   7673   
            self.0
 5838   7674   
        }
        7675  +
        /* ConstrainedBlobGenerator.kt:71 */
 5839   7676   
    }
        7677  +
    /* TraitInfo.kt:41 */
 5840   7678   
    impl Blob {
 5841   7679   
        fn check_length(
 5842   7680   
            blob: &::aws_smithy_types::Blob,
 5843   7681   
        ) -> ::std::result::Result<
 5844   7682   
            (),
 5845   7683   
            crate::input::malformed_length_override_input::blob::ConstraintViolation,
 5846   7684   
        > {
 5847   7685   
            let length = blob.as_ref().len();
 5848   7686   
 5849   7687   
            if (4..=6).contains(&length) {
 5850   7688   
                Ok(())
 5851   7689   
            } else {
 5852   7690   
                Err(crate::input::malformed_length_override_input::blob::ConstraintViolation::Length(length))
 5853   7691   
            }
 5854   7692   
        }
 5855   7693   
    }
        7694  +
    /* TraitInfo.kt:57 */
 5856   7695   
    impl ::std::convert::TryFrom<::aws_smithy_types::Blob> for Blob {
 5857   7696   
        type Error = crate::input::malformed_length_override_input::blob::ConstraintViolation;
 5858   7697   
 5859   7698   
        /// Constructs a `Blob` from an [`::aws_smithy_types::Blob`], failing when the provided value does not satisfy the modeled constraints.
 5860   7699   
        fn try_from(value: ::aws_smithy_types::Blob) -> ::std::result::Result<Self, Self::Error> {
 5861   7700   
            Self::check_length(&value)?;
 5862   7701   
 5863   7702   
            Ok(Self(value))
 5864   7703   
        }
 5865   7704   
    }
        7705  +
    /* ConstrainedBlobGenerator.kt:94 */
 5866   7706   
    impl crate::constrained::Constrained for Blob {
 5867   7707   
        type Unconstrained = ::aws_smithy_types::Blob;
 5868   7708   
    }
 5869   7709   
 5870   7710   
    impl ::std::convert::From<::aws_smithy_types::Blob>
 5871   7711   
        for crate::constrained::MaybeConstrained<
 5872   7712   
            crate::input::malformed_length_override_input::Blob,
 5873   7713   
        >
 5874   7714   
    {
 5875   7715   
        fn from(value: ::aws_smithy_types::Blob) -> Self {
 5876   7716   
            Self::Unconstrained(value)
 5877   7717   
        }
 5878   7718   
    }
 5879   7719   
 5880   7720   
    impl ::std::convert::From<Blob> for ::aws_smithy_types::Blob {
 5881   7721   
        fn from(value: Blob) -> Self {
 5882   7722   
            value.into_inner()
 5883   7723   
        }
 5884   7724   
    }
 5885   7725   
 5886   7726   
    pub(crate) mod malformed_length_override_input_map_unconstrained {
 5887   7727   
        7728  +
        /* UnconstrainedMapGenerator.kt:79 */
 5888   7729   
        #[derive(Debug, Clone)]
 5889   7730   
        pub(crate) struct MalformedLengthOverrideInputMapUnconstrained(
 5890   7731   
            pub(crate)  std::collections::HashMap<
 5891   7732   
                ::std::string::String,
 5892   7733   
                crate::unconstrained::length_list_unconstrained::LengthListUnconstrained,
 5893   7734   
            >,
 5894   7735   
        );
 5895   7736   
 5896   7737   
        impl From<MalformedLengthOverrideInputMapUnconstrained>
 5897   7738   
            for crate::constrained::MaybeConstrained<
 5898   7739   
                crate::input::malformed_length_override_input::Map,
 5899   7740   
            >
 5900   7741   
        {
 5901   7742   
            fn from(value: MalformedLengthOverrideInputMapUnconstrained) -> Self {
 5902   7743   
                Self::Unconstrained(value)
 5903   7744   
            }
 5904   7745   
        }
        7746  +
        /* UnconstrainedMapGenerator.kt:101 */
 5905   7747   
        impl std::convert::TryFrom<MalformedLengthOverrideInputMapUnconstrained>
 5906   7748   
            for crate::input::malformed_length_override_input::Map
 5907   7749   
        {
        7750  +
            /* UnconstrainedMapGenerator.kt:102 */
 5908   7751   
            type Error = crate::input::malformed_length_override_input::map::ConstraintViolation;
        7752  +
            /* UnconstrainedMapGenerator.kt:104 */
 5909   7753   
            fn try_from(
 5910   7754   
                value: MalformedLengthOverrideInputMapUnconstrained,
 5911   7755   
            ) -> std::result::Result<Self, Self::Error> {
        7756  +
                /* UnconstrainedMapGenerator.kt:186 */
 5912   7757   
                let res: ::std::result::Result<
 5913   7758   
                    ::std::collections::HashMap<
 5914   7759   
                        crate::model::LengthString,
 5915   7760   
                        crate::model::LengthList,
 5916   7761   
                    >,
 5917   7762   
                    Self::Error,
 5918   7763   
                > = value
 5919   7764   
                    .0
 5920   7765   
                    .into_iter()
 5921   7766   
                    .map(|(k, v)| {
 5922   7767   
                        let k: crate::model::LengthString =
 5923   7768   
                            k.try_into().map_err(Self::Error::Key)?;
 5924   7769   
 5925   7770   
                        match crate::model::LengthList::try_from(v) {
 5926   7771   
                            Ok(v) => Ok((k, v)),
 5927   7772   
                            Err(inner_constraint_violation) => {
 5928   7773   
                                Err(Self::Error::Value(k, inner_constraint_violation))
 5929   7774   
                            }
 5930   7775   
                        }
 5931   7776   
                    })
 5932   7777   
                    .collect();
 5933   7778   
                let hm = res?;
        7779  +
                /* UnconstrainedMapGenerator.kt:245 */
 5934   7780   
                Self::try_from(hm)
        7781  +
                /* UnconstrainedMapGenerator.kt:104 */
 5935   7782   
            }
        7783  +
            /* UnconstrainedMapGenerator.kt:101 */
 5936   7784   
        }
 5937   7785   
    }
 5938   7786   
    /// See [`MalformedLengthOverrideInputMap`](crate::input::malformed_length_override_input::Map).
 5939   7787   
    pub mod map {
 5940   7788   
        7789  +
        /* MapConstraintViolationGenerator.kt:82 */
 5941   7790   
        #[allow(clippy::enum_variant_names)]
 5942   7791   
        #[derive(Debug, PartialEq)]
 5943   7792   
        pub enum ConstraintViolation {
 5944   7793   
            Length(usize),
 5945   7794   
            #[doc(hidden)]
 5946   7795   
            Key(crate::model::length_string::ConstraintViolation),
 5947   7796   
            #[doc(hidden)]
 5948   7797   
            Value(
 5949   7798   
                crate::model::LengthString,
 5950   7799   
                crate::model::length_list::ConstraintViolation,
 5951   7800   
            ),
 5952   7801   
        }
 5953   7802   
 5954   7803   
        impl ::std::fmt::Display for ConstraintViolation {
 5955   7804   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 5956   7805   
                match self {
 5957   7806   
                    Self::Length(length) => {
 5958   7807   
                        write!(f, "Value with length {} provided for 'aws.protocoltests.restjson.validation.synthetic#MalformedLengthOverrideInputMap' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length)
 5959   7808   
                    }
 5960   7809   
                    Self::Key(key_constraint_violation) => {
 5961   7810   
                        write!(f, "{}", key_constraint_violation)
 5962   7811   
                    }
 5963   7812   
                    Self::Value(_, value_constraint_violation) => {
 5964   7813   
                        write!(f, "{}", value_constraint_violation)
 5965   7814   
                    }
 5966   7815   
                }
 5967   7816   
            }
 5968   7817   
        }
 5969   7818   
 5970   7819   
        impl ::std::error::Error for ConstraintViolation {}
        7820  +
        /* MapConstraintViolationGenerator.kt:111 */
 5971   7821   
        impl ConstraintViolation {
 5972   7822   
            pub(crate) fn as_validation_exception_field(
 5973   7823   
                self,
 5974   7824   
                path: ::std::string::String,
 5975   7825   
            ) -> crate::model::ValidationExceptionField {
 5976   7826   
                match self {
 5977   7827   
                Self::Length(length) => crate::model::ValidationExceptionField {
 5978   7828   
                                            message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length, &path),
 5979   7829   
                                            path,
 5980   7830   
                                        },
 5981   7831   
                Self::Key(key_constraint_violation) => key_constraint_violation.as_validation_exception_field(path),
 5982   7832   
                Self::Value(key, value_constraint_violation) => value_constraint_violation.as_validation_exception_field(path + "/" + key.as_str()),
 5983   7833   
            }
 5984   7834   
            }
 5985   7835   
        }
 5986   7836   
    }
 5987   7837   
    pub(crate) mod malformed_length_override_input_list_unconstrained {
 5988   7838   
        7839  +
        /* UnconstrainedCollectionGenerator.kt:77 */
 5989   7840   
        #[derive(Debug, Clone)]
 5990   7841   
        pub(crate) struct MalformedLengthOverrideInputListUnconstrained(
 5991   7842   
            pub(crate) std::vec::Vec<::std::string::String>,
 5992   7843   
        );
 5993   7844   
 5994   7845   
        impl From<MalformedLengthOverrideInputListUnconstrained>
 5995   7846   
            for crate::constrained::MaybeConstrained<
 5996   7847   
                crate::input::malformed_length_override_input::List,
 5997   7848   
            >
 5998   7849   
        {
 5999   7850   
            fn from(value: MalformedLengthOverrideInputListUnconstrained) -> Self {
 6000   7851   
                Self::Unconstrained(value)
 6001   7852   
            }
 6002   7853   
        }
        7854  +
        /* UnconstrainedCollectionGenerator.kt:97 */
 6003   7855   
        impl std::convert::TryFrom<MalformedLengthOverrideInputListUnconstrained>
 6004   7856   
            for crate::input::malformed_length_override_input::List
 6005   7857   
        {
        7858  +
            /* UnconstrainedCollectionGenerator.kt:98 */
 6006   7859   
            type Error = crate::input::malformed_length_override_input::list::ConstraintViolation;
        7860  +
            /* UnconstrainedCollectionGenerator.kt:100 */
 6007   7861   
            fn try_from(
 6008   7862   
                value: MalformedLengthOverrideInputListUnconstrained,
 6009   7863   
            ) -> std::result::Result<Self, Self::Error> {
        7864  +
                /* UnconstrainedCollectionGenerator.kt:127 */
 6010   7865   
                let res: ::std::result::Result<
 6011   7866   
                    ::std::vec::Vec<crate::model::LengthString>,
 6012   7867   
                    (usize, crate::model::length_string::ConstraintViolation),
 6013   7868   
                > = value
 6014   7869   
                    .0
 6015   7870   
                    .into_iter()
 6016   7871   
                    .enumerate()
 6017   7872   
                    .map(|(idx, inner)| {
 6018   7873   
                        inner
 6019   7874   
                            .try_into()
 6020   7875   
                            .map_err(|inner_violation| (idx, inner_violation))
 6021   7876   
                    })
 6022   7877   
                    .collect();
 6023   7878   
                let inner = res
 6024   7879   
                    .map_err(|(idx, inner_violation)| Self::Error::Member(idx, inner_violation))?;
        7880  +
                /* UnconstrainedCollectionGenerator.kt:189 */
 6025   7881   
                Self::try_from(inner)
        7882  +
                /* UnconstrainedCollectionGenerator.kt:100 */
 6026   7883   
            }
        7884  +
            /* UnconstrainedCollectionGenerator.kt:97 */
 6027   7885   
        }
 6028   7886   
    }
 6029   7887   
    /// See [`MalformedLengthOverrideInputList`](crate::input::malformed_length_override_input::List).
 6030   7888   
    pub mod list {
 6031   7889   
        7890  +
        /* CollectionConstraintViolationGenerator.kt:78 */
 6032   7891   
        #[allow(clippy::enum_variant_names)]
 6033   7892   
        #[derive(Debug, PartialEq)]
 6034   7893   
        pub enum ConstraintViolation {
 6035   7894   
            /// Constraint violation error when the list doesn't have the required length
 6036   7895   
            Length(usize),
 6037   7896   
            /// Constraint violation error when an element doesn't satisfy its own constraints.
 6038   7897   
            /// The first component of the tuple is the index in the collection where the
 6039   7898   
            /// first constraint violation was found.
 6040   7899   
            #[doc(hidden)]
 6041   7900   
            Member(usize, crate::model::length_string::ConstraintViolation),
 6042   7901   
        }
 6043   7902   
 6044   7903   
        impl ::std::fmt::Display for ConstraintViolation {
 6045   7904   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6046   7905   
                let message = match self {
 6047   7906   
                    Self::Length(length) => {
 6048   7907   
                        format!("Value with length {} provided for 'aws.protocoltests.restjson.validation.synthetic#MalformedLengthOverrideInputList' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length)
 6049   7908   
                    }
 6050   7909   
                    Self::Member(index, failing_member) => format!(
 6051   7910   
                        "Value at index {index} failed to satisfy constraint. {}",
 6052   7911   
                        failing_member
 6053   7912   
                    ),
 6054   7913   
                };
 6055   7914   
                write!(f, "{message}")
 6056   7915   
            }
 6057   7916   
        }
 6058   7917   
 6059   7918   
        impl ::std::error::Error for ConstraintViolation {}
        7919  +
        /* CollectionConstraintViolationGenerator.kt:104 */
 6060   7920   
        impl ConstraintViolation {
 6061   7921   
            pub(crate) fn as_validation_exception_field(
 6062   7922   
                self,
 6063   7923   
                path: ::std::string::String,
 6064   7924   
            ) -> crate::model::ValidationExceptionField {
 6065   7925   
                match self {
 6066   7926   
                            Self::Length(length) => crate::model::ValidationExceptionField {
 6067   7927   
                                    message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length, &path),
 6068   7928   
                                    path,
 6069   7929   
                                },
 6070   7930   
        Self::Member(index, member_constraint_violation) =>
 6071   7931   
                            member_constraint_violation.as_validation_exception_field(path + "/" + &index.to_string())
 6072   7932   
                        }
 6073   7933   
            }
 6074   7934   
        }
 6075   7935   
    }
 6076   7936   
    /// See [`MalformedLengthOverrideInputMaxString`](crate::input::malformed_length_override_input::MaxString).
 6077   7937   
    pub mod max_string {
 6078   7938   
        7939  +
        /* ConstrainedStringGenerator.kt:155 */
 6079   7940   
        #[derive(Debug, PartialEq)]
 6080   7941   
        pub enum ConstraintViolation {
 6081   7942   
            /// Error when a string doesn't satisfy its `@length` requirements.
 6082   7943   
            Length(usize),
 6083   7944   
        }
 6084   7945   
 6085   7946   
        impl ::std::fmt::Display for ConstraintViolation {
 6086   7947   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6087   7948   
                let message = match self {
 6088   7949   
                    Self::Length(length) => {
 6089   7950   
                        format!("Value with length {} provided for 'aws.protocoltests.restjson.validation.synthetic#MalformedLengthOverrideInputMaxString' failed to satisfy constraint: Member must have length less than or equal to 6", length)
 6090   7951   
                    }
 6091   7952   
                };
 6092   7953   
                write!(f, "{message}")
 6093   7954   
            }
 6094   7955   
        }
 6095   7956   
 6096   7957   
        impl ::std::error::Error for ConstraintViolation {}
        7958  +
        /* ConstrainedStringGenerator.kt:180 */
 6097   7959   
        impl ConstraintViolation {
 6098   7960   
            pub(crate) fn as_validation_exception_field(
 6099   7961   
                self,
 6100   7962   
                path: ::std::string::String,
 6101   7963   
            ) -> crate::model::ValidationExceptionField {
 6102   7964   
                match self {
 6103   7965   
                                Self::Length(length) => crate::model::ValidationExceptionField {
 6104   7966   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length less than or equal to 6", length, &path),
 6105   7967   
                                path,
 6106   7968   
                            },
 6107   7969   
                            }
 6108   7970   
            }
 6109   7971   
        }
 6110   7972   
    }
 6111   7973   
    /// See [`MalformedLengthOverrideInputMinString`](crate::input::malformed_length_override_input::MinString).
 6112   7974   
    pub mod min_string {
 6113   7975   
        7976  +
        /* ConstrainedStringGenerator.kt:155 */
 6114   7977   
        #[derive(Debug, PartialEq)]
 6115   7978   
        pub enum ConstraintViolation {
 6116   7979   
            /// Error when a string doesn't satisfy its `@length` requirements.
 6117   7980   
            Length(usize),
 6118   7981   
        }
 6119   7982   
 6120   7983   
        impl ::std::fmt::Display for ConstraintViolation {
 6121   7984   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6122   7985   
                let message = match self {
 6123   7986   
                    Self::Length(length) => {
 6124   7987   
                        format!("Value with length {} provided for 'aws.protocoltests.restjson.validation.synthetic#MalformedLengthOverrideInputMinString' failed to satisfy constraint: Member must have length greater than or equal to 4", length)
 6125   7988   
                    }
 6126   7989   
                };
 6127   7990   
                write!(f, "{message}")
 6128   7991   
            }
 6129   7992   
        }
 6130   7993   
 6131   7994   
        impl ::std::error::Error for ConstraintViolation {}
        7995  +
        /* ConstrainedStringGenerator.kt:180 */
 6132   7996   
        impl ConstraintViolation {
 6133   7997   
            pub(crate) fn as_validation_exception_field(
 6134   7998   
                self,
 6135   7999   
                path: ::std::string::String,
 6136   8000   
            ) -> crate::model::ValidationExceptionField {
 6137   8001   
                match self {
 6138   8002   
                                Self::Length(length) => crate::model::ValidationExceptionField {
 6139   8003   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length greater than or equal to 4", length, &path),
 6140   8004   
                                path,
 6141   8005   
                            },
 6142   8006   
                            }
 6143   8007   
            }
 6144   8008   
        }
 6145   8009   
    }
 6146   8010   
    /// See [`MalformedLengthOverrideInputString`](crate::input::malformed_length_override_input::String).
 6147   8011   
    pub mod string {
 6148   8012   
        8013  +
        /* ConstrainedStringGenerator.kt:155 */
 6149   8014   
        #[derive(Debug, PartialEq)]
 6150   8015   
        pub enum ConstraintViolation {
 6151   8016   
            /// Error when a string doesn't satisfy its `@length` requirements.
 6152   8017   
            Length(usize),
 6153   8018   
        }
 6154   8019   
 6155   8020   
        impl ::std::fmt::Display for ConstraintViolation {
 6156   8021   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6157   8022   
                let message = match self {
 6158   8023   
                    Self::Length(length) => {
 6159   8024   
                        format!("Value with length {} provided for 'aws.protocoltests.restjson.validation.synthetic#MalformedLengthOverrideInputString' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length)
 6160   8025   
                    }
 6161   8026   
                };
 6162   8027   
                write!(f, "{message}")
 6163   8028   
            }
 6164   8029   
        }
 6165   8030   
 6166   8031   
        impl ::std::error::Error for ConstraintViolation {}
        8032  +
        /* ConstrainedStringGenerator.kt:180 */
 6167   8033   
        impl ConstraintViolation {
 6168   8034   
            pub(crate) fn as_validation_exception_field(
 6169   8035   
                self,
 6170   8036   
                path: ::std::string::String,
 6171   8037   
            ) -> crate::model::ValidationExceptionField {
 6172   8038   
                match self {
 6173   8039   
                                Self::Length(length) => crate::model::ValidationExceptionField {
 6174   8040   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length, &path),
 6175   8041   
                                path,
 6176   8042   
                            },
 6177   8043   
                            }
 6178   8044   
            }
 6179   8045   
        }
 6180   8046   
    }
 6181   8047   
    /// See [`MalformedLengthOverrideInputBlob`](crate::input::malformed_length_override_input::Blob).
 6182   8048   
    pub mod blob {
 6183   8049   
        8050  +
        /* ConstrainedBlobGenerator.kt:129 */
 6184   8051   
        #[derive(Debug, PartialEq)]
 6185   8052   
        pub enum ConstraintViolation {
 6186   8053   
            /// Error when a blob doesn't satisfy its `@length` requirements.
 6187   8054   
            Length(usize),
 6188   8055   
        }
 6189   8056   
 6190   8057   
        impl ::std::fmt::Display for ConstraintViolation {
 6191   8058   
            fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
 6192   8059   
                let message = match self {
 6193   8060   
                    Self::Length(length) => {
 6194   8061   
                        format!("Value with length {} provided for 'aws.protocoltests.restjson.validation.synthetic#MalformedLengthOverrideInputBlob' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length)
 6195   8062   
                    }
 6196   8063   
                };
 6197   8064   
                write!(f, "{message}")
 6198   8065   
            }
 6199   8066   
        }
 6200   8067   
 6201   8068   
        impl ::std::error::Error for ConstraintViolation {}
        8069  +
        /* ConstrainedBlobGenerator.kt:154 */
 6202   8070   
        impl ConstraintViolation {
 6203   8071   
            pub(crate) fn as_validation_exception_field(
 6204   8072   
                self,
 6205   8073   
                path: ::std::string::String,
 6206   8074   
            ) -> crate::model::ValidationExceptionField {
 6207   8075   
                match self {
 6208   8076   
                                Self::Length(length) => crate::model::ValidationExceptionField {
 6209   8077   
                                message: format!("Value with length {} at '{}' failed to satisfy constraint: Member must have length between 4 and 6, inclusive", length, &path),
 6210   8078   
                                path,
 6211   8079   
                            },
 6212   8080   
                            }
 6213   8081   
            }
 6214   8082   
        }
 6215   8083   
    }
        8084  +
        8085  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6216   8086   
}
 6217         -
/// See [`MalformedLengthInput`](crate::input::MalformedLengthInput).
        8087  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedLengthInput`](crate::input::MalformedLengthInput).
 6218   8088   
pub mod malformed_length_input {
 6219   8089   
        8090  +
    /* RustType.kt:516 */
 6220   8091   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6221         -
    /// Holds one variant for each of the ways the builder can fail.
        8092  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        8093  +
    /* RustType.kt:516 */
 6222   8094   
    #[non_exhaustive]
        8095  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6223   8096   
    #[allow(clippy::enum_variant_names)]
 6224   8097   
    pub enum ConstraintViolation {
 6225         -
        /// Constraint violation occurred building member `blob` when building `MalformedLengthInput`.
        8098  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `blob` when building `MalformedLengthInput`.
        8099  +
        /* RustType.kt:516 */
 6226   8100   
        #[doc(hidden)]
        8101  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6227   8102   
        Blob(crate::model::length_blob::ConstraintViolation),
 6228         -
        /// Constraint violation occurred building member `string` when building `MalformedLengthInput`.
        8103  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `MalformedLengthInput`.
        8104  +
        /* RustType.kt:516 */
 6229   8105   
        #[doc(hidden)]
        8106  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6230   8107   
        String(crate::model::length_string::ConstraintViolation),
 6231         -
        /// Constraint violation occurred building member `min_string` when building `MalformedLengthInput`.
        8108  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `min_string` when building `MalformedLengthInput`.
        8109  +
        /* RustType.kt:516 */
 6232   8110   
        #[doc(hidden)]
        8111  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6233   8112   
        MinString(crate::model::min_length_string::ConstraintViolation),
 6234         -
        /// Constraint violation occurred building member `max_string` when building `MalformedLengthInput`.
        8113  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `max_string` when building `MalformedLengthInput`.
        8114  +
        /* RustType.kt:516 */
 6235   8115   
        #[doc(hidden)]
        8116  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6236   8117   
        MaxString(crate::model::max_length_string::ConstraintViolation),
 6237         -
        /// Constraint violation occurred building member `list` when building `MalformedLengthInput`.
        8118  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list` when building `MalformedLengthInput`.
        8119  +
        /* RustType.kt:516 */
 6238   8120   
        #[doc(hidden)]
        8121  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6239   8122   
        List(crate::model::length_list::ConstraintViolation),
 6240         -
        /// Constraint violation occurred building member `map` when building `MalformedLengthInput`.
        8123  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map` when building `MalformedLengthInput`.
        8124  +
        /* RustType.kt:516 */
 6241   8125   
        #[doc(hidden)]
        8126  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6242   8127   
        Map(crate::model::length_map::ConstraintViolation),
        8128  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6243   8129   
    }
        8130  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6244   8131   
    impl ::std::fmt::Display for ConstraintViolation {
        8132  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6245   8133   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8134  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6246   8135   
            match self {
 6247         -
                ConstraintViolation::Blob(_) => write!(f, "constraint violation occurred building member `blob` when building `MalformedLengthInput`"),
 6248         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedLengthInput`"),
 6249         -
                ConstraintViolation::MinString(_) => write!(f, "constraint violation occurred building member `min_string` when building `MalformedLengthInput`"),
 6250         -
                ConstraintViolation::MaxString(_) => write!(f, "constraint violation occurred building member `max_string` when building `MalformedLengthInput`"),
 6251         -
                ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedLengthInput`"),
 6252         -
                ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedLengthInput`"),
 6253         -
            }
 6254         -
        }
 6255         -
    }
        8136  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Blob(_) => write!(f, "constraint violation occurred building member `blob` when building `MalformedLengthInput`"),
        8137  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedLengthInput`"),
        8138  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MinString(_) => write!(f, "constraint violation occurred building member `min_string` when building `MalformedLengthInput`"),
        8139  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MaxString(_) => write!(f, "constraint violation occurred building member `max_string` when building `MalformedLengthInput`"),
        8140  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedLengthInput`"),
        8141  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedLengthInput`"),
        8142  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        8143  +
            /* ServerBuilderConstraintViolations.kt:118 */
        8144  +
        }
        8145  +
        /* ServerBuilderConstraintViolations.kt:117 */
        8146  +
    }
        8147  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6256   8148   
    impl ::std::error::Error for ConstraintViolation {}
        8149  +
    /* ServerBuilderConstraintViolations.kt:171 */
 6257   8150   
    impl ConstraintViolation {
 6258   8151   
        pub(crate) fn as_validation_exception_field(
 6259   8152   
            self,
 6260   8153   
            path: ::std::string::String,
 6261   8154   
        ) -> crate::model::ValidationExceptionField {
 6262   8155   
            match self {
 6263   8156   
                ConstraintViolation::Blob(inner) => {
 6264   8157   
                    inner.as_validation_exception_field(path + "/blob")
 6265   8158   
                }
 6266   8159   
                ConstraintViolation::String(inner) => {
 6267   8160   
                    inner.as_validation_exception_field(path + "/string")
 6268   8161   
                }
 6269   8162   
                ConstraintViolation::MinString(inner) => {
 6270   8163   
                    inner.as_validation_exception_field(path + "/minString")
 6271   8164   
                }
 6272   8165   
                ConstraintViolation::MaxString(inner) => {
 6273   8166   
                    inner.as_validation_exception_field(path + "/maxString")
 6274   8167   
                }
 6275   8168   
                ConstraintViolation::List(inner) => {
 6276   8169   
                    inner.as_validation_exception_field(path + "/list")
 6277   8170   
                }
 6278   8171   
                ConstraintViolation::Map(inner) => {
 6279   8172   
                    inner.as_validation_exception_field(path + "/map")
 6280   8173   
                }
 6281   8174   
            }
 6282   8175   
        }
 6283   8176   
    }
        8177  +
    /* ServerBuilderGenerator.kt:234 */
 6284   8178   
    impl ::std::convert::From<ConstraintViolation>
 6285   8179   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 6286   8180   
    {
 6287   8181   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 6288   8182   
            let first_validation_exception_field =
 6289   8183   
                constraint_violation.as_validation_exception_field("".to_owned());
 6290   8184   
            let validation_exception = crate::error::ValidationException {
 6291   8185   
                message: format!(
 6292   8186   
                    "1 validation error detected. {}",
 6293   8187   
                    &first_validation_exception_field.message
 6294   8188   
                ),
 6295   8189   
                field_list: Some(vec![first_validation_exception_field]),
 6296   8190   
            };
 6297   8191   
            Self::ConstraintViolation(
 6298   8192   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 6299   8193   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 6300   8194   
                            )
 6301   8195   
        }
 6302   8196   
    }
        8197  +
    /* ServerBuilderGenerator.kt:244 */
 6303   8198   
    impl ::std::convert::From<Builder>
 6304   8199   
        for crate::constrained::MaybeConstrained<crate::input::MalformedLengthInput>
 6305   8200   
    {
 6306   8201   
        fn from(builder: Builder) -> Self {
 6307   8202   
            Self::Unconstrained(builder)
 6308   8203   
        }
 6309   8204   
    }
        8205  +
    /* ServerBuilderGenerator.kt:446 */
 6310   8206   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedLengthInput {
 6311   8207   
        type Error = ConstraintViolation;
 6312   8208   
 6313   8209   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6314   8210   
            builder.build()
 6315   8211   
        }
 6316   8212   
    }
 6317         -
    /// A builder for [`MalformedLengthInput`](crate::input::MalformedLengthInput).
        8213  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedLengthInput`](crate::input::MalformedLengthInput).
        8214  +
    /* RustType.kt:516 */
 6318   8215   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        8216  +
    /* ServerBuilderGenerator.kt:211 */
 6319   8217   
    pub struct Builder {
        8218  +
        /* ServerBuilderGenerator.kt:308 */
 6320   8219   
        pub(crate) blob:
 6321   8220   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthBlob>>,
        8221  +
        /* ServerBuilderGenerator.kt:308 */
 6322   8222   
        pub(crate) string:
 6323   8223   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthString>>,
        8224  +
        /* ServerBuilderGenerator.kt:308 */
 6324   8225   
        pub(crate) min_string: ::std::option::Option<
 6325   8226   
            crate::constrained::MaybeConstrained<crate::model::MinLengthString>,
 6326   8227   
        >,
        8228  +
        /* ServerBuilderGenerator.kt:308 */
 6327   8229   
        pub(crate) max_string: ::std::option::Option<
 6328   8230   
            crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
 6329   8231   
        >,
        8232  +
        /* ServerBuilderGenerator.kt:308 */
 6330   8233   
        pub(crate) list:
 6331   8234   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthList>>,
        8235  +
        /* ServerBuilderGenerator.kt:308 */
 6332   8236   
        pub(crate) map:
 6333   8237   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
        8238  +
        /* ServerBuilderGenerator.kt:211 */
 6334   8239   
    }
        8240  +
    /* ServerBuilderGenerator.kt:215 */
 6335   8241   
    impl Builder {
        8242  +
        /* ServerBuilderGenerator.kt:331 */
 6336   8243   
        #[allow(missing_docs)] // documentation missing in model
        8244  +
                               /* ServerBuilderGenerator.kt:343 */
 6337   8245   
        pub fn blob(mut self, input: ::std::option::Option<crate::model::LengthBlob>) -> Self {
 6338         -
            self.blob = input.map(
 6339         -
                #[allow(clippy::redundant_closure)]
 6340         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6341         -
            );
        8246  +
            /* ServerBuilderGenerator.kt:344 */
        8247  +
            self.blob =
        8248  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8249  +
            /* ServerBuilderGenerator.kt:344 */;
 6342   8250   
            self
        8251  +
            /* ServerBuilderGenerator.kt:343 */
 6343   8252   
        }
        8253  +
        /* ServerBuilderGenerator.kt:426 */
 6344   8254   
        #[allow(missing_docs)] // documentation missing in model
        8255  +
                               /* ServerBuilderGenerator.kt:428 */
 6345   8256   
        pub(crate) fn set_blob(
 6346   8257   
            mut self,
 6347   8258   
            input: Option<
 6348   8259   
                impl ::std::convert::Into<
 6349   8260   
                    crate::constrained::MaybeConstrained<crate::model::LengthBlob>,
 6350   8261   
                >,
 6351   8262   
            >,
 6352   8263   
        ) -> Self {
        8264  +
            /* ServerBuilderGenerator.kt:429 */
 6353   8265   
            self.blob = input.map(|v| v.into());
 6354   8266   
            self
        8267  +
            /* ServerBuilderGenerator.kt:428 */
 6355   8268   
        }
        8269  +
        /* ServerBuilderGenerator.kt:331 */
 6356   8270   
        #[allow(missing_docs)] // documentation missing in model
        8271  +
                               /* ServerBuilderGenerator.kt:343 */
 6357   8272   
        pub fn string(mut self, input: ::std::option::Option<crate::model::LengthString>) -> Self {
 6358         -
            self.string = input.map(
 6359         -
                #[allow(clippy::redundant_closure)]
 6360         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6361         -
            );
        8273  +
            /* ServerBuilderGenerator.kt:344 */
        8274  +
            self.string =
        8275  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8276  +
            /* ServerBuilderGenerator.kt:344 */;
 6362   8277   
            self
        8278  +
            /* ServerBuilderGenerator.kt:343 */
 6363   8279   
        }
        8280  +
        /* ServerBuilderGenerator.kt:426 */
 6364   8281   
        #[allow(missing_docs)] // documentation missing in model
        8282  +
                               /* ServerBuilderGenerator.kt:428 */
 6365   8283   
        pub(crate) fn set_string(
 6366   8284   
            mut self,
 6367   8285   
            input: Option<
 6368   8286   
                impl ::std::convert::Into<
 6369   8287   
                    crate::constrained::MaybeConstrained<crate::model::LengthString>,
 6370   8288   
                >,
 6371   8289   
            >,
 6372   8290   
        ) -> Self {
        8291  +
            /* ServerBuilderGenerator.kt:429 */
 6373   8292   
            self.string = input.map(|v| v.into());
 6374   8293   
            self
        8294  +
            /* ServerBuilderGenerator.kt:428 */
 6375   8295   
        }
        8296  +
        /* ServerBuilderGenerator.kt:331 */
 6376   8297   
        #[allow(missing_docs)] // documentation missing in model
        8298  +
                               /* ServerBuilderGenerator.kt:343 */
 6377   8299   
        pub fn min_string(
 6378   8300   
            mut self,
 6379   8301   
            input: ::std::option::Option<crate::model::MinLengthString>,
 6380   8302   
        ) -> Self {
 6381         -
            self.min_string = input.map(
 6382         -
                #[allow(clippy::redundant_closure)]
 6383         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6384         -
            );
        8303  +
            /* ServerBuilderGenerator.kt:344 */
        8304  +
            self.min_string =
        8305  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8306  +
            /* ServerBuilderGenerator.kt:344 */;
 6385   8307   
            self
        8308  +
            /* ServerBuilderGenerator.kt:343 */
 6386   8309   
        }
        8310  +
        /* ServerBuilderGenerator.kt:426 */
 6387   8311   
        #[allow(missing_docs)] // documentation missing in model
        8312  +
                               /* ServerBuilderGenerator.kt:428 */
 6388   8313   
        pub(crate) fn set_min_string(
 6389   8314   
            mut self,
 6390   8315   
            input: Option<
 6391   8316   
                impl ::std::convert::Into<
 6392   8317   
                    crate::constrained::MaybeConstrained<crate::model::MinLengthString>,
 6393   8318   
                >,
 6394   8319   
            >,
 6395   8320   
        ) -> Self {
        8321  +
            /* ServerBuilderGenerator.kt:429 */
 6396   8322   
            self.min_string = input.map(|v| v.into());
 6397   8323   
            self
        8324  +
            /* ServerBuilderGenerator.kt:428 */
 6398   8325   
        }
        8326  +
        /* ServerBuilderGenerator.kt:331 */
 6399   8327   
        #[allow(missing_docs)] // documentation missing in model
        8328  +
                               /* ServerBuilderGenerator.kt:343 */
 6400   8329   
        pub fn max_string(
 6401   8330   
            mut self,
 6402   8331   
            input: ::std::option::Option<crate::model::MaxLengthString>,
 6403   8332   
        ) -> Self {
 6404         -
            self.max_string = input.map(
 6405         -
                #[allow(clippy::redundant_closure)]
 6406         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6407         -
            );
        8333  +
            /* ServerBuilderGenerator.kt:344 */
        8334  +
            self.max_string =
        8335  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8336  +
            /* ServerBuilderGenerator.kt:344 */;
 6408   8337   
            self
        8338  +
            /* ServerBuilderGenerator.kt:343 */
 6409   8339   
        }
        8340  +
        /* ServerBuilderGenerator.kt:426 */
 6410   8341   
        #[allow(missing_docs)] // documentation missing in model
        8342  +
                               /* ServerBuilderGenerator.kt:428 */
 6411   8343   
        pub(crate) fn set_max_string(
 6412   8344   
            mut self,
 6413   8345   
            input: Option<
 6414   8346   
                impl ::std::convert::Into<
 6415   8347   
                    crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
 6416   8348   
                >,
 6417   8349   
            >,
 6418   8350   
        ) -> Self {
        8351  +
            /* ServerBuilderGenerator.kt:429 */
 6419   8352   
            self.max_string = input.map(|v| v.into());
 6420   8353   
            self
        8354  +
            /* ServerBuilderGenerator.kt:428 */
 6421   8355   
        }
        8356  +
        /* ServerBuilderGenerator.kt:331 */
 6422   8357   
        #[allow(missing_docs)] // documentation missing in model
        8358  +
                               /* ServerBuilderGenerator.kt:343 */
 6423   8359   
        pub fn list(mut self, input: ::std::option::Option<crate::model::LengthList>) -> Self {
 6424         -
            self.list = input.map(
 6425         -
                #[allow(clippy::redundant_closure)]
 6426         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6427         -
            );
        8360  +
            /* ServerBuilderGenerator.kt:344 */
        8361  +
            self.list =
        8362  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8363  +
            /* ServerBuilderGenerator.kt:344 */;
 6428   8364   
            self
        8365  +
            /* ServerBuilderGenerator.kt:343 */
 6429   8366   
        }
        8367  +
        /* ServerBuilderGenerator.kt:426 */
 6430   8368   
        #[allow(missing_docs)] // documentation missing in model
        8369  +
                               /* ServerBuilderGenerator.kt:428 */
 6431   8370   
        pub(crate) fn set_list(
 6432   8371   
            mut self,
 6433   8372   
            input: Option<
 6434   8373   
                impl ::std::convert::Into<
 6435   8374   
                    crate::constrained::MaybeConstrained<crate::model::LengthList>,
 6436   8375   
                >,
 6437   8376   
            >,
 6438   8377   
        ) -> Self {
        8378  +
            /* ServerBuilderGenerator.kt:429 */
 6439   8379   
            self.list = input.map(|v| v.into());
 6440   8380   
            self
        8381  +
            /* ServerBuilderGenerator.kt:428 */
 6441   8382   
        }
        8383  +
        /* ServerBuilderGenerator.kt:331 */
 6442   8384   
        #[allow(missing_docs)] // documentation missing in model
        8385  +
                               /* ServerBuilderGenerator.kt:343 */
 6443   8386   
        pub fn map(mut self, input: ::std::option::Option<crate::model::LengthMap>) -> Self {
 6444         -
            self.map = input.map(
 6445         -
                #[allow(clippy::redundant_closure)]
 6446         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6447         -
            );
        8387  +
            /* ServerBuilderGenerator.kt:344 */
        8388  +
            self.map =
        8389  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8390  +
            /* ServerBuilderGenerator.kt:344 */;
 6448   8391   
            self
        8392  +
            /* ServerBuilderGenerator.kt:343 */
 6449   8393   
        }
        8394  +
        /* ServerBuilderGenerator.kt:426 */
 6450   8395   
        #[allow(missing_docs)] // documentation missing in model
        8396  +
                               /* ServerBuilderGenerator.kt:428 */
 6451   8397   
        pub(crate) fn set_map(
 6452   8398   
            mut self,
 6453   8399   
            input: Option<
 6454   8400   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
 6455   8401   
            >,
 6456   8402   
        ) -> Self {
        8403  +
            /* ServerBuilderGenerator.kt:429 */
 6457   8404   
            self.map = input.map(|v| v.into());
 6458   8405   
            self
        8406  +
            /* ServerBuilderGenerator.kt:428 */
 6459   8407   
        }
 6460         -
        /// Consumes the builder and constructs a [`MalformedLengthInput`](crate::input::MalformedLengthInput).
 6461         -
        ///
        8408  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedLengthInput`](crate::input::MalformedLengthInput).
        8409  +
        /// /* ServerBuilderGenerator.kt:260 */
 6462   8410   
        /// The builder fails to construct a [`MalformedLengthInput`](crate::input::MalformedLengthInput) if a [`ConstraintViolation`] occurs.
 6463   8411   
        ///
 6464         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        8412  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        8413  +
        /* ServerBuilderGenerator.kt:271 */
 6465   8414   
        pub fn build(self) -> Result<crate::input::MalformedLengthInput, ConstraintViolation> {
 6466   8415   
            self.build_enforcing_all_constraints()
 6467   8416   
        }
        8417  +
        /* ServerBuilderGenerator.kt:283 */
 6468   8418   
        fn build_enforcing_all_constraints(
 6469   8419   
            self,
 6470   8420   
        ) -> Result<crate::input::MalformedLengthInput, ConstraintViolation> {
 6471         -
            Ok(crate::input::MalformedLengthInput {
        8421  +
            /* ServerBuilderGenerator.kt:287 */
        8422  +
            Ok(
        8423  +
                /* ServerBuilderGenerator.kt:542 */
        8424  +
                crate::input::MalformedLengthInput {
        8425  +
                    /* ServerBuilderGenerator.kt:546 */
 6472   8426   
                    blob: self
 6473   8427   
                        .blob
        8428  +
                        /* ServerBuilderGenerator.kt:602 */
 6474   8429   
                        .map(|v| match v {
 6475   8430   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6476   8431   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6477   8432   
                        })
        8433  +
                        /* ServerBuilderGenerator.kt:614 */
 6478   8434   
                        .map(|res| res.map_err(ConstraintViolation::Blob))
 6479   8435   
                        .transpose()?,
        8436  +
                    /* ServerBuilderGenerator.kt:546 */
 6480   8437   
                    string: self
 6481   8438   
                        .string
        8439  +
                        /* ServerBuilderGenerator.kt:602 */
 6482   8440   
                        .map(|v| match v {
 6483   8441   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6484   8442   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6485   8443   
                        })
        8444  +
                        /* ServerBuilderGenerator.kt:614 */
 6486   8445   
                        .map(|res| res.map_err(ConstraintViolation::String))
 6487   8446   
                        .transpose()?,
        8447  +
                    /* ServerBuilderGenerator.kt:546 */
 6488   8448   
                    min_string: self
 6489   8449   
                        .min_string
        8450  +
                        /* ServerBuilderGenerator.kt:602 */
 6490   8451   
                        .map(|v| match v {
 6491   8452   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6492   8453   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6493   8454   
                        })
        8455  +
                        /* ServerBuilderGenerator.kt:614 */
 6494   8456   
                        .map(|res| res.map_err(ConstraintViolation::MinString))
 6495   8457   
                        .transpose()?,
        8458  +
                    /* ServerBuilderGenerator.kt:546 */
 6496   8459   
                    max_string: self
 6497   8460   
                        .max_string
        8461  +
                        /* ServerBuilderGenerator.kt:602 */
 6498   8462   
                        .map(|v| match v {
 6499   8463   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6500   8464   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6501   8465   
                        })
        8466  +
                        /* ServerBuilderGenerator.kt:614 */
 6502   8467   
                        .map(|res| res.map_err(ConstraintViolation::MaxString))
 6503   8468   
                        .transpose()?,
        8469  +
                    /* ServerBuilderGenerator.kt:546 */
 6504   8470   
                    list: self
 6505   8471   
                        .list
        8472  +
                        /* ServerBuilderGenerator.kt:602 */
 6506   8473   
                        .map(|v| match v {
 6507   8474   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6508   8475   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6509   8476   
                        })
        8477  +
                        /* ServerBuilderGenerator.kt:614 */
 6510   8478   
                        .map(|res| res.map_err(ConstraintViolation::List))
 6511   8479   
                        .transpose()?,
        8480  +
                    /* ServerBuilderGenerator.kt:546 */
 6512   8481   
                    map: self
 6513   8482   
                        .map
        8483  +
                        /* ServerBuilderGenerator.kt:602 */
 6514   8484   
                        .map(|v| match v {
 6515   8485   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6516   8486   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6517   8487   
                        })
        8488  +
                        /* ServerBuilderGenerator.kt:614 */
 6518   8489   
                        .map(|res| res.map_err(ConstraintViolation::Map))
 6519   8490   
                        .transpose()?,
 6520         -
            })
        8491  +
                    /* ServerBuilderGenerator.kt:542 */
        8492  +
                }, /* ServerBuilderGenerator.kt:287 */
        8493  +
            )
        8494  +
            /* ServerBuilderGenerator.kt:283 */
 6521   8495   
        }
        8496  +
        /* ServerBuilderGenerator.kt:215 */
 6522   8497   
    }
        8498  +
        8499  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6523   8500   
}
 6524         -
/// See [`MalformedEnumInput`](crate::input::MalformedEnumInput).
        8501  +
/// /* ServerBuilderGenerator.kt:171 */See [`MalformedEnumInput`](crate::input::MalformedEnumInput).
 6525   8502   
pub mod malformed_enum_input {
 6526   8503   
        8504  +
    /* RustType.kt:516 */
 6527   8505   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 6528         -
    /// Holds one variant for each of the ways the builder can fail.
        8506  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        8507  +
    /* RustType.kt:516 */
 6529   8508   
    #[non_exhaustive]
        8509  +
    /* ServerBuilderConstraintViolations.kt:75 */
 6530   8510   
    #[allow(clippy::enum_variant_names)]
 6531   8511   
    pub enum ConstraintViolation {
 6532         -
        /// Constraint violation occurred building member `string` when building `MalformedEnumInput`.
        8512  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string` when building `MalformedEnumInput`.
        8513  +
        /* RustType.kt:516 */
 6533   8514   
        #[doc(hidden)]
        8515  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6534   8516   
        String(crate::model::enum_string::ConstraintViolation),
 6535         -
        /// Constraint violation occurred building member `string_with_enum_trait` when building `MalformedEnumInput`.
        8517  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `string_with_enum_trait` when building `MalformedEnumInput`.
        8518  +
        /* RustType.kt:516 */
 6536   8519   
        #[doc(hidden)]
        8520  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6537   8521   
        StringWithEnumTrait(crate::model::enum_trait_string::ConstraintViolation),
 6538         -
        /// Constraint violation occurred building member `list` when building `MalformedEnumInput`.
        8522  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `list` when building `MalformedEnumInput`.
        8523  +
        /* RustType.kt:516 */
 6539   8524   
        #[doc(hidden)]
        8525  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6540   8526   
        List(crate::model::enum_list::ConstraintViolation),
 6541         -
        /// Constraint violation occurred building member `map` when building `MalformedEnumInput`.
        8527  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `map` when building `MalformedEnumInput`.
        8528  +
        /* RustType.kt:516 */
 6542   8529   
        #[doc(hidden)]
        8530  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6543   8531   
        Map(crate::model::enum_map::ConstraintViolation),
 6544         -
        /// Constraint violation occurred building member `union` when building `MalformedEnumInput`.
        8532  +
        /// /* ServerBuilderConstraintViolations.kt:158 */Constraint violation occurred building member `union` when building `MalformedEnumInput`.
        8533  +
        /* RustType.kt:516 */
 6545   8534   
        #[doc(hidden)]
        8535  +
        /* ServerBuilderConstraintViolations.kt:164 */
 6546   8536   
        Union(crate::model::enum_union::ConstraintViolation),
        8537  +
        /* ServerBuilderConstraintViolations.kt:75 */
 6547   8538   
    }
        8539  +
    /* ServerBuilderConstraintViolations.kt:117 */
 6548   8540   
    impl ::std::fmt::Display for ConstraintViolation {
        8541  +
        /* ServerBuilderConstraintViolations.kt:118 */
 6549   8542   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        8543  +
            /* ServerBuilderConstraintViolations.kt:119 */
 6550   8544   
            match self {
 6551         -
                ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedEnumInput`"),
 6552         -
                ConstraintViolation::StringWithEnumTrait(_) => write!(f, "constraint violation occurred building member `string_with_enum_trait` when building `MalformedEnumInput`"),
 6553         -
                ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedEnumInput`"),
 6554         -
                ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedEnumInput`"),
 6555         -
                ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `MalformedEnumInput`"),
 6556         -
            }
        8545  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::String(_) => write!(f, "constraint violation occurred building member `string` when building `MalformedEnumInput`"),
        8546  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::StringWithEnumTrait(_) => write!(f, "constraint violation occurred building member `string_with_enum_trait` when building `MalformedEnumInput`"),
        8547  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::List(_) => write!(f, "constraint violation occurred building member `list` when building `MalformedEnumInput`"),
        8548  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Map(_) => write!(f, "constraint violation occurred building member `map` when building `MalformedEnumInput`"),
        8549  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::Union(_) => write!(f, "constraint violation occurred building member `union` when building `MalformedEnumInput`"),
        8550  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        8551  +
            /* ServerBuilderConstraintViolations.kt:118 */
 6557   8552   
        }
        8553  +
        /* ServerBuilderConstraintViolations.kt:117 */
 6558   8554   
    }
        8555  +
    /* ServerBuilderConstraintViolations.kt:84 */
 6559   8556   
    impl ::std::error::Error for ConstraintViolation {}
        8557  +
    /* ServerBuilderConstraintViolations.kt:171 */
 6560   8558   
    impl ConstraintViolation {
 6561   8559   
        pub(crate) fn as_validation_exception_field(
 6562   8560   
            self,
 6563   8561   
            path: ::std::string::String,
 6564   8562   
        ) -> crate::model::ValidationExceptionField {
 6565   8563   
            match self {
 6566   8564   
                ConstraintViolation::String(inner) => {
 6567   8565   
                    inner.as_validation_exception_field(path + "/string")
 6568   8566   
                }
 6569   8567   
                ConstraintViolation::StringWithEnumTrait(inner) => {
 6570   8568   
                    inner.as_validation_exception_field(path + "/stringWithEnumTrait")
 6571   8569   
                }
 6572   8570   
                ConstraintViolation::List(inner) => {
 6573   8571   
                    inner.as_validation_exception_field(path + "/list")
 6574   8572   
                }
 6575   8573   
                ConstraintViolation::Map(inner) => {
 6576   8574   
                    inner.as_validation_exception_field(path + "/map")
 6577   8575   
                }
 6578   8576   
                ConstraintViolation::Union(inner) => {
 6579   8577   
                    inner.as_validation_exception_field(path + "/union")
 6580   8578   
                }
 6581   8579   
            }
 6582   8580   
        }
 6583   8581   
    }
        8582  +
    /* ServerBuilderGenerator.kt:234 */
 6584   8583   
    impl ::std::convert::From<ConstraintViolation>
 6585   8584   
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
 6586   8585   
    {
 6587   8586   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 6588   8587   
            let first_validation_exception_field =
 6589   8588   
                constraint_violation.as_validation_exception_field("".to_owned());
 6590   8589   
            let validation_exception = crate::error::ValidationException {
 6591   8590   
                message: format!(
 6592   8591   
                    "1 validation error detected. {}",
 6593   8592   
                    &first_validation_exception_field.message
 6594   8593   
                ),
 6595   8594   
                field_list: Some(vec![first_validation_exception_field]),
 6596   8595   
            };
 6597   8596   
            Self::ConstraintViolation(
 6598   8597   
                                crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
 6599   8598   
                                    .expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
 6600   8599   
                            )
 6601   8600   
        }
 6602   8601   
    }
        8602  +
    /* ServerBuilderGenerator.kt:244 */
 6603   8603   
    impl ::std::convert::From<Builder>
 6604   8604   
        for crate::constrained::MaybeConstrained<crate::input::MalformedEnumInput>
 6605   8605   
    {
 6606   8606   
        fn from(builder: Builder) -> Self {
 6607   8607   
            Self::Unconstrained(builder)
 6608   8608   
        }
 6609   8609   
    }
        8610  +
    /* ServerBuilderGenerator.kt:446 */
 6610   8611   
    impl ::std::convert::TryFrom<Builder> for crate::input::MalformedEnumInput {
 6611   8612   
        type Error = ConstraintViolation;
 6612   8613   
 6613   8614   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 6614   8615   
            builder.build()
 6615   8616   
        }
 6616   8617   
    }
 6617         -
    /// A builder for [`MalformedEnumInput`](crate::input::MalformedEnumInput).
        8618  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`MalformedEnumInput`](crate::input::MalformedEnumInput).
        8619  +
    /* RustType.kt:516 */
 6618   8620   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        8621  +
    /* ServerBuilderGenerator.kt:211 */
 6619   8622   
    pub struct Builder {
        8623  +
        /* ServerBuilderGenerator.kt:308 */
 6620   8624   
        pub(crate) string:
 6621   8625   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumString>>,
        8626  +
        /* ServerBuilderGenerator.kt:308 */
 6622   8627   
        pub(crate) string_with_enum_trait: ::std::option::Option<
 6623   8628   
            crate::constrained::MaybeConstrained<crate::model::EnumTraitString>,
 6624   8629   
        >,
        8630  +
        /* ServerBuilderGenerator.kt:308 */
 6625   8631   
        pub(crate) list: ::std::option::Option<
 6626   8632   
            crate::constrained::MaybeConstrained<
 6627   8633   
                crate::constrained::enum_list_constrained::EnumListConstrained,
 6628   8634   
            >,
 6629   8635   
        >,
        8636  +
        /* ServerBuilderGenerator.kt:308 */
 6630   8637   
        pub(crate) map: ::std::option::Option<
 6631   8638   
            crate::constrained::MaybeConstrained<
 6632   8639   
                crate::constrained::enum_map_constrained::EnumMapConstrained,
 6633   8640   
            >,
 6634   8641   
        >,
        8642  +
        /* ServerBuilderGenerator.kt:308 */
 6635   8643   
        pub(crate) union:
 6636   8644   
            ::std::option::Option<crate::constrained::MaybeConstrained<crate::model::EnumUnion>>,
        8645  +
        /* ServerBuilderGenerator.kt:211 */
 6637   8646   
    }
        8647  +
    /* ServerBuilderGenerator.kt:215 */
 6638   8648   
    impl Builder {
        8649  +
        /* ServerBuilderGenerator.kt:331 */
 6639   8650   
        #[allow(missing_docs)] // documentation missing in model
        8651  +
                               /* ServerBuilderGenerator.kt:343 */
 6640   8652   
        pub fn string(mut self, input: ::std::option::Option<crate::model::EnumString>) -> Self {
 6641         -
            self.string = input.map(
 6642         -
                #[allow(clippy::redundant_closure)]
 6643         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6644         -
            );
        8653  +
            /* ServerBuilderGenerator.kt:344 */
        8654  +
            self.string =
        8655  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8656  +
            /* ServerBuilderGenerator.kt:344 */;
 6645   8657   
            self
        8658  +
            /* ServerBuilderGenerator.kt:343 */
 6646   8659   
        }
        8660  +
        /* ServerBuilderGenerator.kt:426 */
 6647   8661   
        #[allow(missing_docs)] // documentation missing in model
        8662  +
                               /* ServerBuilderGenerator.kt:428 */
 6648   8663   
        pub(crate) fn set_string(
 6649   8664   
            mut self,
 6650   8665   
            input: Option<
 6651   8666   
                impl ::std::convert::Into<
 6652   8667   
                    crate::constrained::MaybeConstrained<crate::model::EnumString>,
 6653   8668   
                >,
 6654   8669   
            >,
 6655   8670   
        ) -> Self {
        8671  +
            /* ServerBuilderGenerator.kt:429 */
 6656   8672   
            self.string = input.map(|v| v.into());
 6657   8673   
            self
        8674  +
            /* ServerBuilderGenerator.kt:428 */
 6658   8675   
        }
        8676  +
        /* ServerBuilderGenerator.kt:331 */
 6659   8677   
        #[allow(missing_docs)] // documentation missing in model
        8678  +
                               /* ServerBuilderGenerator.kt:343 */
 6660   8679   
        pub fn string_with_enum_trait(
 6661   8680   
            mut self,
 6662   8681   
            input: ::std::option::Option<crate::model::EnumTraitString>,
 6663   8682   
        ) -> Self {
 6664         -
            self.string_with_enum_trait = input.map(
 6665         -
                #[allow(clippy::redundant_closure)]
 6666         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6667         -
            );
        8683  +
            /* ServerBuilderGenerator.kt:344 */
        8684  +
            self.string_with_enum_trait =
        8685  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8686  +
            /* ServerBuilderGenerator.kt:344 */;
 6668   8687   
            self
        8688  +
            /* ServerBuilderGenerator.kt:343 */
 6669   8689   
        }
        8690  +
        /* ServerBuilderGenerator.kt:426 */
 6670   8691   
        #[allow(missing_docs)] // documentation missing in model
        8692  +
                               /* ServerBuilderGenerator.kt:428 */
 6671   8693   
        pub(crate) fn set_string_with_enum_trait(
 6672   8694   
            mut self,
 6673   8695   
            input: Option<
 6674   8696   
                impl ::std::convert::Into<
 6675   8697   
                    crate::constrained::MaybeConstrained<crate::model::EnumTraitString>,
 6676   8698   
                >,
 6677   8699   
            >,
 6678   8700   
        ) -> Self {
        8701  +
            /* ServerBuilderGenerator.kt:429 */
 6679   8702   
            self.string_with_enum_trait = input.map(|v| v.into());
 6680   8703   
            self
        8704  +
            /* ServerBuilderGenerator.kt:428 */
 6681   8705   
        }
        8706  +
        /* ServerBuilderGenerator.kt:331 */
 6682   8707   
        #[allow(missing_docs)] // documentation missing in model
        8708  +
                               /* ServerBuilderGenerator.kt:343 */
 6683   8709   
        pub fn list(
 6684   8710   
            mut self,
 6685   8711   
            input: ::std::option::Option<::std::vec::Vec<crate::model::EnumString>>,
 6686   8712   
        ) -> Self {
 6687         -
            self.list = input.map(
 6688         -
                #[allow(clippy::redundant_closure)]
 6689         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6690         -
            );
        8713  +
            /* ServerBuilderGenerator.kt:344 */
        8714  +
            self.list =
        8715  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8716  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8717  +
                /* ServerBuilderGenerator.kt:369 */)
        8718  +
            /* ServerBuilderGenerator.kt:344 */;
 6691   8719   
            self
        8720  +
            /* ServerBuilderGenerator.kt:343 */
 6692   8721   
        }
        8722  +
        /* ServerBuilderGenerator.kt:426 */
 6693   8723   
        #[allow(missing_docs)] // documentation missing in model
        8724  +
                               /* ServerBuilderGenerator.kt:428 */
 6694   8725   
        pub(crate) fn set_list(
 6695   8726   
            mut self,
 6696   8727   
            input: Option<
 6697   8728   
                impl ::std::convert::Into<
 6698   8729   
                    crate::constrained::MaybeConstrained<
 6699   8730   
                        crate::constrained::enum_list_constrained::EnumListConstrained,
 6700   8731   
                    >,
 6701   8732   
                >,
 6702   8733   
            >,
 6703   8734   
        ) -> Self {
        8735  +
            /* ServerBuilderGenerator.kt:429 */
 6704   8736   
            self.list = input.map(|v| v.into());
 6705   8737   
            self
        8738  +
            /* ServerBuilderGenerator.kt:428 */
 6706   8739   
        }
        8740  +
        /* ServerBuilderGenerator.kt:331 */
 6707   8741   
        #[allow(missing_docs)] // documentation missing in model
        8742  +
                               /* ServerBuilderGenerator.kt:343 */
 6708   8743   
        pub fn map(
 6709   8744   
            mut self,
 6710   8745   
            input: ::std::option::Option<
 6711   8746   
                ::std::collections::HashMap<crate::model::EnumString, crate::model::EnumString>,
 6712   8747   
            >,
 6713   8748   
        ) -> Self {
 6714         -
            self.map = input.map(
 6715         -
                #[allow(clippy::redundant_closure)]
 6716         -
                |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
 6717         -
            );
        8749  +
            /* ServerBuilderGenerator.kt:344 */
        8750  +
            self.map =
        8751  +
                /* ServerBuilderGenerator.kt:369 */input.map(#[allow(clippy::redundant_closure)] |v|
        8752  +
                    /* ServerBuilderGenerator.kt:371 */crate::constrained::MaybeConstrained::Constrained((v).into())
        8753  +
                /* ServerBuilderGenerator.kt:369 */)
        8754  +
            /* ServerBuilderGenerator.kt:344 */;
 6718   8755   
            self
        8756  +
            /* ServerBuilderGenerator.kt:343 */
 6719   8757   
        }
        8758  +
        /* ServerBuilderGenerator.kt:426 */
 6720   8759   
        #[allow(missing_docs)] // documentation missing in model
        8760  +
                               /* ServerBuilderGenerator.kt:428 */
 6721   8761   
        pub(crate) fn set_map(
 6722   8762   
            mut self,
 6723   8763   
            input: Option<
 6724   8764   
                impl ::std::convert::Into<
 6725   8765   
                    crate::constrained::MaybeConstrained<
 6726   8766   
                        crate::constrained::enum_map_constrained::EnumMapConstrained,
 6727   8767   
                    >,
 6728   8768   
                >,
 6729   8769   
            >,
 6730   8770   
        ) -> Self {
        8771  +
            /* ServerBuilderGenerator.kt:429 */
 6731   8772   
            self.map = input.map(|v| v.into());
 6732   8773   
            self
        8774  +
            /* ServerBuilderGenerator.kt:428 */
 6733   8775   
        }
        8776  +
        /* ServerBuilderGenerator.kt:331 */
 6734   8777   
        #[allow(missing_docs)] // documentation missing in model
        8778  +
                               /* ServerBuilderGenerator.kt:343 */
 6735   8779   
        pub fn union(mut self, input: ::std::option::Option<crate::model::EnumUnion>) -> Self {
 6736         -
            self.union = input.map(
 6737         -
                #[allow(clippy::redundant_closure)]
 6738         -
                |v| crate::constrained::MaybeConstrained::Constrained(v),
 6739         -
            );
        8780  +
            /* ServerBuilderGenerator.kt:344 */
        8781  +
            self.union =
        8782  +
                /* ServerBuilderGenerator.kt:367 */input.map(crate::constrained::MaybeConstrained::Constrained)
        8783  +
            /* ServerBuilderGenerator.kt:344 */;
 6740   8784   
            self
        8785  +
            /* ServerBuilderGenerator.kt:343 */
 6741   8786   
        }
        8787  +
        /* ServerBuilderGenerator.kt:426 */
 6742   8788   
        #[allow(missing_docs)] // documentation missing in model
        8789  +
                               /* ServerBuilderGenerator.kt:428 */
 6743   8790   
        pub(crate) fn set_union(
 6744   8791   
            mut self,
 6745   8792   
            input: Option<
 6746   8793   
                impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::EnumUnion>>,
 6747   8794   
            >,
 6748   8795   
        ) -> Self {
        8796  +
            /* ServerBuilderGenerator.kt:429 */
 6749   8797   
            self.union = input.map(|v| v.into());
 6750   8798   
            self
        8799  +
            /* ServerBuilderGenerator.kt:428 */
 6751   8800   
        }
 6752         -
        /// Consumes the builder and constructs a [`MalformedEnumInput`](crate::input::MalformedEnumInput).
 6753         -
        ///
        8801  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MalformedEnumInput`](crate::input::MalformedEnumInput).
        8802  +
        /// /* ServerBuilderGenerator.kt:260 */
 6754   8803   
        /// The builder fails to construct a [`MalformedEnumInput`](crate::input::MalformedEnumInput) if a [`ConstraintViolation`] occurs.
 6755   8804   
        ///
 6756         -
        /// If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        8805  +
        /// /* ServerBuilderGenerator.kt:268 */If the builder fails, it will return the _first_ encountered [`ConstraintViolation`].
        8806  +
        /* ServerBuilderGenerator.kt:271 */
 6757   8807   
        pub fn build(self) -> Result<crate::input::MalformedEnumInput, ConstraintViolation> {
 6758   8808   
            self.build_enforcing_all_constraints()
 6759   8809   
        }
        8810  +
        /* ServerBuilderGenerator.kt:283 */
 6760   8811   
        fn build_enforcing_all_constraints(
 6761   8812   
            self,
 6762   8813   
        ) -> Result<crate::input::MalformedEnumInput, ConstraintViolation> {
 6763         -
            Ok(crate::input::MalformedEnumInput {
        8814  +
            /* ServerBuilderGenerator.kt:287 */
        8815  +
            Ok(
        8816  +
                /* ServerBuilderGenerator.kt:542 */
        8817  +
                crate::input::MalformedEnumInput {
        8818  +
                    /* ServerBuilderGenerator.kt:546 */
 6764   8819   
                    string: self
 6765   8820   
                        .string
        8821  +
                        /* ServerBuilderGenerator.kt:602 */
 6766   8822   
                        .map(|v| match v {
 6767   8823   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6768   8824   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6769   8825   
                        })
        8826  +
                        /* ServerBuilderGenerator.kt:614 */
 6770   8827   
                        .map(|res| res.map_err(ConstraintViolation::String))
 6771   8828   
                        .transpose()?,
        8829  +
                    /* ServerBuilderGenerator.kt:546 */
 6772   8830   
                    string_with_enum_trait: self
 6773   8831   
                        .string_with_enum_trait
        8832  +
                        /* ServerBuilderGenerator.kt:602 */
 6774   8833   
                        .map(|v| match v {
 6775   8834   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6776   8835   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6777   8836   
                        })
        8837  +
                        /* ServerBuilderGenerator.kt:614 */
 6778   8838   
                        .map(|res| res.map_err(ConstraintViolation::StringWithEnumTrait))
 6779   8839   
                        .transpose()?,
        8840  +
                    /* ServerBuilderGenerator.kt:546 */
 6780   8841   
                    list: self
 6781   8842   
                        .list
        8843  +
                        /* ServerBuilderGenerator.kt:602 */
 6782   8844   
                        .map(|v| match v {
 6783   8845   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6784   8846   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6785   8847   
                        })
        8848  +
                        /* ServerBuilderGenerator.kt:614 */
 6786   8849   
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::List))
 6787   8850   
                        .transpose()?,
        8851  +
                    /* ServerBuilderGenerator.kt:546 */
 6788   8852   
                    map: self
 6789   8853   
                        .map
        8854  +
                        /* ServerBuilderGenerator.kt:602 */
 6790   8855   
                        .map(|v| match v {
 6791   8856   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6792   8857   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6793   8858   
                        })
        8859  +
                        /* ServerBuilderGenerator.kt:614 */
 6794   8860   
                        .map(|res| res.map(|v| v.into()).map_err(ConstraintViolation::Map))
 6795   8861   
                        .transpose()?,
        8862  +
                    /* ServerBuilderGenerator.kt:546 */
 6796   8863   
                    union: self
 6797   8864   
                        .union
        8865  +
                        /* ServerBuilderGenerator.kt:602 */
 6798   8866   
                        .map(|v| match v {
 6799   8867   
                            crate::constrained::MaybeConstrained::Constrained(x) => Ok(x),
 6800   8868   
                            crate::constrained::MaybeConstrained::Unconstrained(x) => x.try_into(),
 6801   8869   
                        })
        8870  +
                        /* ServerBuilderGenerator.kt:614 */
 6802   8871   
                        .map(|res| res.map_err(ConstraintViolation::Union))
 6803   8872   
                        .transpose()?,
 6804         -
            })
        8873  +
                    /* ServerBuilderGenerator.kt:542 */
        8874  +
                }, /* ServerBuilderGenerator.kt:287 */
        8875  +
            )
        8876  +
            /* ServerBuilderGenerator.kt:283 */
 6805   8877   
        }
        8878  +
        /* ServerBuilderGenerator.kt:215 */
 6806   8879   
    }
        8880  +
        8881  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 6807   8882   
}