Server Test

Server Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

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

@@ -1,1 +2033,4171 @@
    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 `OperationWithNestedStructure` operation.
           4  +
/* ServerOperationErrorGenerator.kt:64 */
    3      5   
/// Each variant represents an error that can occur for the `OperationWithNestedStructure` operation.
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::fmt::Debug)]
    5         -
pub enum OperationWithNestedStructureError {
    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 OperationWithNestedStructureError {
           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 OperationWithNestedStructureError {
          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         -
            OperationWithNestedStructureError::ValidationException(_inner) => _inner.fmt(f),
          20  +
            /* ServerOperationErrorGenerator.kt:142 */
          21  +
            OperationWithNestedStructureError::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 OperationWithNestedStructureError {
          34  +
    /* ServerOperationErrorGenerator.kt:87 */
   17     35   
    /// Returns `true` if the error kind is `OperationWithNestedStructureError::ValidationException`.
          36  +
    /* ServerOperationErrorGenerator.kt:88 */
   18     37   
    pub fn is_validation_exception(&self) -> bool {
          38  +
        /* ServerOperationErrorGenerator.kt:89 */
   19     39   
        matches!(
   20     40   
            &self,
   21     41   
            OperationWithNestedStructureError::ValidationException(_)
   22     42   
        )
          43  +
        /* ServerOperationErrorGenerator.kt:88 */
   23     44   
    }
          45  +
    /* ServerOperationErrorGenerator.kt:92 */
   24     46   
    /// Returns the error name string by matching the correct variant.
          47  +
    /* ServerOperationErrorGenerator.kt:93 */
   25     48   
    pub fn name(&self) -> &'static str {
          49  +
        /* ServerOperationErrorGenerator.kt:139 */
   26     50   
        match &self {
   27         -
            OperationWithNestedStructureError::ValidationException(_inner) => _inner.name(),
          51  +
            /* ServerOperationErrorGenerator.kt:142 */
          52  +
            OperationWithNestedStructureError::ValidationException(_inner) =>
          53  +
            /* ServerOperationErrorGenerator.kt:95 */
          54  +
            {
          55  +
                _inner.name()
          56  +
            }
          57  +
            /* ServerOperationErrorGenerator.kt:139 */
   28     58   
        }
          59  +
        /* ServerOperationErrorGenerator.kt:93 */
   29     60   
    }
          61  +
    /* ServerOperationErrorGenerator.kt:83 */
   30     62   
}
          63  +
/* ServerOperationErrorGenerator.kt:100 */
   31     64   
impl ::std::error::Error for OperationWithNestedStructureError {
          65  +
    /* ServerOperationErrorGenerator.kt:101 */
   32     66   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
          67  +
        /* ServerOperationErrorGenerator.kt:139 */
   33     68   
        match &self {
   34         -
            OperationWithNestedStructureError::ValidationException(_inner) => Some(_inner),
          69  +
            /* ServerOperationErrorGenerator.kt:142 */
          70  +
            OperationWithNestedStructureError::ValidationException(_inner) =>
          71  +
            /* ServerOperationErrorGenerator.kt:103 */
          72  +
            {
          73  +
                Some(_inner)
          74  +
            }
          75  +
            /* ServerOperationErrorGenerator.kt:139 */
   35     76   
        }
          77  +
        /* ServerOperationErrorGenerator.kt:101 */
   36     78   
    }
          79  +
    /* ServerOperationErrorGenerator.kt:100 */
   37     80   
}
          81  +
/* ServerOperationErrorGenerator.kt:110 */
   38     82   
impl ::std::convert::From<crate::error::ValidationException>
   39     83   
    for crate::error::OperationWithNestedStructureError
   40     84   
{
          85  +
    /* ServerOperationErrorGenerator.kt:111 */
   41     86   
    fn from(
   42     87   
        variant: crate::error::ValidationException,
   43     88   
    ) -> crate::error::OperationWithNestedStructureError {
          89  +
        /* ServerOperationErrorGenerator.kt:112 */
   44     90   
        Self::ValidationException(variant)
          91  +
        /* ServerOperationErrorGenerator.kt:111 */
   45     92   
    }
          93  +
    /* ServerOperationErrorGenerator.kt:110 */
   46     94   
}
   47     95   
   48         -
/// 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.
          96  +
/// /* 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.
          97  +
/* RustType.kt:516 */
   49     98   
#[derive(
   50     99   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
   51    100   
)]
   52         -
pub struct ValidationException {
   53         -
    /// A summary of the validation failure.
         101  +
pub /* StructureGenerator.kt:201 */ struct ValidationException {
         102  +
    /// /* StructureGenerator.kt:231 */A summary of the validation failure.
   54    103   
    pub message: ::std::string::String,
   55         -
    /// 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.
         104  +
    /// /* 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.
   56    105   
    pub field_list: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
         106  +
    /* StructureGenerator.kt:201 */
   57    107   
}
         108  +
/* StructureGenerator.kt:135 */
   58    109   
impl ValidationException {
   59         -
    /// 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.
         110  +
    /// /* 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.
         111  +
    /* StructureGenerator.kt:166 */
   60    112   
    pub fn field_list(&self) -> ::std::option::Option<&[crate::model::ValidationExceptionField]> {
         113  +
        /* StructureGenerator.kt:169 */
   61    114   
        self.field_list.as_deref()
         115  +
        /* StructureGenerator.kt:166 */
   62    116   
    }
         117  +
    /* StructureGenerator.kt:135 */
   63    118   
}
         119  +
/* ErrorImplGenerator.kt:99 */
   64    120   
impl ValidationException {
         121  +
    /* ErrorImplGenerator.kt:128 */
   65    122   
    /// Returns the error message.
   66    123   
    pub fn message(&self) -> &str {
   67    124   
        &self.message
   68    125   
    }
         126  +
    /* ErrorImplGenerator.kt:141 */
   69    127   
    #[doc(hidden)]
   70    128   
    /// Returns the error name.
   71    129   
    pub fn name(&self) -> &'static str {
   72    130   
        "ValidationException"
   73    131   
    }
         132  +
    /* ErrorImplGenerator.kt:99 */
   74    133   
}
         134  +
/* ErrorImplGenerator.kt:153 */
   75    135   
impl ::std::fmt::Display for ValidationException {
         136  +
    /* ErrorImplGenerator.kt:154 */
   76    137   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         138  +
        /* ErrorImplGenerator.kt:161 */
   77    139   
        ::std::write!(f, "ValidationException")?;
         140  +
        /* ErrorImplGenerator.kt:166 */
   78    141   
        {
         142  +
            /* ErrorImplGenerator.kt:167 */
   79    143   
            ::std::write!(f, ": {}", &self.message)?;
         144  +
            /* ErrorImplGenerator.kt:166 */
   80    145   
        }
         146  +
        /* ErrorImplGenerator.kt:171 */
   81    147   
        Ok(())
         148  +
        /* ErrorImplGenerator.kt:154 */
   82    149   
    }
         150  +
    /* ErrorImplGenerator.kt:153 */
   83    151   
}
         152  +
/* ErrorImplGenerator.kt:175 */
   84    153   
impl ::std::error::Error for ValidationException {}
         154  +
/* ServerCodegenVisitor.kt:345 */
   85    155   
impl ValidationException {
   86         -
    /// Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         156  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`ValidationException`](crate::error::ValidationException).
         157  +
    /* ServerBuilderGenerator.kt:295 */
   87    158   
    pub fn builder() -> crate::error::validation_exception::Builder {
         159  +
        /* ServerBuilderGenerator.kt:296 */
   88    160   
        crate::error::validation_exception::Builder::default()
         161  +
        /* ServerBuilderGenerator.kt:295 */
   89    162   
    }
         163  +
    /* ServerCodegenVisitor.kt:345 */
   90    164   
}
   91    165   
         166  +
/* ServerOperationErrorGenerator.kt:63 */
   92    167   
/// Error type for the `OperationWithDefaults` operation.
         168  +
/* ServerOperationErrorGenerator.kt:64 */
   93    169   
/// Each variant represents an error that can occur for the `OperationWithDefaults` operation.
         170  +
/* RustType.kt:516 */
   94    171   
#[derive(::std::fmt::Debug)]
   95         -
pub enum OperationWithDefaultsError {
   96         -
    /// 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.
         172  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum OperationWithDefaultsError {
         173  +
    /// /* 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.
         174  +
    /* ServerOperationErrorGenerator.kt:71 */
   97    175   
    ValidationException(crate::error::ValidationException),
         176  +
    /* ServerOperationErrorGenerator.kt:66 */
   98    177   
}
         178  +
/* ServerOperationErrorGenerator.kt:75 */
   99    179   
impl ::std::fmt::Display for OperationWithDefaultsError {
         180  +
    /* ServerOperationErrorGenerator.kt:76 */
  100    181   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         182  +
        /* ServerOperationErrorGenerator.kt:139 */
  101    183   
        match &self {
  102         -
            OperationWithDefaultsError::ValidationException(_inner) => _inner.fmt(f),
         184  +
            /* ServerOperationErrorGenerator.kt:142 */
         185  +
            OperationWithDefaultsError::ValidationException(_inner) =>
         186  +
            /* ServerOperationErrorGenerator.kt:78 */
         187  +
            {
         188  +
                _inner.fmt(f)
         189  +
            }
         190  +
            /* ServerOperationErrorGenerator.kt:139 */
  103    191   
        }
         192  +
        /* ServerOperationErrorGenerator.kt:76 */
  104    193   
    }
         194  +
    /* ServerOperationErrorGenerator.kt:75 */
  105    195   
}
         196  +
/* ServerOperationErrorGenerator.kt:83 */
  106    197   
impl OperationWithDefaultsError {
         198  +
    /* ServerOperationErrorGenerator.kt:87 */
  107    199   
    /// Returns `true` if the error kind is `OperationWithDefaultsError::ValidationException`.
         200  +
    /* ServerOperationErrorGenerator.kt:88 */
  108    201   
    pub fn is_validation_exception(&self) -> bool {
         202  +
        /* ServerOperationErrorGenerator.kt:89 */
  109    203   
        matches!(&self, OperationWithDefaultsError::ValidationException(_))
         204  +
        /* ServerOperationErrorGenerator.kt:88 */
  110    205   
    }
         206  +
    /* ServerOperationErrorGenerator.kt:92 */
  111    207   
    /// Returns the error name string by matching the correct variant.
         208  +
    /* ServerOperationErrorGenerator.kt:93 */
  112    209   
    pub fn name(&self) -> &'static str {
         210  +
        /* ServerOperationErrorGenerator.kt:139 */
  113    211   
        match &self {
  114         -
            OperationWithDefaultsError::ValidationException(_inner) => _inner.name(),
         212  +
            /* ServerOperationErrorGenerator.kt:142 */
         213  +
            OperationWithDefaultsError::ValidationException(_inner) =>
         214  +
            /* ServerOperationErrorGenerator.kt:95 */
         215  +
            {
         216  +
                _inner.name()
         217  +
            }
         218  +
            /* ServerOperationErrorGenerator.kt:139 */
  115    219   
        }
         220  +
        /* ServerOperationErrorGenerator.kt:93 */
  116    221   
    }
         222  +
    /* ServerOperationErrorGenerator.kt:83 */
  117    223   
}
         224  +
/* ServerOperationErrorGenerator.kt:100 */
  118    225   
impl ::std::error::Error for OperationWithDefaultsError {
         226  +
    /* ServerOperationErrorGenerator.kt:101 */
  119    227   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         228  +
        /* ServerOperationErrorGenerator.kt:139 */
  120    229   
        match &self {
  121         -
            OperationWithDefaultsError::ValidationException(_inner) => Some(_inner),
         230  +
            /* ServerOperationErrorGenerator.kt:142 */
         231  +
            OperationWithDefaultsError::ValidationException(_inner) =>
         232  +
            /* ServerOperationErrorGenerator.kt:103 */
         233  +
            {
         234  +
                Some(_inner)
         235  +
            }
         236  +
            /* ServerOperationErrorGenerator.kt:139 */
  122    237   
        }
         238  +
        /* ServerOperationErrorGenerator.kt:101 */
  123    239   
    }
         240  +
    /* ServerOperationErrorGenerator.kt:100 */
  124    241   
}
         242  +
/* ServerOperationErrorGenerator.kt:110 */
  125    243   
impl ::std::convert::From<crate::error::ValidationException>
  126    244   
    for crate::error::OperationWithDefaultsError
  127    245   
{
         246  +
    /* ServerOperationErrorGenerator.kt:111 */
  128    247   
    fn from(
  129    248   
        variant: crate::error::ValidationException,
  130    249   
    ) -> crate::error::OperationWithDefaultsError {
         250  +
        /* ServerOperationErrorGenerator.kt:112 */
  131    251   
        Self::ValidationException(variant)
         252  +
        /* ServerOperationErrorGenerator.kt:111 */
  132    253   
    }
         254  +
    /* ServerOperationErrorGenerator.kt:110 */
  133    255   
}
  134    256   
         257  +
/* ServerOperationErrorGenerator.kt:63 */
  135    258   
/// Error type for the `MalformedTimestampBodyHttpDate` operation.
         259  +
/* ServerOperationErrorGenerator.kt:64 */
  136    260   
/// Each variant represents an error that can occur for the `MalformedTimestampBodyHttpDate` operation.
         261  +
/* RustType.kt:516 */
  137    262   
#[derive(::std::fmt::Debug)]
  138         -
pub enum MalformedTimestampBodyHttpDateError {
  139         -
    /// 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.
         263  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampBodyHttpDateError {
         264  +
    /// /* 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.
         265  +
    /* ServerOperationErrorGenerator.kt:71 */
  140    266   
    ValidationException(crate::error::ValidationException),
         267  +
    /* ServerOperationErrorGenerator.kt:66 */
  141    268   
}
         269  +
/* ServerOperationErrorGenerator.kt:75 */
  142    270   
impl ::std::fmt::Display for MalformedTimestampBodyHttpDateError {
         271  +
    /* ServerOperationErrorGenerator.kt:76 */
  143    272   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         273  +
        /* ServerOperationErrorGenerator.kt:139 */
  144    274   
        match &self {
  145         -
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) => _inner.fmt(f),
         275  +
            /* ServerOperationErrorGenerator.kt:142 */
         276  +
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) =>
         277  +
            /* ServerOperationErrorGenerator.kt:78 */
         278  +
            {
         279  +
                _inner.fmt(f)
         280  +
            }
         281  +
            /* ServerOperationErrorGenerator.kt:139 */
  146    282   
        }
         283  +
        /* ServerOperationErrorGenerator.kt:76 */
  147    284   
    }
         285  +
    /* ServerOperationErrorGenerator.kt:75 */
  148    286   
}
         287  +
/* ServerOperationErrorGenerator.kt:83 */
  149    288   
impl MalformedTimestampBodyHttpDateError {
         289  +
    /* ServerOperationErrorGenerator.kt:87 */
  150    290   
    /// Returns `true` if the error kind is `MalformedTimestampBodyHttpDateError::ValidationException`.
         291  +
    /* ServerOperationErrorGenerator.kt:88 */
  151    292   
    pub fn is_validation_exception(&self) -> bool {
         293  +
        /* ServerOperationErrorGenerator.kt:89 */
  152    294   
        matches!(
  153    295   
            &self,
  154    296   
            MalformedTimestampBodyHttpDateError::ValidationException(_)
  155    297   
        )
         298  +
        /* ServerOperationErrorGenerator.kt:88 */
  156    299   
    }
         300  +
    /* ServerOperationErrorGenerator.kt:92 */
  157    301   
    /// Returns the error name string by matching the correct variant.
         302  +
    /* ServerOperationErrorGenerator.kt:93 */
  158    303   
    pub fn name(&self) -> &'static str {
         304  +
        /* ServerOperationErrorGenerator.kt:139 */
  159    305   
        match &self {
  160         -
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) => _inner.name(),
         306  +
            /* ServerOperationErrorGenerator.kt:142 */
         307  +
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) =>
         308  +
            /* ServerOperationErrorGenerator.kt:95 */
         309  +
            {
         310  +
                _inner.name()
         311  +
            }
         312  +
            /* ServerOperationErrorGenerator.kt:139 */
  161    313   
        }
         314  +
        /* ServerOperationErrorGenerator.kt:93 */
  162    315   
    }
         316  +
    /* ServerOperationErrorGenerator.kt:83 */
  163    317   
}
         318  +
/* ServerOperationErrorGenerator.kt:100 */
  164    319   
impl ::std::error::Error for MalformedTimestampBodyHttpDateError {
         320  +
    /* ServerOperationErrorGenerator.kt:101 */
  165    321   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         322  +
        /* ServerOperationErrorGenerator.kt:139 */
  166    323   
        match &self {
  167         -
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) => Some(_inner),
         324  +
            /* ServerOperationErrorGenerator.kt:142 */
         325  +
            MalformedTimestampBodyHttpDateError::ValidationException(_inner) =>
         326  +
            /* ServerOperationErrorGenerator.kt:103 */
         327  +
            {
         328  +
                Some(_inner)
         329  +
            }
         330  +
            /* ServerOperationErrorGenerator.kt:139 */
  168    331   
        }
         332  +
        /* ServerOperationErrorGenerator.kt:101 */
  169    333   
    }
         334  +
    /* ServerOperationErrorGenerator.kt:100 */
  170    335   
}
         336  +
/* ServerOperationErrorGenerator.kt:110 */
  171    337   
impl ::std::convert::From<crate::error::ValidationException>
  172    338   
    for crate::error::MalformedTimestampBodyHttpDateError
  173    339   
{
         340  +
    /* ServerOperationErrorGenerator.kt:111 */
  174    341   
    fn from(
  175    342   
        variant: crate::error::ValidationException,
  176    343   
    ) -> crate::error::MalformedTimestampBodyHttpDateError {
         344  +
        /* ServerOperationErrorGenerator.kt:112 */
  177    345   
        Self::ValidationException(variant)
         346  +
        /* ServerOperationErrorGenerator.kt:111 */
  178    347   
    }
         348  +
    /* ServerOperationErrorGenerator.kt:110 */
  179    349   
}
  180    350   
         351  +
/* ServerOperationErrorGenerator.kt:63 */
  181    352   
/// Error type for the `MalformedTimestampBodyDateTime` operation.
         353  +
/* ServerOperationErrorGenerator.kt:64 */
  182    354   
/// Each variant represents an error that can occur for the `MalformedTimestampBodyDateTime` operation.
         355  +
/* RustType.kt:516 */
  183    356   
#[derive(::std::fmt::Debug)]
  184         -
pub enum MalformedTimestampBodyDateTimeError {
  185         -
    /// 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.
         357  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampBodyDateTimeError {
         358  +
    /// /* 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.
         359  +
    /* ServerOperationErrorGenerator.kt:71 */
  186    360   
    ValidationException(crate::error::ValidationException),
         361  +
    /* ServerOperationErrorGenerator.kt:66 */
  187    362   
}
         363  +
/* ServerOperationErrorGenerator.kt:75 */
  188    364   
impl ::std::fmt::Display for MalformedTimestampBodyDateTimeError {
         365  +
    /* ServerOperationErrorGenerator.kt:76 */
  189    366   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         367  +
        /* ServerOperationErrorGenerator.kt:139 */
  190    368   
        match &self {
  191         -
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) => _inner.fmt(f),
         369  +
            /* ServerOperationErrorGenerator.kt:142 */
         370  +
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) =>
         371  +
            /* ServerOperationErrorGenerator.kt:78 */
         372  +
            {
         373  +
                _inner.fmt(f)
         374  +
            }
         375  +
            /* ServerOperationErrorGenerator.kt:139 */
  192    376   
        }
         377  +
        /* ServerOperationErrorGenerator.kt:76 */
  193    378   
    }
         379  +
    /* ServerOperationErrorGenerator.kt:75 */
  194    380   
}
         381  +
/* ServerOperationErrorGenerator.kt:83 */
  195    382   
impl MalformedTimestampBodyDateTimeError {
         383  +
    /* ServerOperationErrorGenerator.kt:87 */
  196    384   
    /// Returns `true` if the error kind is `MalformedTimestampBodyDateTimeError::ValidationException`.
         385  +
    /* ServerOperationErrorGenerator.kt:88 */
  197    386   
    pub fn is_validation_exception(&self) -> bool {
         387  +
        /* ServerOperationErrorGenerator.kt:89 */
  198    388   
        matches!(
  199    389   
            &self,
  200    390   
            MalformedTimestampBodyDateTimeError::ValidationException(_)
  201    391   
        )
         392  +
        /* ServerOperationErrorGenerator.kt:88 */
  202    393   
    }
         394  +
    /* ServerOperationErrorGenerator.kt:92 */
  203    395   
    /// Returns the error name string by matching the correct variant.
         396  +
    /* ServerOperationErrorGenerator.kt:93 */
  204    397   
    pub fn name(&self) -> &'static str {
         398  +
        /* ServerOperationErrorGenerator.kt:139 */
  205    399   
        match &self {
  206         -
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) => _inner.name(),
         400  +
            /* ServerOperationErrorGenerator.kt:142 */
         401  +
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) =>
         402  +
            /* ServerOperationErrorGenerator.kt:95 */
         403  +
            {
         404  +
                _inner.name()
         405  +
            }
         406  +
            /* ServerOperationErrorGenerator.kt:139 */
  207    407   
        }
         408  +
        /* ServerOperationErrorGenerator.kt:93 */
  208    409   
    }
         410  +
    /* ServerOperationErrorGenerator.kt:83 */
  209    411   
}
         412  +
/* ServerOperationErrorGenerator.kt:100 */
  210    413   
impl ::std::error::Error for MalformedTimestampBodyDateTimeError {
         414  +
    /* ServerOperationErrorGenerator.kt:101 */
  211    415   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         416  +
        /* ServerOperationErrorGenerator.kt:139 */
  212    417   
        match &self {
  213         -
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) => Some(_inner),
         418  +
            /* ServerOperationErrorGenerator.kt:142 */
         419  +
            MalformedTimestampBodyDateTimeError::ValidationException(_inner) =>
         420  +
            /* ServerOperationErrorGenerator.kt:103 */
         421  +
            {
         422  +
                Some(_inner)
         423  +
            }
         424  +
            /* ServerOperationErrorGenerator.kt:139 */
  214    425   
        }
         426  +
        /* ServerOperationErrorGenerator.kt:101 */
  215    427   
    }
         428  +
    /* ServerOperationErrorGenerator.kt:100 */
  216    429   
}
         430  +
/* ServerOperationErrorGenerator.kt:110 */
  217    431   
impl ::std::convert::From<crate::error::ValidationException>
  218    432   
    for crate::error::MalformedTimestampBodyDateTimeError
  219    433   
{
         434  +
    /* ServerOperationErrorGenerator.kt:111 */
  220    435   
    fn from(
  221    436   
        variant: crate::error::ValidationException,
  222    437   
    ) -> crate::error::MalformedTimestampBodyDateTimeError {
         438  +
        /* ServerOperationErrorGenerator.kt:112 */
  223    439   
        Self::ValidationException(variant)
         440  +
        /* ServerOperationErrorGenerator.kt:111 */
  224    441   
    }
         442  +
    /* ServerOperationErrorGenerator.kt:110 */
  225    443   
}
  226    444   
         445  +
/* ServerOperationErrorGenerator.kt:63 */
  227    446   
/// Error type for the `MalformedTimestampBodyDefault` operation.
         447  +
/* ServerOperationErrorGenerator.kt:64 */
  228    448   
/// Each variant represents an error that can occur for the `MalformedTimestampBodyDefault` operation.
         449  +
/* RustType.kt:516 */
  229    450   
#[derive(::std::fmt::Debug)]
  230         -
pub enum MalformedTimestampBodyDefaultError {
  231         -
    /// 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.
         451  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampBodyDefaultError {
         452  +
    /// /* 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.
         453  +
    /* ServerOperationErrorGenerator.kt:71 */
  232    454   
    ValidationException(crate::error::ValidationException),
         455  +
    /* ServerOperationErrorGenerator.kt:66 */
  233    456   
}
         457  +
/* ServerOperationErrorGenerator.kt:75 */
  234    458   
impl ::std::fmt::Display for MalformedTimestampBodyDefaultError {
         459  +
    /* ServerOperationErrorGenerator.kt:76 */
  235    460   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         461  +
        /* ServerOperationErrorGenerator.kt:139 */
  236    462   
        match &self {
  237         -
            MalformedTimestampBodyDefaultError::ValidationException(_inner) => _inner.fmt(f),
         463  +
            /* ServerOperationErrorGenerator.kt:142 */
         464  +
            MalformedTimestampBodyDefaultError::ValidationException(_inner) =>
         465  +
            /* ServerOperationErrorGenerator.kt:78 */
         466  +
            {
         467  +
                _inner.fmt(f)
         468  +
            }
         469  +
            /* ServerOperationErrorGenerator.kt:139 */
  238    470   
        }
         471  +
        /* ServerOperationErrorGenerator.kt:76 */
  239    472   
    }
         473  +
    /* ServerOperationErrorGenerator.kt:75 */
  240    474   
}
         475  +
/* ServerOperationErrorGenerator.kt:83 */
  241    476   
impl MalformedTimestampBodyDefaultError {
         477  +
    /* ServerOperationErrorGenerator.kt:87 */
  242    478   
    /// Returns `true` if the error kind is `MalformedTimestampBodyDefaultError::ValidationException`.
         479  +
    /* ServerOperationErrorGenerator.kt:88 */
  243    480   
    pub fn is_validation_exception(&self) -> bool {
         481  +
        /* ServerOperationErrorGenerator.kt:89 */
  244    482   
        matches!(
  245    483   
            &self,
  246    484   
            MalformedTimestampBodyDefaultError::ValidationException(_)
  247    485   
        )
         486  +
        /* ServerOperationErrorGenerator.kt:88 */
  248    487   
    }
         488  +
    /* ServerOperationErrorGenerator.kt:92 */
  249    489   
    /// Returns the error name string by matching the correct variant.
         490  +
    /* ServerOperationErrorGenerator.kt:93 */
  250    491   
    pub fn name(&self) -> &'static str {
         492  +
        /* ServerOperationErrorGenerator.kt:139 */
  251    493   
        match &self {
  252         -
            MalformedTimestampBodyDefaultError::ValidationException(_inner) => _inner.name(),
         494  +
            /* ServerOperationErrorGenerator.kt:142 */
         495  +
            MalformedTimestampBodyDefaultError::ValidationException(_inner) =>
         496  +
            /* ServerOperationErrorGenerator.kt:95 */
         497  +
            {
         498  +
                _inner.name()
         499  +
            }
         500  +
            /* ServerOperationErrorGenerator.kt:139 */
  253    501   
        }
         502  +
        /* ServerOperationErrorGenerator.kt:93 */
  254    503   
    }
         504  +
    /* ServerOperationErrorGenerator.kt:83 */
  255    505   
}
         506  +
/* ServerOperationErrorGenerator.kt:100 */
  256    507   
impl ::std::error::Error for MalformedTimestampBodyDefaultError {
         508  +
    /* ServerOperationErrorGenerator.kt:101 */
  257    509   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         510  +
        /* ServerOperationErrorGenerator.kt:139 */
  258    511   
        match &self {
  259         -
            MalformedTimestampBodyDefaultError::ValidationException(_inner) => Some(_inner),
         512  +
            /* ServerOperationErrorGenerator.kt:142 */
         513  +
            MalformedTimestampBodyDefaultError::ValidationException(_inner) =>
         514  +
            /* ServerOperationErrorGenerator.kt:103 */
         515  +
            {
         516  +
                Some(_inner)
         517  +
            }
         518  +
            /* ServerOperationErrorGenerator.kt:139 */
  260    519   
        }
         520  +
        /* ServerOperationErrorGenerator.kt:101 */
  261    521   
    }
         522  +
    /* ServerOperationErrorGenerator.kt:100 */
  262    523   
}
         524  +
/* ServerOperationErrorGenerator.kt:110 */
  263    525   
impl ::std::convert::From<crate::error::ValidationException>
  264    526   
    for crate::error::MalformedTimestampBodyDefaultError
  265    527   
{
         528  +
    /* ServerOperationErrorGenerator.kt:111 */
  266    529   
    fn from(
  267    530   
        variant: crate::error::ValidationException,
  268    531   
    ) -> crate::error::MalformedTimestampBodyDefaultError {
         532  +
        /* ServerOperationErrorGenerator.kt:112 */
  269    533   
        Self::ValidationException(variant)
         534  +
        /* ServerOperationErrorGenerator.kt:111 */
  270    535   
    }
         536  +
    /* ServerOperationErrorGenerator.kt:110 */
  271    537   
}
  272    538   
         539  +
/* ServerOperationErrorGenerator.kt:63 */
  273    540   
/// Error type for the `MalformedTimestampHeaderEpoch` operation.
         541  +
/* ServerOperationErrorGenerator.kt:64 */
  274    542   
/// Each variant represents an error that can occur for the `MalformedTimestampHeaderEpoch` operation.
         543  +
/* RustType.kt:516 */
  275    544   
#[derive(::std::fmt::Debug)]
  276         -
pub enum MalformedTimestampHeaderEpochError {
  277         -
    /// 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.
         545  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampHeaderEpochError {
         546  +
    /// /* 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.
         547  +
    /* ServerOperationErrorGenerator.kt:71 */
  278    548   
    ValidationException(crate::error::ValidationException),
         549  +
    /* ServerOperationErrorGenerator.kt:66 */
  279    550   
}
         551  +
/* ServerOperationErrorGenerator.kt:75 */
  280    552   
impl ::std::fmt::Display for MalformedTimestampHeaderEpochError {
         553  +
    /* ServerOperationErrorGenerator.kt:76 */
  281    554   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         555  +
        /* ServerOperationErrorGenerator.kt:139 */
  282    556   
        match &self {
  283         -
            MalformedTimestampHeaderEpochError::ValidationException(_inner) => _inner.fmt(f),
         557  +
            /* ServerOperationErrorGenerator.kt:142 */
         558  +
            MalformedTimestampHeaderEpochError::ValidationException(_inner) =>
         559  +
            /* ServerOperationErrorGenerator.kt:78 */
         560  +
            {
         561  +
                _inner.fmt(f)
  284    562   
            }
         563  +
            /* ServerOperationErrorGenerator.kt:139 */
  285    564   
        }
         565  +
        /* ServerOperationErrorGenerator.kt:76 */
         566  +
    }
         567  +
    /* ServerOperationErrorGenerator.kt:75 */
  286    568   
}
         569  +
/* ServerOperationErrorGenerator.kt:83 */
  287    570   
impl MalformedTimestampHeaderEpochError {
         571  +
    /* ServerOperationErrorGenerator.kt:87 */
  288    572   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderEpochError::ValidationException`.
         573  +
    /* ServerOperationErrorGenerator.kt:88 */
  289    574   
    pub fn is_validation_exception(&self) -> bool {
         575  +
        /* ServerOperationErrorGenerator.kt:89 */
  290    576   
        matches!(
  291    577   
            &self,
  292    578   
            MalformedTimestampHeaderEpochError::ValidationException(_)
  293    579   
        )
         580  +
        /* ServerOperationErrorGenerator.kt:88 */
  294    581   
    }
         582  +
    /* ServerOperationErrorGenerator.kt:92 */
  295    583   
    /// Returns the error name string by matching the correct variant.
         584  +
    /* ServerOperationErrorGenerator.kt:93 */
  296    585   
    pub fn name(&self) -> &'static str {
         586  +
        /* ServerOperationErrorGenerator.kt:139 */
  297    587   
        match &self {
  298         -
            MalformedTimestampHeaderEpochError::ValidationException(_inner) => _inner.name(),
         588  +
            /* ServerOperationErrorGenerator.kt:142 */
         589  +
            MalformedTimestampHeaderEpochError::ValidationException(_inner) =>
         590  +
            /* ServerOperationErrorGenerator.kt:95 */
         591  +
            {
         592  +
                _inner.name()
  299    593   
            }
         594  +
            /* ServerOperationErrorGenerator.kt:139 */
  300    595   
        }
         596  +
        /* ServerOperationErrorGenerator.kt:93 */
         597  +
    }
         598  +
    /* ServerOperationErrorGenerator.kt:83 */
  301    599   
}
         600  +
/* ServerOperationErrorGenerator.kt:100 */
  302    601   
impl ::std::error::Error for MalformedTimestampHeaderEpochError {
         602  +
    /* ServerOperationErrorGenerator.kt:101 */
  303    603   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         604  +
        /* ServerOperationErrorGenerator.kt:139 */
  304    605   
        match &self {
  305         -
            MalformedTimestampHeaderEpochError::ValidationException(_inner) => Some(_inner),
         606  +
            /* ServerOperationErrorGenerator.kt:142 */
         607  +
            MalformedTimestampHeaderEpochError::ValidationException(_inner) =>
         608  +
            /* ServerOperationErrorGenerator.kt:103 */
         609  +
            {
         610  +
                Some(_inner)
  306    611   
            }
         612  +
            /* ServerOperationErrorGenerator.kt:139 */
  307    613   
        }
         614  +
        /* ServerOperationErrorGenerator.kt:101 */
         615  +
    }
         616  +
    /* ServerOperationErrorGenerator.kt:100 */
  308    617   
}
         618  +
/* ServerOperationErrorGenerator.kt:110 */
  309    619   
impl ::std::convert::From<crate::error::ValidationException>
  310    620   
    for crate::error::MalformedTimestampHeaderEpochError
  311    621   
{
         622  +
    /* ServerOperationErrorGenerator.kt:111 */
  312    623   
    fn from(
  313    624   
        variant: crate::error::ValidationException,
  314    625   
    ) -> crate::error::MalformedTimestampHeaderEpochError {
         626  +
        /* ServerOperationErrorGenerator.kt:112 */
  315    627   
        Self::ValidationException(variant)
         628  +
        /* ServerOperationErrorGenerator.kt:111 */
  316    629   
    }
         630  +
    /* ServerOperationErrorGenerator.kt:110 */
  317    631   
}
  318    632   
         633  +
/* ServerOperationErrorGenerator.kt:63 */
  319    634   
/// Error type for the `MalformedTimestampHeaderDateTime` operation.
         635  +
/* ServerOperationErrorGenerator.kt:64 */
  320    636   
/// Each variant represents an error that can occur for the `MalformedTimestampHeaderDateTime` operation.
         637  +
/* RustType.kt:516 */
  321    638   
#[derive(::std::fmt::Debug)]
  322         -
pub enum MalformedTimestampHeaderDateTimeError {
  323         -
    /// 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.
         639  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampHeaderDateTimeError {
         640  +
    /// /* 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.
         641  +
    /* ServerOperationErrorGenerator.kt:71 */
  324    642   
    ValidationException(crate::error::ValidationException),
         643  +
    /* ServerOperationErrorGenerator.kt:66 */
  325    644   
}
         645  +
/* ServerOperationErrorGenerator.kt:75 */
  326    646   
impl ::std::fmt::Display for MalformedTimestampHeaderDateTimeError {
         647  +
    /* ServerOperationErrorGenerator.kt:76 */
  327    648   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         649  +
        /* ServerOperationErrorGenerator.kt:139 */
  328    650   
        match &self {
  329         -
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) => _inner.fmt(f),
         651  +
            /* ServerOperationErrorGenerator.kt:142 */
         652  +
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) =>
         653  +
            /* ServerOperationErrorGenerator.kt:78 */
         654  +
            {
         655  +
                _inner.fmt(f)
  330    656   
            }
         657  +
            /* ServerOperationErrorGenerator.kt:139 */
  331    658   
        }
         659  +
        /* ServerOperationErrorGenerator.kt:76 */
         660  +
    }
         661  +
    /* ServerOperationErrorGenerator.kt:75 */
  332    662   
}
         663  +
/* ServerOperationErrorGenerator.kt:83 */
  333    664   
impl MalformedTimestampHeaderDateTimeError {
         665  +
    /* ServerOperationErrorGenerator.kt:87 */
  334    666   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderDateTimeError::ValidationException`.
         667  +
    /* ServerOperationErrorGenerator.kt:88 */
  335    668   
    pub fn is_validation_exception(&self) -> bool {
         669  +
        /* ServerOperationErrorGenerator.kt:89 */
  336    670   
        matches!(
  337    671   
            &self,
  338    672   
            MalformedTimestampHeaderDateTimeError::ValidationException(_)
  339    673   
        )
         674  +
        /* ServerOperationErrorGenerator.kt:88 */
  340    675   
    }
         676  +
    /* ServerOperationErrorGenerator.kt:92 */
  341    677   
    /// Returns the error name string by matching the correct variant.
         678  +
    /* ServerOperationErrorGenerator.kt:93 */
  342    679   
    pub fn name(&self) -> &'static str {
         680  +
        /* ServerOperationErrorGenerator.kt:139 */
  343    681   
        match &self {
  344         -
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) => _inner.name(),
         682  +
            /* ServerOperationErrorGenerator.kt:142 */
         683  +
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) =>
         684  +
            /* ServerOperationErrorGenerator.kt:95 */
         685  +
            {
         686  +
                _inner.name()
  345    687   
            }
         688  +
            /* ServerOperationErrorGenerator.kt:139 */
  346    689   
        }
         690  +
        /* ServerOperationErrorGenerator.kt:93 */
         691  +
    }
         692  +
    /* ServerOperationErrorGenerator.kt:83 */
  347    693   
}
         694  +
/* ServerOperationErrorGenerator.kt:100 */
  348    695   
impl ::std::error::Error for MalformedTimestampHeaderDateTimeError {
         696  +
    /* ServerOperationErrorGenerator.kt:101 */
  349    697   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         698  +
        /* ServerOperationErrorGenerator.kt:139 */
  350    699   
        match &self {
  351         -
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) => Some(_inner),
         700  +
            /* ServerOperationErrorGenerator.kt:142 */
         701  +
            MalformedTimestampHeaderDateTimeError::ValidationException(_inner) =>
         702  +
            /* ServerOperationErrorGenerator.kt:103 */
         703  +
            {
         704  +
                Some(_inner)
  352    705   
            }
         706  +
            /* ServerOperationErrorGenerator.kt:139 */
  353    707   
        }
         708  +
        /* ServerOperationErrorGenerator.kt:101 */
         709  +
    }
         710  +
    /* ServerOperationErrorGenerator.kt:100 */
  354    711   
}
         712  +
/* ServerOperationErrorGenerator.kt:110 */
  355    713   
impl ::std::convert::From<crate::error::ValidationException>
  356    714   
    for crate::error::MalformedTimestampHeaderDateTimeError
  357    715   
{
         716  +
    /* ServerOperationErrorGenerator.kt:111 */
  358    717   
    fn from(
  359    718   
        variant: crate::error::ValidationException,
  360    719   
    ) -> crate::error::MalformedTimestampHeaderDateTimeError {
         720  +
        /* ServerOperationErrorGenerator.kt:112 */
  361    721   
        Self::ValidationException(variant)
         722  +
        /* ServerOperationErrorGenerator.kt:111 */
  362    723   
    }
         724  +
    /* ServerOperationErrorGenerator.kt:110 */
  363    725   
}
  364    726   
         727  +
/* ServerOperationErrorGenerator.kt:63 */
  365    728   
/// Error type for the `MalformedTimestampHeaderDefault` operation.
         729  +
/* ServerOperationErrorGenerator.kt:64 */
  366    730   
/// Each variant represents an error that can occur for the `MalformedTimestampHeaderDefault` operation.
         731  +
/* RustType.kt:516 */
  367    732   
#[derive(::std::fmt::Debug)]
  368         -
pub enum MalformedTimestampHeaderDefaultError {
  369         -
    /// 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.
         733  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampHeaderDefaultError {
         734  +
    /// /* 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.
         735  +
    /* ServerOperationErrorGenerator.kt:71 */
  370    736   
    ValidationException(crate::error::ValidationException),
         737  +
    /* ServerOperationErrorGenerator.kt:66 */
  371    738   
}
         739  +
/* ServerOperationErrorGenerator.kt:75 */
  372    740   
impl ::std::fmt::Display for MalformedTimestampHeaderDefaultError {
         741  +
    /* ServerOperationErrorGenerator.kt:76 */
  373    742   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         743  +
        /* ServerOperationErrorGenerator.kt:139 */
  374    744   
        match &self {
  375         -
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) => _inner.fmt(f),
         745  +
            /* ServerOperationErrorGenerator.kt:142 */
         746  +
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) =>
         747  +
            /* ServerOperationErrorGenerator.kt:78 */
         748  +
            {
         749  +
                _inner.fmt(f)
  376    750   
            }
         751  +
            /* ServerOperationErrorGenerator.kt:139 */
  377    752   
        }
         753  +
        /* ServerOperationErrorGenerator.kt:76 */
         754  +
    }
         755  +
    /* ServerOperationErrorGenerator.kt:75 */
  378    756   
}
         757  +
/* ServerOperationErrorGenerator.kt:83 */
  379    758   
impl MalformedTimestampHeaderDefaultError {
         759  +
    /* ServerOperationErrorGenerator.kt:87 */
  380    760   
    /// Returns `true` if the error kind is `MalformedTimestampHeaderDefaultError::ValidationException`.
         761  +
    /* ServerOperationErrorGenerator.kt:88 */
  381    762   
    pub fn is_validation_exception(&self) -> bool {
         763  +
        /* ServerOperationErrorGenerator.kt:89 */
  382    764   
        matches!(
  383    765   
            &self,
  384    766   
            MalformedTimestampHeaderDefaultError::ValidationException(_)
  385    767   
        )
         768  +
        /* ServerOperationErrorGenerator.kt:88 */
  386    769   
    }
         770  +
    /* ServerOperationErrorGenerator.kt:92 */
  387    771   
    /// Returns the error name string by matching the correct variant.
         772  +
    /* ServerOperationErrorGenerator.kt:93 */
  388    773   
    pub fn name(&self) -> &'static str {
         774  +
        /* ServerOperationErrorGenerator.kt:139 */
  389    775   
        match &self {
  390         -
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) => _inner.name(),
         776  +
            /* ServerOperationErrorGenerator.kt:142 */
         777  +
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) =>
         778  +
            /* ServerOperationErrorGenerator.kt:95 */
         779  +
            {
         780  +
                _inner.name()
  391    781   
            }
         782  +
            /* ServerOperationErrorGenerator.kt:139 */
  392    783   
        }
         784  +
        /* ServerOperationErrorGenerator.kt:93 */
         785  +
    }
         786  +
    /* ServerOperationErrorGenerator.kt:83 */
  393    787   
}
         788  +
/* ServerOperationErrorGenerator.kt:100 */
  394    789   
impl ::std::error::Error for MalformedTimestampHeaderDefaultError {
         790  +
    /* ServerOperationErrorGenerator.kt:101 */
  395    791   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         792  +
        /* ServerOperationErrorGenerator.kt:139 */
  396    793   
        match &self {
  397         -
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) => Some(_inner),
         794  +
            /* ServerOperationErrorGenerator.kt:142 */
         795  +
            MalformedTimestampHeaderDefaultError::ValidationException(_inner) =>
         796  +
            /* ServerOperationErrorGenerator.kt:103 */
         797  +
            {
         798  +
                Some(_inner)
         799  +
            }
         800  +
            /* ServerOperationErrorGenerator.kt:139 */
  398    801   
        }
         802  +
        /* ServerOperationErrorGenerator.kt:101 */
  399    803   
    }
         804  +
    /* ServerOperationErrorGenerator.kt:100 */
  400    805   
}
         806  +
/* ServerOperationErrorGenerator.kt:110 */
  401    807   
impl ::std::convert::From<crate::error::ValidationException>
  402    808   
    for crate::error::MalformedTimestampHeaderDefaultError
  403    809   
{
         810  +
    /* ServerOperationErrorGenerator.kt:111 */
  404    811   
    fn from(
  405    812   
        variant: crate::error::ValidationException,
  406    813   
    ) -> crate::error::MalformedTimestampHeaderDefaultError {
         814  +
        /* ServerOperationErrorGenerator.kt:112 */
  407    815   
        Self::ValidationException(variant)
         816  +
        /* ServerOperationErrorGenerator.kt:111 */
  408    817   
    }
         818  +
    /* ServerOperationErrorGenerator.kt:110 */
  409    819   
}
  410    820   
         821  +
/* ServerOperationErrorGenerator.kt:63 */
  411    822   
/// Error type for the `MalformedTimestampQueryEpoch` operation.
         823  +
/* ServerOperationErrorGenerator.kt:64 */
  412    824   
/// Each variant represents an error that can occur for the `MalformedTimestampQueryEpoch` operation.
         825  +
/* RustType.kt:516 */
  413    826   
#[derive(::std::fmt::Debug)]
  414         -
pub enum MalformedTimestampQueryEpochError {
  415         -
    /// 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.
         827  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampQueryEpochError {
         828  +
    /// /* 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.
         829  +
    /* ServerOperationErrorGenerator.kt:71 */
  416    830   
    ValidationException(crate::error::ValidationException),
         831  +
    /* ServerOperationErrorGenerator.kt:66 */
  417    832   
}
         833  +
/* ServerOperationErrorGenerator.kt:75 */
  418    834   
impl ::std::fmt::Display for MalformedTimestampQueryEpochError {
         835  +
    /* ServerOperationErrorGenerator.kt:76 */
  419    836   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         837  +
        /* ServerOperationErrorGenerator.kt:139 */
  420    838   
        match &self {
  421         -
            MalformedTimestampQueryEpochError::ValidationException(_inner) => _inner.fmt(f),
         839  +
            /* ServerOperationErrorGenerator.kt:142 */
         840  +
            MalformedTimestampQueryEpochError::ValidationException(_inner) =>
         841  +
            /* ServerOperationErrorGenerator.kt:78 */
         842  +
            {
         843  +
                _inner.fmt(f)
         844  +
            }
         845  +
            /* ServerOperationErrorGenerator.kt:139 */
  422    846   
        }
         847  +
        /* ServerOperationErrorGenerator.kt:76 */
  423    848   
    }
         849  +
    /* ServerOperationErrorGenerator.kt:75 */
  424    850   
}
         851  +
/* ServerOperationErrorGenerator.kt:83 */
  425    852   
impl MalformedTimestampQueryEpochError {
         853  +
    /* ServerOperationErrorGenerator.kt:87 */
  426    854   
    /// Returns `true` if the error kind is `MalformedTimestampQueryEpochError::ValidationException`.
         855  +
    /* ServerOperationErrorGenerator.kt:88 */
  427    856   
    pub fn is_validation_exception(&self) -> bool {
         857  +
        /* ServerOperationErrorGenerator.kt:89 */
  428    858   
        matches!(
  429    859   
            &self,
  430    860   
            MalformedTimestampQueryEpochError::ValidationException(_)
  431    861   
        )
         862  +
        /* ServerOperationErrorGenerator.kt:88 */
  432    863   
    }
         864  +
    /* ServerOperationErrorGenerator.kt:92 */
  433    865   
    /// Returns the error name string by matching the correct variant.
         866  +
    /* ServerOperationErrorGenerator.kt:93 */
  434    867   
    pub fn name(&self) -> &'static str {
         868  +
        /* ServerOperationErrorGenerator.kt:139 */
  435    869   
        match &self {
  436         -
            MalformedTimestampQueryEpochError::ValidationException(_inner) => _inner.name(),
         870  +
            /* ServerOperationErrorGenerator.kt:142 */
         871  +
            MalformedTimestampQueryEpochError::ValidationException(_inner) =>
         872  +
            /* ServerOperationErrorGenerator.kt:95 */
         873  +
            {
         874  +
                _inner.name()
         875  +
            }
         876  +
            /* ServerOperationErrorGenerator.kt:139 */
  437    877   
        }
         878  +
        /* ServerOperationErrorGenerator.kt:93 */
  438    879   
    }
         880  +
    /* ServerOperationErrorGenerator.kt:83 */
  439    881   
}
         882  +
/* ServerOperationErrorGenerator.kt:100 */
  440    883   
impl ::std::error::Error for MalformedTimestampQueryEpochError {
         884  +
    /* ServerOperationErrorGenerator.kt:101 */
  441    885   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         886  +
        /* ServerOperationErrorGenerator.kt:139 */
  442    887   
        match &self {
  443         -
            MalformedTimestampQueryEpochError::ValidationException(_inner) => Some(_inner),
         888  +
            /* ServerOperationErrorGenerator.kt:142 */
         889  +
            MalformedTimestampQueryEpochError::ValidationException(_inner) =>
         890  +
            /* ServerOperationErrorGenerator.kt:103 */
         891  +
            {
         892  +
                Some(_inner)
         893  +
            }
         894  +
            /* ServerOperationErrorGenerator.kt:139 */
  444    895   
        }
         896  +
        /* ServerOperationErrorGenerator.kt:101 */
  445    897   
    }
         898  +
    /* ServerOperationErrorGenerator.kt:100 */
  446    899   
}
         900  +
/* ServerOperationErrorGenerator.kt:110 */
  447    901   
impl ::std::convert::From<crate::error::ValidationException>
  448    902   
    for crate::error::MalformedTimestampQueryEpochError
  449    903   
{
         904  +
    /* ServerOperationErrorGenerator.kt:111 */
  450    905   
    fn from(
  451    906   
        variant: crate::error::ValidationException,
  452    907   
    ) -> crate::error::MalformedTimestampQueryEpochError {
         908  +
        /* ServerOperationErrorGenerator.kt:112 */
  453    909   
        Self::ValidationException(variant)
         910  +
        /* ServerOperationErrorGenerator.kt:111 */
  454    911   
    }
         912  +
    /* ServerOperationErrorGenerator.kt:110 */
  455    913   
}
  456    914   
         915  +
/* ServerOperationErrorGenerator.kt:63 */
  457    916   
/// Error type for the `MalformedTimestampQueryHttpDate` operation.
         917  +
/* ServerOperationErrorGenerator.kt:64 */
  458    918   
/// Each variant represents an error that can occur for the `MalformedTimestampQueryHttpDate` operation.
         919  +
/* RustType.kt:516 */
  459    920   
#[derive(::std::fmt::Debug)]
  460         -
pub enum MalformedTimestampQueryHttpDateError {
  461         -
    /// 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.
         921  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampQueryHttpDateError {
         922  +
    /// /* 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.
         923  +
    /* ServerOperationErrorGenerator.kt:71 */
  462    924   
    ValidationException(crate::error::ValidationException),
         925  +
    /* ServerOperationErrorGenerator.kt:66 */
  463    926   
}
         927  +
/* ServerOperationErrorGenerator.kt:75 */
  464    928   
impl ::std::fmt::Display for MalformedTimestampQueryHttpDateError {
         929  +
    /* ServerOperationErrorGenerator.kt:76 */
  465    930   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         931  +
        /* ServerOperationErrorGenerator.kt:139 */
  466    932   
        match &self {
  467         -
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) => _inner.fmt(f),
         933  +
            /* ServerOperationErrorGenerator.kt:142 */
         934  +
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) =>
         935  +
            /* ServerOperationErrorGenerator.kt:78 */
         936  +
            {
         937  +
                _inner.fmt(f)
         938  +
            }
         939  +
            /* ServerOperationErrorGenerator.kt:139 */
  468    940   
        }
         941  +
        /* ServerOperationErrorGenerator.kt:76 */
  469    942   
    }
         943  +
    /* ServerOperationErrorGenerator.kt:75 */
  470    944   
}
         945  +
/* ServerOperationErrorGenerator.kt:83 */
  471    946   
impl MalformedTimestampQueryHttpDateError {
         947  +
    /* ServerOperationErrorGenerator.kt:87 */
  472    948   
    /// Returns `true` if the error kind is `MalformedTimestampQueryHttpDateError::ValidationException`.
         949  +
    /* ServerOperationErrorGenerator.kt:88 */
  473    950   
    pub fn is_validation_exception(&self) -> bool {
         951  +
        /* ServerOperationErrorGenerator.kt:89 */
  474    952   
        matches!(
  475    953   
            &self,
  476    954   
            MalformedTimestampQueryHttpDateError::ValidationException(_)
  477    955   
        )
         956  +
        /* ServerOperationErrorGenerator.kt:88 */
  478    957   
    }
         958  +
    /* ServerOperationErrorGenerator.kt:92 */
  479    959   
    /// Returns the error name string by matching the correct variant.
         960  +
    /* ServerOperationErrorGenerator.kt:93 */
  480    961   
    pub fn name(&self) -> &'static str {
         962  +
        /* ServerOperationErrorGenerator.kt:139 */
  481    963   
        match &self {
  482         -
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) => _inner.name(),
         964  +
            /* ServerOperationErrorGenerator.kt:142 */
         965  +
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) =>
         966  +
            /* ServerOperationErrorGenerator.kt:95 */
         967  +
            {
         968  +
                _inner.name()
         969  +
            }
         970  +
            /* ServerOperationErrorGenerator.kt:139 */
  483    971   
        }
         972  +
        /* ServerOperationErrorGenerator.kt:93 */
  484    973   
    }
         974  +
    /* ServerOperationErrorGenerator.kt:83 */
  485    975   
}
         976  +
/* ServerOperationErrorGenerator.kt:100 */
  486    977   
impl ::std::error::Error for MalformedTimestampQueryHttpDateError {
         978  +
    /* ServerOperationErrorGenerator.kt:101 */
  487    979   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
         980  +
        /* ServerOperationErrorGenerator.kt:139 */
  488    981   
        match &self {
  489         -
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) => Some(_inner),
         982  +
            /* ServerOperationErrorGenerator.kt:142 */
         983  +
            MalformedTimestampQueryHttpDateError::ValidationException(_inner) =>
         984  +
            /* ServerOperationErrorGenerator.kt:103 */
         985  +
            {
         986  +
                Some(_inner)
         987  +
            }
         988  +
            /* ServerOperationErrorGenerator.kt:139 */
  490    989   
        }
         990  +
        /* ServerOperationErrorGenerator.kt:101 */
  491    991   
    }
         992  +
    /* ServerOperationErrorGenerator.kt:100 */
  492    993   
}
         994  +
/* ServerOperationErrorGenerator.kt:110 */
  493    995   
impl ::std::convert::From<crate::error::ValidationException>
  494    996   
    for crate::error::MalformedTimestampQueryHttpDateError
  495    997   
{
         998  +
    /* ServerOperationErrorGenerator.kt:111 */
  496    999   
    fn from(
  497   1000   
        variant: crate::error::ValidationException,
  498   1001   
    ) -> crate::error::MalformedTimestampQueryHttpDateError {
        1002  +
        /* ServerOperationErrorGenerator.kt:112 */
  499   1003   
        Self::ValidationException(variant)
        1004  +
        /* ServerOperationErrorGenerator.kt:111 */
  500   1005   
    }
        1006  +
    /* ServerOperationErrorGenerator.kt:110 */
  501   1007   
}
  502   1008   
        1009  +
/* ServerOperationErrorGenerator.kt:63 */
  503   1010   
/// Error type for the `MalformedTimestampQueryDefault` operation.
        1011  +
/* ServerOperationErrorGenerator.kt:64 */
  504   1012   
/// Each variant represents an error that can occur for the `MalformedTimestampQueryDefault` operation.
        1013  +
/* RustType.kt:516 */
  505   1014   
#[derive(::std::fmt::Debug)]
  506         -
pub enum MalformedTimestampQueryDefaultError {
  507         -
    /// 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.
        1015  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampQueryDefaultError {
        1016  +
    /// /* 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.
        1017  +
    /* ServerOperationErrorGenerator.kt:71 */
  508   1018   
    ValidationException(crate::error::ValidationException),
        1019  +
    /* ServerOperationErrorGenerator.kt:66 */
  509   1020   
}
        1021  +
/* ServerOperationErrorGenerator.kt:75 */
  510   1022   
impl ::std::fmt::Display for MalformedTimestampQueryDefaultError {
        1023  +
    /* ServerOperationErrorGenerator.kt:76 */
  511   1024   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1025  +
        /* ServerOperationErrorGenerator.kt:139 */
  512   1026   
        match &self {
  513         -
            MalformedTimestampQueryDefaultError::ValidationException(_inner) => _inner.fmt(f),
        1027  +
            /* ServerOperationErrorGenerator.kt:142 */
        1028  +
            MalformedTimestampQueryDefaultError::ValidationException(_inner) =>
        1029  +
            /* ServerOperationErrorGenerator.kt:78 */
        1030  +
            {
        1031  +
                _inner.fmt(f)
        1032  +
            }
        1033  +
            /* ServerOperationErrorGenerator.kt:139 */
  514   1034   
        }
        1035  +
        /* ServerOperationErrorGenerator.kt:76 */
  515   1036   
    }
        1037  +
    /* ServerOperationErrorGenerator.kt:75 */
  516   1038   
}
        1039  +
/* ServerOperationErrorGenerator.kt:83 */
  517   1040   
impl MalformedTimestampQueryDefaultError {
        1041  +
    /* ServerOperationErrorGenerator.kt:87 */
  518   1042   
    /// Returns `true` if the error kind is `MalformedTimestampQueryDefaultError::ValidationException`.
        1043  +
    /* ServerOperationErrorGenerator.kt:88 */
  519   1044   
    pub fn is_validation_exception(&self) -> bool {
        1045  +
        /* ServerOperationErrorGenerator.kt:89 */
  520   1046   
        matches!(
  521   1047   
            &self,
  522   1048   
            MalformedTimestampQueryDefaultError::ValidationException(_)
  523   1049   
        )
        1050  +
        /* ServerOperationErrorGenerator.kt:88 */
  524   1051   
    }
        1052  +
    /* ServerOperationErrorGenerator.kt:92 */
  525   1053   
    /// Returns the error name string by matching the correct variant.
        1054  +
    /* ServerOperationErrorGenerator.kt:93 */
  526   1055   
    pub fn name(&self) -> &'static str {
        1056  +
        /* ServerOperationErrorGenerator.kt:139 */
  527   1057   
        match &self {
  528         -
            MalformedTimestampQueryDefaultError::ValidationException(_inner) => _inner.name(),
        1058  +
            /* ServerOperationErrorGenerator.kt:142 */
        1059  +
            MalformedTimestampQueryDefaultError::ValidationException(_inner) =>
        1060  +
            /* ServerOperationErrorGenerator.kt:95 */
        1061  +
            {
        1062  +
                _inner.name()
        1063  +
            }
        1064  +
            /* ServerOperationErrorGenerator.kt:139 */
  529   1065   
        }
        1066  +
        /* ServerOperationErrorGenerator.kt:93 */
  530   1067   
    }
        1068  +
    /* ServerOperationErrorGenerator.kt:83 */
  531   1069   
}
        1070  +
/* ServerOperationErrorGenerator.kt:100 */
  532   1071   
impl ::std::error::Error for MalformedTimestampQueryDefaultError {
        1072  +
    /* ServerOperationErrorGenerator.kt:101 */
  533   1073   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1074  +
        /* ServerOperationErrorGenerator.kt:139 */
  534   1075   
        match &self {
  535         -
            MalformedTimestampQueryDefaultError::ValidationException(_inner) => Some(_inner),
        1076  +
            /* ServerOperationErrorGenerator.kt:142 */
        1077  +
            MalformedTimestampQueryDefaultError::ValidationException(_inner) =>
        1078  +
            /* ServerOperationErrorGenerator.kt:103 */
        1079  +
            {
        1080  +
                Some(_inner)
        1081  +
            }
        1082  +
            /* ServerOperationErrorGenerator.kt:139 */
  536   1083   
        }
        1084  +
        /* ServerOperationErrorGenerator.kt:101 */
  537   1085   
    }
        1086  +
    /* ServerOperationErrorGenerator.kt:100 */
  538   1087   
}
        1088  +
/* ServerOperationErrorGenerator.kt:110 */
  539   1089   
impl ::std::convert::From<crate::error::ValidationException>
  540   1090   
    for crate::error::MalformedTimestampQueryDefaultError
  541   1091   
{
        1092  +
    /* ServerOperationErrorGenerator.kt:111 */
  542   1093   
    fn from(
  543   1094   
        variant: crate::error::ValidationException,
  544   1095   
    ) -> crate::error::MalformedTimestampQueryDefaultError {
        1096  +
        /* ServerOperationErrorGenerator.kt:112 */
  545   1097   
        Self::ValidationException(variant)
        1098  +
        /* ServerOperationErrorGenerator.kt:111 */
  546   1099   
    }
        1100  +
    /* ServerOperationErrorGenerator.kt:110 */
  547   1101   
}
  548   1102   
        1103  +
/* ServerOperationErrorGenerator.kt:63 */
  549   1104   
/// Error type for the `MalformedTimestampPathEpoch` operation.
        1105  +
/* ServerOperationErrorGenerator.kt:64 */
  550   1106   
/// Each variant represents an error that can occur for the `MalformedTimestampPathEpoch` operation.
        1107  +
/* RustType.kt:516 */
  551   1108   
#[derive(::std::fmt::Debug)]
  552         -
pub enum MalformedTimestampPathEpochError {
  553         -
    /// 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.
        1109  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampPathEpochError {
        1110  +
    /// /* 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.
        1111  +
    /* ServerOperationErrorGenerator.kt:71 */
  554   1112   
    ValidationException(crate::error::ValidationException),
        1113  +
    /* ServerOperationErrorGenerator.kt:66 */
  555   1114   
}
        1115  +
/* ServerOperationErrorGenerator.kt:75 */
  556   1116   
impl ::std::fmt::Display for MalformedTimestampPathEpochError {
        1117  +
    /* ServerOperationErrorGenerator.kt:76 */
  557   1118   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1119  +
        /* ServerOperationErrorGenerator.kt:139 */
  558   1120   
        match &self {
  559         -
            MalformedTimestampPathEpochError::ValidationException(_inner) => _inner.fmt(f),
        1121  +
            /* ServerOperationErrorGenerator.kt:142 */
        1122  +
            MalformedTimestampPathEpochError::ValidationException(_inner) =>
        1123  +
            /* ServerOperationErrorGenerator.kt:78 */
        1124  +
            {
        1125  +
                _inner.fmt(f)
        1126  +
            }
        1127  +
            /* ServerOperationErrorGenerator.kt:139 */
  560   1128   
        }
        1129  +
        /* ServerOperationErrorGenerator.kt:76 */
  561   1130   
    }
        1131  +
    /* ServerOperationErrorGenerator.kt:75 */
  562   1132   
}
        1133  +
/* ServerOperationErrorGenerator.kt:83 */
  563   1134   
impl MalformedTimestampPathEpochError {
        1135  +
    /* ServerOperationErrorGenerator.kt:87 */
  564   1136   
    /// Returns `true` if the error kind is `MalformedTimestampPathEpochError::ValidationException`.
        1137  +
    /* ServerOperationErrorGenerator.kt:88 */
  565   1138   
    pub fn is_validation_exception(&self) -> bool {
        1139  +
        /* ServerOperationErrorGenerator.kt:89 */
  566   1140   
        matches!(
  567   1141   
            &self,
  568   1142   
            MalformedTimestampPathEpochError::ValidationException(_)
  569   1143   
        )
        1144  +
        /* ServerOperationErrorGenerator.kt:88 */
  570   1145   
    }
        1146  +
    /* ServerOperationErrorGenerator.kt:92 */
  571   1147   
    /// Returns the error name string by matching the correct variant.
        1148  +
    /* ServerOperationErrorGenerator.kt:93 */
  572   1149   
    pub fn name(&self) -> &'static str {
        1150  +
        /* ServerOperationErrorGenerator.kt:139 */
  573   1151   
        match &self {
  574         -
            MalformedTimestampPathEpochError::ValidationException(_inner) => _inner.name(),
        1152  +
            /* ServerOperationErrorGenerator.kt:142 */
        1153  +
            MalformedTimestampPathEpochError::ValidationException(_inner) =>
        1154  +
            /* ServerOperationErrorGenerator.kt:95 */
        1155  +
            {
        1156  +
                _inner.name()
        1157  +
            }
        1158  +
            /* ServerOperationErrorGenerator.kt:139 */
  575   1159   
        }
        1160  +
        /* ServerOperationErrorGenerator.kt:93 */
  576   1161   
    }
        1162  +
    /* ServerOperationErrorGenerator.kt:83 */
  577   1163   
}
        1164  +
/* ServerOperationErrorGenerator.kt:100 */
  578   1165   
impl ::std::error::Error for MalformedTimestampPathEpochError {
        1166  +
    /* ServerOperationErrorGenerator.kt:101 */
  579   1167   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1168  +
        /* ServerOperationErrorGenerator.kt:139 */
  580   1169   
        match &self {
  581         -
            MalformedTimestampPathEpochError::ValidationException(_inner) => Some(_inner),
        1170  +
            /* ServerOperationErrorGenerator.kt:142 */
        1171  +
            MalformedTimestampPathEpochError::ValidationException(_inner) =>
        1172  +
            /* ServerOperationErrorGenerator.kt:103 */
        1173  +
            {
        1174  +
                Some(_inner)
        1175  +
            }
        1176  +
            /* ServerOperationErrorGenerator.kt:139 */
  582   1177   
        }
        1178  +
        /* ServerOperationErrorGenerator.kt:101 */
  583   1179   
    }
        1180  +
    /* ServerOperationErrorGenerator.kt:100 */
  584   1181   
}
        1182  +
/* ServerOperationErrorGenerator.kt:110 */
  585   1183   
impl ::std::convert::From<crate::error::ValidationException>
  586   1184   
    for crate::error::MalformedTimestampPathEpochError
  587   1185   
{
        1186  +
    /* ServerOperationErrorGenerator.kt:111 */
  588   1187   
    fn from(
  589   1188   
        variant: crate::error::ValidationException,
  590   1189   
    ) -> crate::error::MalformedTimestampPathEpochError {
        1190  +
        /* ServerOperationErrorGenerator.kt:112 */
  591   1191   
        Self::ValidationException(variant)
        1192  +
        /* ServerOperationErrorGenerator.kt:111 */
  592   1193   
    }
        1194  +
    /* ServerOperationErrorGenerator.kt:110 */
  593   1195   
}
  594   1196   
        1197  +
/* ServerOperationErrorGenerator.kt:63 */
  595   1198   
/// Error type for the `MalformedTimestampPathHttpDate` operation.
        1199  +
/* ServerOperationErrorGenerator.kt:64 */
  596   1200   
/// Each variant represents an error that can occur for the `MalformedTimestampPathHttpDate` operation.
        1201  +
/* RustType.kt:516 */
  597   1202   
#[derive(::std::fmt::Debug)]
  598         -
pub enum MalformedTimestampPathHttpDateError {
  599         -
    /// 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.
        1203  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampPathHttpDateError {
        1204  +
    /// /* 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.
        1205  +
    /* ServerOperationErrorGenerator.kt:71 */
  600   1206   
    ValidationException(crate::error::ValidationException),
        1207  +
    /* ServerOperationErrorGenerator.kt:66 */
  601   1208   
}
        1209  +
/* ServerOperationErrorGenerator.kt:75 */
  602   1210   
impl ::std::fmt::Display for MalformedTimestampPathHttpDateError {
        1211  +
    /* ServerOperationErrorGenerator.kt:76 */
  603   1212   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1213  +
        /* ServerOperationErrorGenerator.kt:139 */
  604   1214   
        match &self {
  605         -
            MalformedTimestampPathHttpDateError::ValidationException(_inner) => _inner.fmt(f),
        1215  +
            /* ServerOperationErrorGenerator.kt:142 */
        1216  +
            MalformedTimestampPathHttpDateError::ValidationException(_inner) =>
        1217  +
            /* ServerOperationErrorGenerator.kt:78 */
        1218  +
            {
        1219  +
                _inner.fmt(f)
        1220  +
            }
        1221  +
            /* ServerOperationErrorGenerator.kt:139 */
  606   1222   
        }
        1223  +
        /* ServerOperationErrorGenerator.kt:76 */
  607   1224   
    }
        1225  +
    /* ServerOperationErrorGenerator.kt:75 */
  608   1226   
}
        1227  +
/* ServerOperationErrorGenerator.kt:83 */
  609   1228   
impl MalformedTimestampPathHttpDateError {
        1229  +
    /* ServerOperationErrorGenerator.kt:87 */
  610   1230   
    /// Returns `true` if the error kind is `MalformedTimestampPathHttpDateError::ValidationException`.
        1231  +
    /* ServerOperationErrorGenerator.kt:88 */
  611   1232   
    pub fn is_validation_exception(&self) -> bool {
        1233  +
        /* ServerOperationErrorGenerator.kt:89 */
  612   1234   
        matches!(
  613   1235   
            &self,
  614   1236   
            MalformedTimestampPathHttpDateError::ValidationException(_)
  615   1237   
        )
        1238  +
        /* ServerOperationErrorGenerator.kt:88 */
  616   1239   
    }
        1240  +
    /* ServerOperationErrorGenerator.kt:92 */
  617   1241   
    /// Returns the error name string by matching the correct variant.
        1242  +
    /* ServerOperationErrorGenerator.kt:93 */
  618   1243   
    pub fn name(&self) -> &'static str {
        1244  +
        /* ServerOperationErrorGenerator.kt:139 */
  619   1245   
        match &self {
  620         -
            MalformedTimestampPathHttpDateError::ValidationException(_inner) => _inner.name(),
        1246  +
            /* ServerOperationErrorGenerator.kt:142 */
        1247  +
            MalformedTimestampPathHttpDateError::ValidationException(_inner) =>
        1248  +
            /* ServerOperationErrorGenerator.kt:95 */
        1249  +
            {
        1250  +
                _inner.name()
        1251  +
            }
        1252  +
            /* ServerOperationErrorGenerator.kt:139 */
  621   1253   
        }
        1254  +
        /* ServerOperationErrorGenerator.kt:93 */
  622   1255   
    }
        1256  +
    /* ServerOperationErrorGenerator.kt:83 */
  623   1257   
}
        1258  +
/* ServerOperationErrorGenerator.kt:100 */
  624   1259   
impl ::std::error::Error for MalformedTimestampPathHttpDateError {
        1260  +
    /* ServerOperationErrorGenerator.kt:101 */
  625   1261   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1262  +
        /* ServerOperationErrorGenerator.kt:139 */
  626   1263   
        match &self {
  627         -
            MalformedTimestampPathHttpDateError::ValidationException(_inner) => Some(_inner),
        1264  +
            /* ServerOperationErrorGenerator.kt:142 */
        1265  +
            MalformedTimestampPathHttpDateError::ValidationException(_inner) =>
        1266  +
            /* ServerOperationErrorGenerator.kt:103 */
        1267  +
            {
        1268  +
                Some(_inner)
  628   1269   
            }
        1270  +
            /* ServerOperationErrorGenerator.kt:139 */
  629   1271   
        }
        1272  +
        /* ServerOperationErrorGenerator.kt:101 */
        1273  +
    }
        1274  +
    /* ServerOperationErrorGenerator.kt:100 */
  630   1275   
}
        1276  +
/* ServerOperationErrorGenerator.kt:110 */
  631   1277   
impl ::std::convert::From<crate::error::ValidationException>
  632   1278   
    for crate::error::MalformedTimestampPathHttpDateError
  633   1279   
{
        1280  +
    /* ServerOperationErrorGenerator.kt:111 */
  634   1281   
    fn from(
  635   1282   
        variant: crate::error::ValidationException,
  636   1283   
    ) -> crate::error::MalformedTimestampPathHttpDateError {
        1284  +
        /* ServerOperationErrorGenerator.kt:112 */
  637   1285   
        Self::ValidationException(variant)
        1286  +
        /* ServerOperationErrorGenerator.kt:111 */
  638   1287   
    }
        1288  +
    /* ServerOperationErrorGenerator.kt:110 */
  639   1289   
}
  640   1290   
        1291  +
/* ServerOperationErrorGenerator.kt:63 */
  641   1292   
/// Error type for the `MalformedTimestampPathDefault` operation.
        1293  +
/* ServerOperationErrorGenerator.kt:64 */
  642   1294   
/// Each variant represents an error that can occur for the `MalformedTimestampPathDefault` operation.
        1295  +
/* RustType.kt:516 */
  643   1296   
#[derive(::std::fmt::Debug)]
  644         -
pub enum MalformedTimestampPathDefaultError {
  645         -
    /// 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.
        1297  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedTimestampPathDefaultError {
        1298  +
    /// /* 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.
        1299  +
    /* ServerOperationErrorGenerator.kt:71 */
  646   1300   
    ValidationException(crate::error::ValidationException),
        1301  +
    /* ServerOperationErrorGenerator.kt:66 */
  647   1302   
}
        1303  +
/* ServerOperationErrorGenerator.kt:75 */
  648   1304   
impl ::std::fmt::Display for MalformedTimestampPathDefaultError {
        1305  +
    /* ServerOperationErrorGenerator.kt:76 */
  649   1306   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1307  +
        /* ServerOperationErrorGenerator.kt:139 */
  650   1308   
        match &self {
  651         -
            MalformedTimestampPathDefaultError::ValidationException(_inner) => _inner.fmt(f),
        1309  +
            /* ServerOperationErrorGenerator.kt:142 */
        1310  +
            MalformedTimestampPathDefaultError::ValidationException(_inner) =>
        1311  +
            /* ServerOperationErrorGenerator.kt:78 */
        1312  +
            {
        1313  +
                _inner.fmt(f)
  652   1314   
            }
        1315  +
            /* ServerOperationErrorGenerator.kt:139 */
  653   1316   
        }
        1317  +
        /* ServerOperationErrorGenerator.kt:76 */
        1318  +
    }
        1319  +
    /* ServerOperationErrorGenerator.kt:75 */
  654   1320   
}
        1321  +
/* ServerOperationErrorGenerator.kt:83 */
  655   1322   
impl MalformedTimestampPathDefaultError {
        1323  +
    /* ServerOperationErrorGenerator.kt:87 */
  656   1324   
    /// Returns `true` if the error kind is `MalformedTimestampPathDefaultError::ValidationException`.
        1325  +
    /* ServerOperationErrorGenerator.kt:88 */
  657   1326   
    pub fn is_validation_exception(&self) -> bool {
        1327  +
        /* ServerOperationErrorGenerator.kt:89 */
  658   1328   
        matches!(
  659   1329   
            &self,
  660   1330   
            MalformedTimestampPathDefaultError::ValidationException(_)
  661   1331   
        )
        1332  +
        /* ServerOperationErrorGenerator.kt:88 */
  662   1333   
    }
        1334  +
    /* ServerOperationErrorGenerator.kt:92 */
  663   1335   
    /// Returns the error name string by matching the correct variant.
        1336  +
    /* ServerOperationErrorGenerator.kt:93 */
  664   1337   
    pub fn name(&self) -> &'static str {
        1338  +
        /* ServerOperationErrorGenerator.kt:139 */
  665   1339   
        match &self {
  666         -
            MalformedTimestampPathDefaultError::ValidationException(_inner) => _inner.name(),
        1340  +
            /* ServerOperationErrorGenerator.kt:142 */
        1341  +
            MalformedTimestampPathDefaultError::ValidationException(_inner) =>
        1342  +
            /* ServerOperationErrorGenerator.kt:95 */
        1343  +
            {
        1344  +
                _inner.name()
  667   1345   
            }
        1346  +
            /* ServerOperationErrorGenerator.kt:139 */
  668   1347   
        }
        1348  +
        /* ServerOperationErrorGenerator.kt:93 */
        1349  +
    }
        1350  +
    /* ServerOperationErrorGenerator.kt:83 */
  669   1351   
}
        1352  +
/* ServerOperationErrorGenerator.kt:100 */
  670   1353   
impl ::std::error::Error for MalformedTimestampPathDefaultError {
        1354  +
    /* ServerOperationErrorGenerator.kt:101 */
  671   1355   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1356  +
        /* ServerOperationErrorGenerator.kt:139 */
  672   1357   
        match &self {
  673         -
            MalformedTimestampPathDefaultError::ValidationException(_inner) => Some(_inner),
        1358  +
            /* ServerOperationErrorGenerator.kt:142 */
        1359  +
            MalformedTimestampPathDefaultError::ValidationException(_inner) =>
        1360  +
            /* ServerOperationErrorGenerator.kt:103 */
        1361  +
            {
        1362  +
                Some(_inner)
  674   1363   
            }
        1364  +
            /* ServerOperationErrorGenerator.kt:139 */
  675   1365   
        }
        1366  +
        /* ServerOperationErrorGenerator.kt:101 */
        1367  +
    }
        1368  +
    /* ServerOperationErrorGenerator.kt:100 */
  676   1369   
}
        1370  +
/* ServerOperationErrorGenerator.kt:110 */
  677   1371   
impl ::std::convert::From<crate::error::ValidationException>
  678   1372   
    for crate::error::MalformedTimestampPathDefaultError
  679   1373   
{
        1374  +
    /* ServerOperationErrorGenerator.kt:111 */
  680   1375   
    fn from(
  681   1376   
        variant: crate::error::ValidationException,
  682   1377   
    ) -> crate::error::MalformedTimestampPathDefaultError {
        1378  +
        /* ServerOperationErrorGenerator.kt:112 */
  683   1379   
        Self::ValidationException(variant)
        1380  +
        /* ServerOperationErrorGenerator.kt:111 */
  684   1381   
    }
        1382  +
    /* ServerOperationErrorGenerator.kt:110 */
  685   1383   
}
  686   1384   
        1385  +
/* ServerOperationErrorGenerator.kt:63 */
  687   1386   
/// Error type for the `MalformedDouble` operation.
        1387  +
/* ServerOperationErrorGenerator.kt:64 */
  688   1388   
/// Each variant represents an error that can occur for the `MalformedDouble` operation.
        1389  +
/* RustType.kt:516 */
  689   1390   
#[derive(::std::fmt::Debug)]
  690         -
pub enum MalformedDoubleError {
  691         -
    /// 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.
        1391  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedDoubleError {
        1392  +
    /// /* 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.
        1393  +
    /* ServerOperationErrorGenerator.kt:71 */
  692   1394   
    ValidationException(crate::error::ValidationException),
        1395  +
    /* ServerOperationErrorGenerator.kt:66 */
  693   1396   
}
        1397  +
/* ServerOperationErrorGenerator.kt:75 */
  694   1398   
impl ::std::fmt::Display for MalformedDoubleError {
        1399  +
    /* ServerOperationErrorGenerator.kt:76 */
  695   1400   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1401  +
        /* ServerOperationErrorGenerator.kt:139 */
  696   1402   
        match &self {
  697         -
            MalformedDoubleError::ValidationException(_inner) => _inner.fmt(f),
        1403  +
            /* ServerOperationErrorGenerator.kt:142 */
        1404  +
            MalformedDoubleError::ValidationException(_inner) =>
        1405  +
            /* ServerOperationErrorGenerator.kt:78 */
        1406  +
            {
        1407  +
                _inner.fmt(f)
  698   1408   
            }
        1409  +
            /* ServerOperationErrorGenerator.kt:139 */
  699   1410   
        }
        1411  +
        /* ServerOperationErrorGenerator.kt:76 */
        1412  +
    }
        1413  +
    /* ServerOperationErrorGenerator.kt:75 */
  700   1414   
}
        1415  +
/* ServerOperationErrorGenerator.kt:83 */
  701   1416   
impl MalformedDoubleError {
        1417  +
    /* ServerOperationErrorGenerator.kt:87 */
  702   1418   
    /// Returns `true` if the error kind is `MalformedDoubleError::ValidationException`.
        1419  +
    /* ServerOperationErrorGenerator.kt:88 */
  703   1420   
    pub fn is_validation_exception(&self) -> bool {
        1421  +
        /* ServerOperationErrorGenerator.kt:89 */
  704   1422   
        matches!(&self, MalformedDoubleError::ValidationException(_))
        1423  +
        /* ServerOperationErrorGenerator.kt:88 */
  705   1424   
    }
        1425  +
    /* ServerOperationErrorGenerator.kt:92 */
  706   1426   
    /// Returns the error name string by matching the correct variant.
        1427  +
    /* ServerOperationErrorGenerator.kt:93 */
  707   1428   
    pub fn name(&self) -> &'static str {
        1429  +
        /* ServerOperationErrorGenerator.kt:139 */
  708   1430   
        match &self {
  709         -
            MalformedDoubleError::ValidationException(_inner) => _inner.name(),
        1431  +
            /* ServerOperationErrorGenerator.kt:142 */
        1432  +
            MalformedDoubleError::ValidationException(_inner) =>
        1433  +
            /* ServerOperationErrorGenerator.kt:95 */
        1434  +
            {
        1435  +
                _inner.name()
  710   1436   
            }
        1437  +
            /* ServerOperationErrorGenerator.kt:139 */
  711   1438   
        }
        1439  +
        /* ServerOperationErrorGenerator.kt:93 */
        1440  +
    }
        1441  +
    /* ServerOperationErrorGenerator.kt:83 */
  712   1442   
}
        1443  +
/* ServerOperationErrorGenerator.kt:100 */
  713   1444   
impl ::std::error::Error for MalformedDoubleError {
        1445  +
    /* ServerOperationErrorGenerator.kt:101 */
  714   1446   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1447  +
        /* ServerOperationErrorGenerator.kt:139 */
  715   1448   
        match &self {
  716         -
            MalformedDoubleError::ValidationException(_inner) => Some(_inner),
        1449  +
            /* ServerOperationErrorGenerator.kt:142 */
        1450  +
            MalformedDoubleError::ValidationException(_inner) =>
        1451  +
            /* ServerOperationErrorGenerator.kt:103 */
        1452  +
            {
        1453  +
                Some(_inner)
  717   1454   
            }
        1455  +
            /* ServerOperationErrorGenerator.kt:139 */
  718   1456   
        }
        1457  +
        /* ServerOperationErrorGenerator.kt:101 */
        1458  +
    }
        1459  +
    /* ServerOperationErrorGenerator.kt:100 */
  719   1460   
}
        1461  +
/* ServerOperationErrorGenerator.kt:110 */
  720   1462   
impl ::std::convert::From<crate::error::ValidationException>
  721   1463   
    for crate::error::MalformedDoubleError
  722   1464   
{
        1465  +
    /* ServerOperationErrorGenerator.kt:111 */
  723   1466   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedDoubleError {
        1467  +
        /* ServerOperationErrorGenerator.kt:112 */
  724   1468   
        Self::ValidationException(variant)
        1469  +
        /* ServerOperationErrorGenerator.kt:111 */
  725   1470   
    }
        1471  +
    /* ServerOperationErrorGenerator.kt:110 */
  726   1472   
}
  727   1473   
        1474  +
/* ServerOperationErrorGenerator.kt:63 */
  728   1475   
/// Error type for the `MalformedFloat` operation.
        1476  +
/* ServerOperationErrorGenerator.kt:64 */
  729   1477   
/// Each variant represents an error that can occur for the `MalformedFloat` operation.
        1478  +
/* RustType.kt:516 */
  730   1479   
#[derive(::std::fmt::Debug)]
  731         -
pub enum MalformedFloatError {
  732         -
    /// 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.
        1480  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedFloatError {
        1481  +
    /// /* 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.
        1482  +
    /* ServerOperationErrorGenerator.kt:71 */
  733   1483   
    ValidationException(crate::error::ValidationException),
        1484  +
    /* ServerOperationErrorGenerator.kt:66 */
  734   1485   
}
        1486  +
/* ServerOperationErrorGenerator.kt:75 */
  735   1487   
impl ::std::fmt::Display for MalformedFloatError {
        1488  +
    /* ServerOperationErrorGenerator.kt:76 */
  736   1489   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1490  +
        /* ServerOperationErrorGenerator.kt:139 */
  737   1491   
        match &self {
  738         -
            MalformedFloatError::ValidationException(_inner) => _inner.fmt(f),
        1492  +
            /* ServerOperationErrorGenerator.kt:142 */
        1493  +
            MalformedFloatError::ValidationException(_inner) =>
        1494  +
            /* ServerOperationErrorGenerator.kt:78 */
        1495  +
            {
        1496  +
                _inner.fmt(f)
  739   1497   
            }
        1498  +
            /* ServerOperationErrorGenerator.kt:139 */
  740   1499   
        }
        1500  +
        /* ServerOperationErrorGenerator.kt:76 */
        1501  +
    }
        1502  +
    /* ServerOperationErrorGenerator.kt:75 */
  741   1503   
}
        1504  +
/* ServerOperationErrorGenerator.kt:83 */
  742   1505   
impl MalformedFloatError {
        1506  +
    /* ServerOperationErrorGenerator.kt:87 */
  743   1507   
    /// Returns `true` if the error kind is `MalformedFloatError::ValidationException`.
        1508  +
    /* ServerOperationErrorGenerator.kt:88 */
  744   1509   
    pub fn is_validation_exception(&self) -> bool {
        1510  +
        /* ServerOperationErrorGenerator.kt:89 */
  745   1511   
        matches!(&self, MalformedFloatError::ValidationException(_))
        1512  +
        /* ServerOperationErrorGenerator.kt:88 */
  746   1513   
    }
        1514  +
    /* ServerOperationErrorGenerator.kt:92 */
  747   1515   
    /// Returns the error name string by matching the correct variant.
        1516  +
    /* ServerOperationErrorGenerator.kt:93 */
  748   1517   
    pub fn name(&self) -> &'static str {
        1518  +
        /* ServerOperationErrorGenerator.kt:139 */
  749   1519   
        match &self {
  750         -
            MalformedFloatError::ValidationException(_inner) => _inner.name(),
        1520  +
            /* ServerOperationErrorGenerator.kt:142 */
        1521  +
            MalformedFloatError::ValidationException(_inner) =>
        1522  +
            /* ServerOperationErrorGenerator.kt:95 */
        1523  +
            {
        1524  +
                _inner.name()
        1525  +
            }
        1526  +
            /* ServerOperationErrorGenerator.kt:139 */
  751   1527   
        }
        1528  +
        /* ServerOperationErrorGenerator.kt:93 */
  752   1529   
    }
        1530  +
    /* ServerOperationErrorGenerator.kt:83 */
  753   1531   
}
        1532  +
/* ServerOperationErrorGenerator.kt:100 */
  754   1533   
impl ::std::error::Error for MalformedFloatError {
        1534  +
    /* ServerOperationErrorGenerator.kt:101 */
  755   1535   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1536  +
        /* ServerOperationErrorGenerator.kt:139 */
  756   1537   
        match &self {
  757         -
            MalformedFloatError::ValidationException(_inner) => Some(_inner),
        1538  +
            /* ServerOperationErrorGenerator.kt:142 */
        1539  +
            MalformedFloatError::ValidationException(_inner) =>
        1540  +
            /* ServerOperationErrorGenerator.kt:103 */
        1541  +
            {
        1542  +
                Some(_inner)
        1543  +
            }
        1544  +
            /* ServerOperationErrorGenerator.kt:139 */
  758   1545   
        }
        1546  +
        /* ServerOperationErrorGenerator.kt:101 */
  759   1547   
    }
        1548  +
    /* ServerOperationErrorGenerator.kt:100 */
  760   1549   
}
        1550  +
/* ServerOperationErrorGenerator.kt:110 */
  761   1551   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedFloatError {
        1552  +
    /* ServerOperationErrorGenerator.kt:111 */
  762   1553   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedFloatError {
        1554  +
        /* ServerOperationErrorGenerator.kt:112 */
  763   1555   
        Self::ValidationException(variant)
        1556  +
        /* ServerOperationErrorGenerator.kt:111 */
  764   1557   
    }
        1558  +
    /* ServerOperationErrorGenerator.kt:110 */
  765   1559   
}
  766   1560   
        1561  +
/* ServerOperationErrorGenerator.kt:63 */
  767   1562   
/// Error type for the `MalformedLong` operation.
        1563  +
/* ServerOperationErrorGenerator.kt:64 */
  768   1564   
/// Each variant represents an error that can occur for the `MalformedLong` operation.
        1565  +
/* RustType.kt:516 */
  769   1566   
#[derive(::std::fmt::Debug)]
  770         -
pub enum MalformedLongError {
  771         -
    /// 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.
        1567  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedLongError {
        1568  +
    /// /* 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.
        1569  +
    /* ServerOperationErrorGenerator.kt:71 */
  772   1570   
    ValidationException(crate::error::ValidationException),
        1571  +
    /* ServerOperationErrorGenerator.kt:66 */
  773   1572   
}
        1573  +
/* ServerOperationErrorGenerator.kt:75 */
  774   1574   
impl ::std::fmt::Display for MalformedLongError {
        1575  +
    /* ServerOperationErrorGenerator.kt:76 */
  775   1576   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1577  +
        /* ServerOperationErrorGenerator.kt:139 */
  776   1578   
        match &self {
  777         -
            MalformedLongError::ValidationException(_inner) => _inner.fmt(f),
        1579  +
            /* ServerOperationErrorGenerator.kt:142 */
        1580  +
            MalformedLongError::ValidationException(_inner) =>
        1581  +
            /* ServerOperationErrorGenerator.kt:78 */
        1582  +
            {
        1583  +
                _inner.fmt(f)
        1584  +
            }
        1585  +
            /* ServerOperationErrorGenerator.kt:139 */
  778   1586   
        }
        1587  +
        /* ServerOperationErrorGenerator.kt:76 */
  779   1588   
    }
        1589  +
    /* ServerOperationErrorGenerator.kt:75 */
  780   1590   
}
        1591  +
/* ServerOperationErrorGenerator.kt:83 */
  781   1592   
impl MalformedLongError {
        1593  +
    /* ServerOperationErrorGenerator.kt:87 */
  782   1594   
    /// Returns `true` if the error kind is `MalformedLongError::ValidationException`.
        1595  +
    /* ServerOperationErrorGenerator.kt:88 */
  783   1596   
    pub fn is_validation_exception(&self) -> bool {
        1597  +
        /* ServerOperationErrorGenerator.kt:89 */
  784   1598   
        matches!(&self, MalformedLongError::ValidationException(_))
        1599  +
        /* ServerOperationErrorGenerator.kt:88 */
  785   1600   
    }
        1601  +
    /* ServerOperationErrorGenerator.kt:92 */
  786   1602   
    /// Returns the error name string by matching the correct variant.
        1603  +
    /* ServerOperationErrorGenerator.kt:93 */
  787   1604   
    pub fn name(&self) -> &'static str {
        1605  +
        /* ServerOperationErrorGenerator.kt:139 */
  788   1606   
        match &self {
  789         -
            MalformedLongError::ValidationException(_inner) => _inner.name(),
        1607  +
            /* ServerOperationErrorGenerator.kt:142 */
        1608  +
            MalformedLongError::ValidationException(_inner) =>
        1609  +
            /* ServerOperationErrorGenerator.kt:95 */
        1610  +
            {
        1611  +
                _inner.name()
        1612  +
            }
        1613  +
            /* ServerOperationErrorGenerator.kt:139 */
  790   1614   
        }
        1615  +
        /* ServerOperationErrorGenerator.kt:93 */
  791   1616   
    }
        1617  +
    /* ServerOperationErrorGenerator.kt:83 */
  792   1618   
}
        1619  +
/* ServerOperationErrorGenerator.kt:100 */
  793   1620   
impl ::std::error::Error for MalformedLongError {
        1621  +
    /* ServerOperationErrorGenerator.kt:101 */
  794   1622   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1623  +
        /* ServerOperationErrorGenerator.kt:139 */
  795   1624   
        match &self {
  796         -
            MalformedLongError::ValidationException(_inner) => Some(_inner),
        1625  +
            /* ServerOperationErrorGenerator.kt:142 */
        1626  +
            MalformedLongError::ValidationException(_inner) =>
        1627  +
            /* ServerOperationErrorGenerator.kt:103 */
        1628  +
            {
        1629  +
                Some(_inner)
        1630  +
            }
        1631  +
            /* ServerOperationErrorGenerator.kt:139 */
  797   1632   
        }
        1633  +
        /* ServerOperationErrorGenerator.kt:101 */
  798   1634   
    }
        1635  +
    /* ServerOperationErrorGenerator.kt:100 */
  799   1636   
}
        1637  +
/* ServerOperationErrorGenerator.kt:110 */
  800   1638   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedLongError {
        1639  +
    /* ServerOperationErrorGenerator.kt:111 */
  801   1640   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedLongError {
        1641  +
        /* ServerOperationErrorGenerator.kt:112 */
  802   1642   
        Self::ValidationException(variant)
        1643  +
        /* ServerOperationErrorGenerator.kt:111 */
  803   1644   
    }
        1645  +
    /* ServerOperationErrorGenerator.kt:110 */
  804   1646   
}
  805   1647   
        1648  +
/* ServerOperationErrorGenerator.kt:63 */
  806   1649   
/// Error type for the `MalformedShort` operation.
        1650  +
/* ServerOperationErrorGenerator.kt:64 */
  807   1651   
/// Each variant represents an error that can occur for the `MalformedShort` operation.
        1652  +
/* RustType.kt:516 */
  808   1653   
#[derive(::std::fmt::Debug)]
  809         -
pub enum MalformedShortError {
  810         -
    /// 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.
        1654  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedShortError {
        1655  +
    /// /* 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.
        1656  +
    /* ServerOperationErrorGenerator.kt:71 */
  811   1657   
    ValidationException(crate::error::ValidationException),
        1658  +
    /* ServerOperationErrorGenerator.kt:66 */
  812   1659   
}
        1660  +
/* ServerOperationErrorGenerator.kt:75 */
  813   1661   
impl ::std::fmt::Display for MalformedShortError {
        1662  +
    /* ServerOperationErrorGenerator.kt:76 */
  814   1663   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1664  +
        /* ServerOperationErrorGenerator.kt:139 */
  815   1665   
        match &self {
  816         -
            MalformedShortError::ValidationException(_inner) => _inner.fmt(f),
        1666  +
            /* ServerOperationErrorGenerator.kt:142 */
        1667  +
            MalformedShortError::ValidationException(_inner) =>
        1668  +
            /* ServerOperationErrorGenerator.kt:78 */
        1669  +
            {
        1670  +
                _inner.fmt(f)
        1671  +
            }
        1672  +
            /* ServerOperationErrorGenerator.kt:139 */
  817   1673   
        }
        1674  +
        /* ServerOperationErrorGenerator.kt:76 */
  818   1675   
    }
        1676  +
    /* ServerOperationErrorGenerator.kt:75 */
  819   1677   
}
        1678  +
/* ServerOperationErrorGenerator.kt:83 */
  820   1679   
impl MalformedShortError {
        1680  +
    /* ServerOperationErrorGenerator.kt:87 */
  821   1681   
    /// Returns `true` if the error kind is `MalformedShortError::ValidationException`.
        1682  +
    /* ServerOperationErrorGenerator.kt:88 */
  822   1683   
    pub fn is_validation_exception(&self) -> bool {
        1684  +
        /* ServerOperationErrorGenerator.kt:89 */
  823   1685   
        matches!(&self, MalformedShortError::ValidationException(_))
        1686  +
        /* ServerOperationErrorGenerator.kt:88 */
  824   1687   
    }
        1688  +
    /* ServerOperationErrorGenerator.kt:92 */
  825   1689   
    /// Returns the error name string by matching the correct variant.
        1690  +
    /* ServerOperationErrorGenerator.kt:93 */
  826   1691   
    pub fn name(&self) -> &'static str {
        1692  +
        /* ServerOperationErrorGenerator.kt:139 */
  827   1693   
        match &self {
  828         -
            MalformedShortError::ValidationException(_inner) => _inner.name(),
        1694  +
            /* ServerOperationErrorGenerator.kt:142 */
        1695  +
            MalformedShortError::ValidationException(_inner) =>
        1696  +
            /* ServerOperationErrorGenerator.kt:95 */
        1697  +
            {
        1698  +
                _inner.name()
        1699  +
            }
        1700  +
            /* ServerOperationErrorGenerator.kt:139 */
  829   1701   
        }
        1702  +
        /* ServerOperationErrorGenerator.kt:93 */
  830   1703   
    }
        1704  +
    /* ServerOperationErrorGenerator.kt:83 */
  831   1705   
}
        1706  +
/* ServerOperationErrorGenerator.kt:100 */
  832   1707   
impl ::std::error::Error for MalformedShortError {
        1708  +
    /* ServerOperationErrorGenerator.kt:101 */
  833   1709   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1710  +
        /* ServerOperationErrorGenerator.kt:139 */
  834   1711   
        match &self {
  835         -
            MalformedShortError::ValidationException(_inner) => Some(_inner),
        1712  +
            /* ServerOperationErrorGenerator.kt:142 */
        1713  +
            MalformedShortError::ValidationException(_inner) =>
        1714  +
            /* ServerOperationErrorGenerator.kt:103 */
        1715  +
            {
        1716  +
                Some(_inner)
        1717  +
            }
        1718  +
            /* ServerOperationErrorGenerator.kt:139 */
  836   1719   
        }
        1720  +
        /* ServerOperationErrorGenerator.kt:101 */
  837   1721   
    }
        1722  +
    /* ServerOperationErrorGenerator.kt:100 */
  838   1723   
}
        1724  +
/* ServerOperationErrorGenerator.kt:110 */
  839   1725   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedShortError {
        1726  +
    /* ServerOperationErrorGenerator.kt:111 */
  840   1727   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedShortError {
        1728  +
        /* ServerOperationErrorGenerator.kt:112 */
  841   1729   
        Self::ValidationException(variant)
        1730  +
        /* ServerOperationErrorGenerator.kt:111 */
  842   1731   
    }
        1732  +
    /* ServerOperationErrorGenerator.kt:110 */
  843   1733   
}
  844   1734   
        1735  +
/* ServerOperationErrorGenerator.kt:63 */
  845   1736   
/// Error type for the `MalformedByte` operation.
        1737  +
/* ServerOperationErrorGenerator.kt:64 */
  846   1738   
/// Each variant represents an error that can occur for the `MalformedByte` operation.
        1739  +
/* RustType.kt:516 */
  847   1740   
#[derive(::std::fmt::Debug)]
  848         -
pub enum MalformedByteError {
  849         -
    /// 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.
        1741  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedByteError {
        1742  +
    /// /* 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.
        1743  +
    /* ServerOperationErrorGenerator.kt:71 */
  850   1744   
    ValidationException(crate::error::ValidationException),
        1745  +
    /* ServerOperationErrorGenerator.kt:66 */
  851   1746   
}
        1747  +
/* ServerOperationErrorGenerator.kt:75 */
  852   1748   
impl ::std::fmt::Display for MalformedByteError {
        1749  +
    /* ServerOperationErrorGenerator.kt:76 */
  853   1750   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1751  +
        /* ServerOperationErrorGenerator.kt:139 */
  854   1752   
        match &self {
  855         -
            MalformedByteError::ValidationException(_inner) => _inner.fmt(f),
        1753  +
            /* ServerOperationErrorGenerator.kt:142 */
        1754  +
            MalformedByteError::ValidationException(_inner) =>
        1755  +
            /* ServerOperationErrorGenerator.kt:78 */
        1756  +
            {
        1757  +
                _inner.fmt(f)
        1758  +
            }
        1759  +
            /* ServerOperationErrorGenerator.kt:139 */
  856   1760   
        }
        1761  +
        /* ServerOperationErrorGenerator.kt:76 */
  857   1762   
    }
        1763  +
    /* ServerOperationErrorGenerator.kt:75 */
  858   1764   
}
        1765  +
/* ServerOperationErrorGenerator.kt:83 */
  859   1766   
impl MalformedByteError {
        1767  +
    /* ServerOperationErrorGenerator.kt:87 */
  860   1768   
    /// Returns `true` if the error kind is `MalformedByteError::ValidationException`.
        1769  +
    /* ServerOperationErrorGenerator.kt:88 */
  861   1770   
    pub fn is_validation_exception(&self) -> bool {
        1771  +
        /* ServerOperationErrorGenerator.kt:89 */
  862   1772   
        matches!(&self, MalformedByteError::ValidationException(_))
        1773  +
        /* ServerOperationErrorGenerator.kt:88 */
  863   1774   
    }
        1775  +
    /* ServerOperationErrorGenerator.kt:92 */
  864   1776   
    /// Returns the error name string by matching the correct variant.
        1777  +
    /* ServerOperationErrorGenerator.kt:93 */
  865   1778   
    pub fn name(&self) -> &'static str {
        1779  +
        /* ServerOperationErrorGenerator.kt:139 */
  866   1780   
        match &self {
  867         -
            MalformedByteError::ValidationException(_inner) => _inner.name(),
        1781  +
            /* ServerOperationErrorGenerator.kt:142 */
        1782  +
            MalformedByteError::ValidationException(_inner) =>
        1783  +
            /* ServerOperationErrorGenerator.kt:95 */
        1784  +
            {
        1785  +
                _inner.name()
        1786  +
            }
        1787  +
            /* ServerOperationErrorGenerator.kt:139 */
  868   1788   
        }
        1789  +
        /* ServerOperationErrorGenerator.kt:93 */
  869   1790   
    }
        1791  +
    /* ServerOperationErrorGenerator.kt:83 */
  870   1792   
}
        1793  +
/* ServerOperationErrorGenerator.kt:100 */
  871   1794   
impl ::std::error::Error for MalformedByteError {
        1795  +
    /* ServerOperationErrorGenerator.kt:101 */
  872   1796   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1797  +
        /* ServerOperationErrorGenerator.kt:139 */
  873   1798   
        match &self {
  874         -
            MalformedByteError::ValidationException(_inner) => Some(_inner),
        1799  +
            /* ServerOperationErrorGenerator.kt:142 */
        1800  +
            MalformedByteError::ValidationException(_inner) =>
        1801  +
            /* ServerOperationErrorGenerator.kt:103 */
        1802  +
            {
        1803  +
                Some(_inner)
        1804  +
            }
        1805  +
            /* ServerOperationErrorGenerator.kt:139 */
  875   1806   
        }
        1807  +
        /* ServerOperationErrorGenerator.kt:101 */
  876   1808   
    }
        1809  +
    /* ServerOperationErrorGenerator.kt:100 */
  877   1810   
}
        1811  +
/* ServerOperationErrorGenerator.kt:110 */
  878   1812   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::MalformedByteError {
        1813  +
    /* ServerOperationErrorGenerator.kt:111 */
  879   1814   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedByteError {
        1815  +
        /* ServerOperationErrorGenerator.kt:112 */
  880   1816   
        Self::ValidationException(variant)
        1817  +
        /* ServerOperationErrorGenerator.kt:111 */
  881   1818   
    }
        1819  +
    /* ServerOperationErrorGenerator.kt:110 */
  882   1820   
}
  883   1821   
        1822  +
/* ServerOperationErrorGenerator.kt:63 */
  884   1823   
/// Error type for the `MalformedBoolean` operation.
        1824  +
/* ServerOperationErrorGenerator.kt:64 */
  885   1825   
/// Each variant represents an error that can occur for the `MalformedBoolean` operation.
        1826  +
/* RustType.kt:516 */
  886   1827   
#[derive(::std::fmt::Debug)]
  887         -
pub enum MalformedBooleanError {
  888         -
    /// 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.
        1828  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedBooleanError {
        1829  +
    /// /* 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.
        1830  +
    /* ServerOperationErrorGenerator.kt:71 */
  889   1831   
    ValidationException(crate::error::ValidationException),
        1832  +
    /* ServerOperationErrorGenerator.kt:66 */
  890   1833   
}
        1834  +
/* ServerOperationErrorGenerator.kt:75 */
  891   1835   
impl ::std::fmt::Display for MalformedBooleanError {
        1836  +
    /* ServerOperationErrorGenerator.kt:76 */
  892   1837   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1838  +
        /* ServerOperationErrorGenerator.kt:139 */
  893   1839   
        match &self {
  894         -
            MalformedBooleanError::ValidationException(_inner) => _inner.fmt(f),
        1840  +
            /* ServerOperationErrorGenerator.kt:142 */
        1841  +
            MalformedBooleanError::ValidationException(_inner) =>
        1842  +
            /* ServerOperationErrorGenerator.kt:78 */
        1843  +
            {
        1844  +
                _inner.fmt(f)
        1845  +
            }
        1846  +
            /* ServerOperationErrorGenerator.kt:139 */
  895   1847   
        }
        1848  +
        /* ServerOperationErrorGenerator.kt:76 */
  896   1849   
    }
        1850  +
    /* ServerOperationErrorGenerator.kt:75 */
  897   1851   
}
        1852  +
/* ServerOperationErrorGenerator.kt:83 */
  898   1853   
impl MalformedBooleanError {
        1854  +
    /* ServerOperationErrorGenerator.kt:87 */
  899   1855   
    /// Returns `true` if the error kind is `MalformedBooleanError::ValidationException`.
        1856  +
    /* ServerOperationErrorGenerator.kt:88 */
  900   1857   
    pub fn is_validation_exception(&self) -> bool {
        1858  +
        /* ServerOperationErrorGenerator.kt:89 */
  901   1859   
        matches!(&self, MalformedBooleanError::ValidationException(_))
        1860  +
        /* ServerOperationErrorGenerator.kt:88 */
  902   1861   
    }
        1862  +
    /* ServerOperationErrorGenerator.kt:92 */
  903   1863   
    /// Returns the error name string by matching the correct variant.
        1864  +
    /* ServerOperationErrorGenerator.kt:93 */
  904   1865   
    pub fn name(&self) -> &'static str {
        1866  +
        /* ServerOperationErrorGenerator.kt:139 */
  905   1867   
        match &self {
  906         -
            MalformedBooleanError::ValidationException(_inner) => _inner.name(),
        1868  +
            /* ServerOperationErrorGenerator.kt:142 */
        1869  +
            MalformedBooleanError::ValidationException(_inner) =>
        1870  +
            /* ServerOperationErrorGenerator.kt:95 */
        1871  +
            {
        1872  +
                _inner.name()
        1873  +
            }
        1874  +
            /* ServerOperationErrorGenerator.kt:139 */
  907   1875   
        }
        1876  +
        /* ServerOperationErrorGenerator.kt:93 */
  908   1877   
    }
        1878  +
    /* ServerOperationErrorGenerator.kt:83 */
  909   1879   
}
        1880  +
/* ServerOperationErrorGenerator.kt:100 */
  910   1881   
impl ::std::error::Error for MalformedBooleanError {
        1882  +
    /* ServerOperationErrorGenerator.kt:101 */
  911   1883   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1884  +
        /* ServerOperationErrorGenerator.kt:139 */
  912   1885   
        match &self {
  913         -
            MalformedBooleanError::ValidationException(_inner) => Some(_inner),
        1886  +
            /* ServerOperationErrorGenerator.kt:142 */
        1887  +
            MalformedBooleanError::ValidationException(_inner) =>
        1888  +
            /* ServerOperationErrorGenerator.kt:103 */
        1889  +
            {
        1890  +
                Some(_inner)
        1891  +
            }
        1892  +
            /* ServerOperationErrorGenerator.kt:139 */
  914   1893   
        }
        1894  +
        /* ServerOperationErrorGenerator.kt:101 */
  915   1895   
    }
        1896  +
    /* ServerOperationErrorGenerator.kt:100 */
  916   1897   
}
        1898  +
/* ServerOperationErrorGenerator.kt:110 */
  917   1899   
impl ::std::convert::From<crate::error::ValidationException>
  918   1900   
    for crate::error::MalformedBooleanError
  919   1901   
{
        1902  +
    /* ServerOperationErrorGenerator.kt:111 */
  920   1903   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedBooleanError {
        1904  +
        /* ServerOperationErrorGenerator.kt:112 */
  921   1905   
        Self::ValidationException(variant)
        1906  +
        /* ServerOperationErrorGenerator.kt:111 */
  922   1907   
    }
        1908  +
    /* ServerOperationErrorGenerator.kt:110 */
  923   1909   
}
  924   1910   
        1911  +
/* ServerOperationErrorGenerator.kt:63 */
  925   1912   
/// Error type for the `MalformedInteger` operation.
        1913  +
/* ServerOperationErrorGenerator.kt:64 */
  926   1914   
/// Each variant represents an error that can occur for the `MalformedInteger` operation.
        1915  +
/* RustType.kt:516 */
  927   1916   
#[derive(::std::fmt::Debug)]
  928         -
pub enum MalformedIntegerError {
  929         -
    /// 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.
        1917  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum MalformedIntegerError {
        1918  +
    /// /* 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.
        1919  +
    /* ServerOperationErrorGenerator.kt:71 */
  930   1920   
    ValidationException(crate::error::ValidationException),
        1921  +
    /* ServerOperationErrorGenerator.kt:66 */
  931   1922   
}
        1923  +
/* ServerOperationErrorGenerator.kt:75 */
  932   1924   
impl ::std::fmt::Display for MalformedIntegerError {
        1925  +
    /* ServerOperationErrorGenerator.kt:76 */
  933   1926   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        1927  +
        /* ServerOperationErrorGenerator.kt:139 */
  934   1928   
        match &self {
  935         -
            MalformedIntegerError::ValidationException(_inner) => _inner.fmt(f),
        1929  +
            /* ServerOperationErrorGenerator.kt:142 */
        1930  +
            MalformedIntegerError::ValidationException(_inner) =>
        1931  +
            /* ServerOperationErrorGenerator.kt:78 */
        1932  +
            {
        1933  +
                _inner.fmt(f)
        1934  +
            }
        1935  +
            /* ServerOperationErrorGenerator.kt:139 */
  936   1936   
        }
        1937  +
        /* ServerOperationErrorGenerator.kt:76 */
  937   1938   
    }
        1939  +
    /* ServerOperationErrorGenerator.kt:75 */
  938   1940   
}
        1941  +
/* ServerOperationErrorGenerator.kt:83 */
  939   1942   
impl MalformedIntegerError {
        1943  +
    /* ServerOperationErrorGenerator.kt:87 */
  940   1944   
    /// Returns `true` if the error kind is `MalformedIntegerError::ValidationException`.
        1945  +
    /* ServerOperationErrorGenerator.kt:88 */
  941   1946   
    pub fn is_validation_exception(&self) -> bool {
        1947  +
        /* ServerOperationErrorGenerator.kt:89 */
  942   1948   
        matches!(&self, MalformedIntegerError::ValidationException(_))
        1949  +
        /* ServerOperationErrorGenerator.kt:88 */
  943   1950   
    }
        1951  +
    /* ServerOperationErrorGenerator.kt:92 */
  944   1952   
    /// Returns the error name string by matching the correct variant.
        1953  +
    /* ServerOperationErrorGenerator.kt:93 */
  945   1954   
    pub fn name(&self) -> &'static str {
        1955  +
        /* ServerOperationErrorGenerator.kt:139 */
  946   1956   
        match &self {
  947         -
            MalformedIntegerError::ValidationException(_inner) => _inner.name(),
        1957  +
            /* ServerOperationErrorGenerator.kt:142 */
        1958  +
            MalformedIntegerError::ValidationException(_inner) =>
        1959  +
            /* ServerOperationErrorGenerator.kt:95 */
        1960  +
            {
        1961  +
                _inner.name()
  948   1962   
            }
        1963  +
            /* ServerOperationErrorGenerator.kt:139 */
  949   1964   
        }
        1965  +
        /* ServerOperationErrorGenerator.kt:93 */
        1966  +
    }
        1967  +
    /* ServerOperationErrorGenerator.kt:83 */
  950   1968   
}
        1969  +
/* ServerOperationErrorGenerator.kt:100 */
  951   1970   
impl ::std::error::Error for MalformedIntegerError {
        1971  +
    /* ServerOperationErrorGenerator.kt:101 */
  952   1972   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        1973  +
        /* ServerOperationErrorGenerator.kt:139 */
  953   1974   
        match &self {
  954         -
            MalformedIntegerError::ValidationException(_inner) => Some(_inner),
        1975  +
            /* ServerOperationErrorGenerator.kt:142 */
        1976  +
            MalformedIntegerError::ValidationException(_inner) =>
        1977  +
            /* ServerOperationErrorGenerator.kt:103 */
        1978  +
            {
        1979  +
                Some(_inner)
  955   1980   
            }
        1981  +
            /* ServerOperationErrorGenerator.kt:139 */
  956   1982   
        }
        1983  +
        /* ServerOperationErrorGenerator.kt:101 */
        1984  +
    }
        1985  +
    /* ServerOperationErrorGenerator.kt:100 */
  957   1986   
}
        1987  +
/* ServerOperationErrorGenerator.kt:110 */
  958   1988   
impl ::std::convert::From<crate::error::ValidationException>
  959   1989   
    for crate::error::MalformedIntegerError
  960   1990   
{
        1991  +
    /* ServerOperationErrorGenerator.kt:111 */
  961   1992   
    fn from(variant: crate::error::ValidationException) -> crate::error::MalformedIntegerError {
        1993  +
        /* ServerOperationErrorGenerator.kt:112 */
  962   1994   
        Self::ValidationException(variant)
        1995  +
        /* ServerOperationErrorGenerator.kt:111 */
  963   1996   
    }
        1997  +
    /* ServerOperationErrorGenerator.kt:110 */
  964   1998   
}
  965   1999   
        2000  +
/* ServerOperationErrorGenerator.kt:63 */
  966   2001   
/// Error type for the `EndpointWithHostLabelOperation` operation.
        2002  +
/* ServerOperationErrorGenerator.kt:64 */
  967   2003   
/// Each variant represents an error that can occur for the `EndpointWithHostLabelOperation` operation.
        2004  +
/* RustType.kt:516 */
  968   2005   
#[derive(::std::fmt::Debug)]
  969         -
pub enum EndpointWithHostLabelOperationError {
  970         -
    /// 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.
        2006  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum EndpointWithHostLabelOperationError {
        2007  +
    /// /* 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.
        2008  +
    /* ServerOperationErrorGenerator.kt:71 */
  971   2009   
    ValidationException(crate::error::ValidationException),
        2010  +
    /* ServerOperationErrorGenerator.kt:66 */
  972   2011   
}
        2012  +
/* ServerOperationErrorGenerator.kt:75 */
  973   2013   
impl ::std::fmt::Display for EndpointWithHostLabelOperationError {
        2014  +
    /* ServerOperationErrorGenerator.kt:76 */
  974   2015   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2016  +
        /* ServerOperationErrorGenerator.kt:139 */
  975   2017   
        match &self {
  976         -
            EndpointWithHostLabelOperationError::ValidationException(_inner) => _inner.fmt(f),
        2018  +
            /* ServerOperationErrorGenerator.kt:142 */
        2019  +
            EndpointWithHostLabelOperationError::ValidationException(_inner) =>
        2020  +
            /* ServerOperationErrorGenerator.kt:78 */
        2021  +
            {
        2022  +
                _inner.fmt(f)
  977   2023   
            }
        2024  +
            /* ServerOperationErrorGenerator.kt:139 */
  978   2025   
        }
        2026  +
        /* ServerOperationErrorGenerator.kt:76 */
        2027  +
    }
        2028  +
    /* ServerOperationErrorGenerator.kt:75 */
  979   2029   
}
        2030  +
/* ServerOperationErrorGenerator.kt:83 */
  980   2031   
impl EndpointWithHostLabelOperationError {
        2032  +
    /* ServerOperationErrorGenerator.kt:87 */
  981   2033   
    /// Returns `true` if the error kind is `EndpointWithHostLabelOperationError::ValidationException`.
        2034  +
    /* ServerOperationErrorGenerator.kt:88 */
  982   2035   
    pub fn is_validation_exception(&self) -> bool {
        2036  +
        /* ServerOperationErrorGenerator.kt:89 */
  983   2037   
        matches!(
  984   2038   
            &self,
  985   2039   
            EndpointWithHostLabelOperationError::ValidationException(_)
  986   2040   
        )
        2041  +
        /* ServerOperationErrorGenerator.kt:88 */
  987   2042   
    }
        2043  +
    /* ServerOperationErrorGenerator.kt:92 */
  988   2044   
    /// Returns the error name string by matching the correct variant.
        2045  +
    /* ServerOperationErrorGenerator.kt:93 */
  989   2046   
    pub fn name(&self) -> &'static str {
        2047  +
        /* ServerOperationErrorGenerator.kt:139 */
  990   2048   
        match &self {
  991         -
            EndpointWithHostLabelOperationError::ValidationException(_inner) => _inner.name(),
        2049  +
            /* ServerOperationErrorGenerator.kt:142 */
        2050  +
            EndpointWithHostLabelOperationError::ValidationException(_inner) =>
        2051  +
            /* ServerOperationErrorGenerator.kt:95 */
        2052  +
            {
        2053  +
                _inner.name()
  992   2054   
            }
        2055  +
            /* ServerOperationErrorGenerator.kt:139 */
  993   2056   
        }
        2057  +
        /* ServerOperationErrorGenerator.kt:93 */
        2058  +
    }
        2059  +
    /* ServerOperationErrorGenerator.kt:83 */
  994   2060   
}
        2061  +
/* ServerOperationErrorGenerator.kt:100 */
  995   2062   
impl ::std::error::Error for EndpointWithHostLabelOperationError {
        2063  +
    /* ServerOperationErrorGenerator.kt:101 */
  996   2064   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2065  +
        /* ServerOperationErrorGenerator.kt:139 */
  997   2066   
        match &self {
  998         -
            EndpointWithHostLabelOperationError::ValidationException(_inner) => Some(_inner),
        2067  +
            /* ServerOperationErrorGenerator.kt:142 */
        2068  +
            EndpointWithHostLabelOperationError::ValidationException(_inner) =>
        2069  +
            /* ServerOperationErrorGenerator.kt:103 */
        2070  +
            {
        2071  +
                Some(_inner)
  999   2072   
            }
        2073  +
            /* ServerOperationErrorGenerator.kt:139 */
 1000   2074   
        }
        2075  +
        /* ServerOperationErrorGenerator.kt:101 */
        2076  +
    }
        2077  +
    /* ServerOperationErrorGenerator.kt:100 */
 1001   2078   
}
        2079  +
/* ServerOperationErrorGenerator.kt:110 */
 1002   2080   
impl ::std::convert::From<crate::error::ValidationException>
 1003   2081   
    for crate::error::EndpointWithHostLabelOperationError
 1004   2082   
{
        2083  +
    /* ServerOperationErrorGenerator.kt:111 */
 1005   2084   
    fn from(
 1006   2085   
        variant: crate::error::ValidationException,
 1007   2086   
    ) -> crate::error::EndpointWithHostLabelOperationError {
        2087  +
        /* ServerOperationErrorGenerator.kt:112 */
 1008   2088   
        Self::ValidationException(variant)
        2089  +
        /* ServerOperationErrorGenerator.kt:111 */
 1009   2090   
    }
        2091  +
    /* ServerOperationErrorGenerator.kt:110 */
 1010   2092   
}
 1011   2093   
        2094  +
/* ServerOperationErrorGenerator.kt:63 */
 1012   2095   
/// Error type for the `JsonUnions` operation.
        2096  +
/* ServerOperationErrorGenerator.kt:64 */
 1013   2097   
/// Each variant represents an error that can occur for the `JsonUnions` operation.
        2098  +
/* RustType.kt:516 */
 1014   2099   
#[derive(::std::fmt::Debug)]
 1015         -
pub enum JsonUnionsError {
 1016         -
    /// 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.
        2100  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonUnionsError {
        2101  +
    /// /* 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.
        2102  +
    /* ServerOperationErrorGenerator.kt:71 */
 1017   2103   
    ValidationException(crate::error::ValidationException),
        2104  +
    /* ServerOperationErrorGenerator.kt:66 */
 1018   2105   
}
        2106  +
/* ServerOperationErrorGenerator.kt:75 */
 1019   2107   
impl ::std::fmt::Display for JsonUnionsError {
        2108  +
    /* ServerOperationErrorGenerator.kt:76 */
 1020   2109   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2110  +
        /* ServerOperationErrorGenerator.kt:139 */
 1021   2111   
        match &self {
 1022         -
            JsonUnionsError::ValidationException(_inner) => _inner.fmt(f),
        2112  +
            /* ServerOperationErrorGenerator.kt:142 */
        2113  +
            JsonUnionsError::ValidationException(_inner) =>
        2114  +
            /* ServerOperationErrorGenerator.kt:78 */
        2115  +
            {
        2116  +
                _inner.fmt(f)
 1023   2117   
            }
        2118  +
            /* ServerOperationErrorGenerator.kt:139 */
 1024   2119   
        }
        2120  +
        /* ServerOperationErrorGenerator.kt:76 */
        2121  +
    }
        2122  +
    /* ServerOperationErrorGenerator.kt:75 */
 1025   2123   
}
        2124  +
/* ServerOperationErrorGenerator.kt:83 */
 1026   2125   
impl JsonUnionsError {
        2126  +
    /* ServerOperationErrorGenerator.kt:87 */
 1027   2127   
    /// Returns `true` if the error kind is `JsonUnionsError::ValidationException`.
        2128  +
    /* ServerOperationErrorGenerator.kt:88 */
 1028   2129   
    pub fn is_validation_exception(&self) -> bool {
        2130  +
        /* ServerOperationErrorGenerator.kt:89 */
 1029   2131   
        matches!(&self, JsonUnionsError::ValidationException(_))
        2132  +
        /* ServerOperationErrorGenerator.kt:88 */
 1030   2133   
    }
        2134  +
    /* ServerOperationErrorGenerator.kt:92 */
 1031   2135   
    /// Returns the error name string by matching the correct variant.
        2136  +
    /* ServerOperationErrorGenerator.kt:93 */
 1032   2137   
    pub fn name(&self) -> &'static str {
        2138  +
        /* ServerOperationErrorGenerator.kt:139 */
 1033   2139   
        match &self {
 1034         -
            JsonUnionsError::ValidationException(_inner) => _inner.name(),
        2140  +
            /* ServerOperationErrorGenerator.kt:142 */
        2141  +
            JsonUnionsError::ValidationException(_inner) =>
        2142  +
            /* ServerOperationErrorGenerator.kt:95 */
        2143  +
            {
        2144  +
                _inner.name()
 1035   2145   
            }
        2146  +
            /* ServerOperationErrorGenerator.kt:139 */
 1036   2147   
        }
        2148  +
        /* ServerOperationErrorGenerator.kt:93 */
        2149  +
    }
        2150  +
    /* ServerOperationErrorGenerator.kt:83 */
 1037   2151   
}
        2152  +
/* ServerOperationErrorGenerator.kt:100 */
 1038   2153   
impl ::std::error::Error for JsonUnionsError {
        2154  +
    /* ServerOperationErrorGenerator.kt:101 */
 1039   2155   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2156  +
        /* ServerOperationErrorGenerator.kt:139 */
 1040   2157   
        match &self {
 1041         -
            JsonUnionsError::ValidationException(_inner) => Some(_inner),
        2158  +
            /* ServerOperationErrorGenerator.kt:142 */
        2159  +
            JsonUnionsError::ValidationException(_inner) =>
        2160  +
            /* ServerOperationErrorGenerator.kt:103 */
        2161  +
            {
        2162  +
                Some(_inner)
 1042   2163   
            }
        2164  +
            /* ServerOperationErrorGenerator.kt:139 */
 1043   2165   
        }
        2166  +
        /* ServerOperationErrorGenerator.kt:101 */
        2167  +
    }
        2168  +
    /* ServerOperationErrorGenerator.kt:100 */
 1044   2169   
}
        2170  +
/* ServerOperationErrorGenerator.kt:110 */
 1045   2171   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonUnionsError {
        2172  +
    /* ServerOperationErrorGenerator.kt:111 */
 1046   2173   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonUnionsError {
        2174  +
        /* ServerOperationErrorGenerator.kt:112 */
 1047   2175   
        Self::ValidationException(variant)
        2176  +
        /* ServerOperationErrorGenerator.kt:111 */
 1048   2177   
    }
        2178  +
    /* ServerOperationErrorGenerator.kt:110 */
 1049   2179   
}
 1050   2180   
        2181  +
/* ServerOperationErrorGenerator.kt:63 */
 1051   2182   
/// Error type for the `SparseJsonMaps` operation.
        2183  +
/* ServerOperationErrorGenerator.kt:64 */
 1052   2184   
/// Each variant represents an error that can occur for the `SparseJsonMaps` operation.
        2185  +
/* RustType.kt:516 */
 1053   2186   
#[derive(::std::fmt::Debug)]
 1054         -
pub enum SparseJsonMapsError {
 1055         -
    /// 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.
        2187  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum SparseJsonMapsError {
        2188  +
    /// /* 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.
        2189  +
    /* ServerOperationErrorGenerator.kt:71 */
 1056   2190   
    ValidationException(crate::error::ValidationException),
        2191  +
    /* ServerOperationErrorGenerator.kt:66 */
 1057   2192   
}
        2193  +
/* ServerOperationErrorGenerator.kt:75 */
 1058   2194   
impl ::std::fmt::Display for SparseJsonMapsError {
        2195  +
    /* ServerOperationErrorGenerator.kt:76 */
 1059   2196   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2197  +
        /* ServerOperationErrorGenerator.kt:139 */
 1060   2198   
        match &self {
 1061         -
            SparseJsonMapsError::ValidationException(_inner) => _inner.fmt(f),
        2199  +
            /* ServerOperationErrorGenerator.kt:142 */
        2200  +
            SparseJsonMapsError::ValidationException(_inner) =>
        2201  +
            /* ServerOperationErrorGenerator.kt:78 */
        2202  +
            {
        2203  +
                _inner.fmt(f)
 1062   2204   
            }
        2205  +
            /* ServerOperationErrorGenerator.kt:139 */
 1063   2206   
        }
        2207  +
        /* ServerOperationErrorGenerator.kt:76 */
        2208  +
    }
        2209  +
    /* ServerOperationErrorGenerator.kt:75 */
 1064   2210   
}
        2211  +
/* ServerOperationErrorGenerator.kt:83 */
 1065   2212   
impl SparseJsonMapsError {
        2213  +
    /* ServerOperationErrorGenerator.kt:87 */
 1066   2214   
    /// Returns `true` if the error kind is `SparseJsonMapsError::ValidationException`.
        2215  +
    /* ServerOperationErrorGenerator.kt:88 */
 1067   2216   
    pub fn is_validation_exception(&self) -> bool {
        2217  +
        /* ServerOperationErrorGenerator.kt:89 */
 1068   2218   
        matches!(&self, SparseJsonMapsError::ValidationException(_))
        2219  +
        /* ServerOperationErrorGenerator.kt:88 */
 1069   2220   
    }
        2221  +
    /* ServerOperationErrorGenerator.kt:92 */
 1070   2222   
    /// Returns the error name string by matching the correct variant.
        2223  +
    /* ServerOperationErrorGenerator.kt:93 */
 1071   2224   
    pub fn name(&self) -> &'static str {
        2225  +
        /* ServerOperationErrorGenerator.kt:139 */
 1072   2226   
        match &self {
 1073         -
            SparseJsonMapsError::ValidationException(_inner) => _inner.name(),
        2227  +
            /* ServerOperationErrorGenerator.kt:142 */
        2228  +
            SparseJsonMapsError::ValidationException(_inner) =>
        2229  +
            /* ServerOperationErrorGenerator.kt:95 */
        2230  +
            {
        2231  +
                _inner.name()
 1074   2232   
            }
        2233  +
            /* ServerOperationErrorGenerator.kt:139 */
 1075   2234   
        }
        2235  +
        /* ServerOperationErrorGenerator.kt:93 */
        2236  +
    }
        2237  +
    /* ServerOperationErrorGenerator.kt:83 */
 1076   2238   
}
        2239  +
/* ServerOperationErrorGenerator.kt:100 */
 1077   2240   
impl ::std::error::Error for SparseJsonMapsError {
        2241  +
    /* ServerOperationErrorGenerator.kt:101 */
 1078   2242   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2243  +
        /* ServerOperationErrorGenerator.kt:139 */
 1079   2244   
        match &self {
 1080         -
            SparseJsonMapsError::ValidationException(_inner) => Some(_inner),
        2245  +
            /* ServerOperationErrorGenerator.kt:142 */
        2246  +
            SparseJsonMapsError::ValidationException(_inner) =>
        2247  +
            /* ServerOperationErrorGenerator.kt:103 */
        2248  +
            {
        2249  +
                Some(_inner)
 1081   2250   
            }
        2251  +
            /* ServerOperationErrorGenerator.kt:139 */
 1082   2252   
        }
        2253  +
        /* ServerOperationErrorGenerator.kt:101 */
        2254  +
    }
        2255  +
    /* ServerOperationErrorGenerator.kt:100 */
 1083   2256   
}
        2257  +
/* ServerOperationErrorGenerator.kt:110 */
 1084   2258   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::SparseJsonMapsError {
        2259  +
    /* ServerOperationErrorGenerator.kt:111 */
 1085   2260   
    fn from(variant: crate::error::ValidationException) -> crate::error::SparseJsonMapsError {
        2261  +
        /* ServerOperationErrorGenerator.kt:112 */
 1086   2262   
        Self::ValidationException(variant)
        2263  +
        /* ServerOperationErrorGenerator.kt:111 */
 1087   2264   
    }
        2265  +
    /* ServerOperationErrorGenerator.kt:110 */
 1088   2266   
}
 1089   2267   
        2268  +
/* ServerOperationErrorGenerator.kt:63 */
 1090   2269   
/// Error type for the `JsonMaps` operation.
        2270  +
/* ServerOperationErrorGenerator.kt:64 */
 1091   2271   
/// Each variant represents an error that can occur for the `JsonMaps` operation.
        2272  +
/* RustType.kt:516 */
 1092   2273   
#[derive(::std::fmt::Debug)]
 1093         -
pub enum JsonMapsError {
 1094         -
    /// 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.
        2274  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonMapsError {
        2275  +
    /// /* 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.
        2276  +
    /* ServerOperationErrorGenerator.kt:71 */
 1095   2277   
    ValidationException(crate::error::ValidationException),
        2278  +
    /* ServerOperationErrorGenerator.kt:66 */
 1096   2279   
}
        2280  +
/* ServerOperationErrorGenerator.kt:75 */
 1097   2281   
impl ::std::fmt::Display for JsonMapsError {
        2282  +
    /* ServerOperationErrorGenerator.kt:76 */
 1098   2283   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2284  +
        /* ServerOperationErrorGenerator.kt:139 */
 1099   2285   
        match &self {
 1100         -
            JsonMapsError::ValidationException(_inner) => _inner.fmt(f),
        2286  +
            /* ServerOperationErrorGenerator.kt:142 */
        2287  +
            JsonMapsError::ValidationException(_inner) =>
        2288  +
            /* ServerOperationErrorGenerator.kt:78 */
        2289  +
            {
        2290  +
                _inner.fmt(f)
 1101   2291   
            }
        2292  +
            /* ServerOperationErrorGenerator.kt:139 */
 1102   2293   
        }
        2294  +
        /* ServerOperationErrorGenerator.kt:76 */
        2295  +
    }
        2296  +
    /* ServerOperationErrorGenerator.kt:75 */
 1103   2297   
}
        2298  +
/* ServerOperationErrorGenerator.kt:83 */
 1104   2299   
impl JsonMapsError {
        2300  +
    /* ServerOperationErrorGenerator.kt:87 */
 1105   2301   
    /// Returns `true` if the error kind is `JsonMapsError::ValidationException`.
        2302  +
    /* ServerOperationErrorGenerator.kt:88 */
 1106   2303   
    pub fn is_validation_exception(&self) -> bool {
        2304  +
        /* ServerOperationErrorGenerator.kt:89 */
 1107   2305   
        matches!(&self, JsonMapsError::ValidationException(_))
        2306  +
        /* ServerOperationErrorGenerator.kt:88 */
 1108   2307   
    }
        2308  +
    /* ServerOperationErrorGenerator.kt:92 */
 1109   2309   
    /// Returns the error name string by matching the correct variant.
        2310  +
    /* ServerOperationErrorGenerator.kt:93 */
 1110   2311   
    pub fn name(&self) -> &'static str {
        2312  +
        /* ServerOperationErrorGenerator.kt:139 */
 1111   2313   
        match &self {
 1112         -
            JsonMapsError::ValidationException(_inner) => _inner.name(),
        2314  +
            /* ServerOperationErrorGenerator.kt:142 */
        2315  +
            JsonMapsError::ValidationException(_inner) =>
        2316  +
            /* ServerOperationErrorGenerator.kt:95 */
        2317  +
            {
        2318  +
                _inner.name()
 1113   2319   
            }
        2320  +
            /* ServerOperationErrorGenerator.kt:139 */
 1114   2321   
        }
        2322  +
        /* ServerOperationErrorGenerator.kt:93 */
        2323  +
    }
        2324  +
    /* ServerOperationErrorGenerator.kt:83 */
 1115   2325   
}
        2326  +
/* ServerOperationErrorGenerator.kt:100 */
 1116   2327   
impl ::std::error::Error for JsonMapsError {
        2328  +
    /* ServerOperationErrorGenerator.kt:101 */
 1117   2329   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2330  +
        /* ServerOperationErrorGenerator.kt:139 */
 1118   2331   
        match &self {
 1119         -
            JsonMapsError::ValidationException(_inner) => Some(_inner),
        2332  +
            /* ServerOperationErrorGenerator.kt:142 */
        2333  +
            JsonMapsError::ValidationException(_inner) =>
        2334  +
            /* ServerOperationErrorGenerator.kt:103 */
        2335  +
            {
        2336  +
                Some(_inner)
 1120   2337   
            }
        2338  +
            /* ServerOperationErrorGenerator.kt:139 */
 1121   2339   
        }
        2340  +
        /* ServerOperationErrorGenerator.kt:101 */
        2341  +
    }
        2342  +
    /* ServerOperationErrorGenerator.kt:100 */
 1122   2343   
}
        2344  +
/* ServerOperationErrorGenerator.kt:110 */
 1123   2345   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonMapsError {
        2346  +
    /* ServerOperationErrorGenerator.kt:111 */
 1124   2347   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonMapsError {
        2348  +
        /* ServerOperationErrorGenerator.kt:112 */
 1125   2349   
        Self::ValidationException(variant)
        2350  +
        /* ServerOperationErrorGenerator.kt:111 */
 1126   2351   
    }
        2352  +
    /* ServerOperationErrorGenerator.kt:110 */
 1127   2353   
}
 1128   2354   
        2355  +
/* ServerOperationErrorGenerator.kt:63 */
 1129   2356   
/// Error type for the `JsonLists` operation.
        2357  +
/* ServerOperationErrorGenerator.kt:64 */
 1130   2358   
/// Each variant represents an error that can occur for the `JsonLists` operation.
        2359  +
/* RustType.kt:516 */
 1131   2360   
#[derive(::std::fmt::Debug)]
 1132         -
pub enum JsonListsError {
 1133         -
    /// 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.
        2361  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonListsError {
        2362  +
    /// /* 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.
        2363  +
    /* ServerOperationErrorGenerator.kt:71 */
 1134   2364   
    ValidationException(crate::error::ValidationException),
        2365  +
    /* ServerOperationErrorGenerator.kt:66 */
 1135   2366   
}
        2367  +
/* ServerOperationErrorGenerator.kt:75 */
 1136   2368   
impl ::std::fmt::Display for JsonListsError {
        2369  +
    /* ServerOperationErrorGenerator.kt:76 */
 1137   2370   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2371  +
        /* ServerOperationErrorGenerator.kt:139 */
 1138   2372   
        match &self {
 1139         -
            JsonListsError::ValidationException(_inner) => _inner.fmt(f),
        2373  +
            /* ServerOperationErrorGenerator.kt:142 */
        2374  +
            JsonListsError::ValidationException(_inner) =>
        2375  +
            /* ServerOperationErrorGenerator.kt:78 */
        2376  +
            {
        2377  +
                _inner.fmt(f)
 1140   2378   
            }
        2379  +
            /* ServerOperationErrorGenerator.kt:139 */
 1141   2380   
        }
        2381  +
        /* ServerOperationErrorGenerator.kt:76 */
        2382  +
    }
        2383  +
    /* ServerOperationErrorGenerator.kt:75 */
 1142   2384   
}
        2385  +
/* ServerOperationErrorGenerator.kt:83 */
 1143   2386   
impl JsonListsError {
        2387  +
    /* ServerOperationErrorGenerator.kt:87 */
 1144   2388   
    /// Returns `true` if the error kind is `JsonListsError::ValidationException`.
        2389  +
    /* ServerOperationErrorGenerator.kt:88 */
 1145   2390   
    pub fn is_validation_exception(&self) -> bool {
        2391  +
        /* ServerOperationErrorGenerator.kt:89 */
 1146   2392   
        matches!(&self, JsonListsError::ValidationException(_))
        2393  +
        /* ServerOperationErrorGenerator.kt:88 */
 1147   2394   
    }
        2395  +
    /* ServerOperationErrorGenerator.kt:92 */
 1148   2396   
    /// Returns the error name string by matching the correct variant.
        2397  +
    /* ServerOperationErrorGenerator.kt:93 */
 1149   2398   
    pub fn name(&self) -> &'static str {
        2399  +
        /* ServerOperationErrorGenerator.kt:139 */
 1150   2400   
        match &self {
 1151         -
            JsonListsError::ValidationException(_inner) => _inner.name(),
        2401  +
            /* ServerOperationErrorGenerator.kt:142 */
        2402  +
            JsonListsError::ValidationException(_inner) =>
        2403  +
            /* ServerOperationErrorGenerator.kt:95 */
        2404  +
            {
        2405  +
                _inner.name()
 1152   2406   
            }
        2407  +
            /* ServerOperationErrorGenerator.kt:139 */
 1153   2408   
        }
        2409  +
        /* ServerOperationErrorGenerator.kt:93 */
        2410  +
    }
        2411  +
    /* ServerOperationErrorGenerator.kt:83 */
 1154   2412   
}
        2413  +
/* ServerOperationErrorGenerator.kt:100 */
 1155   2414   
impl ::std::error::Error for JsonListsError {
        2415  +
    /* ServerOperationErrorGenerator.kt:101 */
 1156   2416   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2417  +
        /* ServerOperationErrorGenerator.kt:139 */
 1157   2418   
        match &self {
 1158         -
            JsonListsError::ValidationException(_inner) => Some(_inner),
        2419  +
            /* ServerOperationErrorGenerator.kt:142 */
        2420  +
            JsonListsError::ValidationException(_inner) =>
        2421  +
            /* ServerOperationErrorGenerator.kt:103 */
        2422  +
            {
        2423  +
                Some(_inner)
        2424  +
            }
        2425  +
            /* ServerOperationErrorGenerator.kt:139 */
 1159   2426   
        }
        2427  +
        /* ServerOperationErrorGenerator.kt:101 */
 1160   2428   
    }
        2429  +
    /* ServerOperationErrorGenerator.kt:100 */
 1161   2430   
}
        2431  +
/* ServerOperationErrorGenerator.kt:110 */
 1162   2432   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonListsError {
        2433  +
    /* ServerOperationErrorGenerator.kt:111 */
 1163   2434   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonListsError {
        2435  +
        /* ServerOperationErrorGenerator.kt:112 */
 1164   2436   
        Self::ValidationException(variant)
        2437  +
        /* ServerOperationErrorGenerator.kt:111 */
 1165   2438   
    }
        2439  +
    /* ServerOperationErrorGenerator.kt:110 */
 1166   2440   
}
 1167   2441   
        2442  +
/* ServerOperationErrorGenerator.kt:63 */
 1168   2443   
/// Error type for the `JsonIntEnums` operation.
        2444  +
/* ServerOperationErrorGenerator.kt:64 */
 1169   2445   
/// Each variant represents an error that can occur for the `JsonIntEnums` operation.
        2446  +
/* RustType.kt:516 */
 1170   2447   
#[derive(::std::fmt::Debug)]
 1171         -
pub enum JsonIntEnumsError {
 1172         -
    /// 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.
        2448  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonIntEnumsError {
        2449  +
    /// /* 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.
        2450  +
    /* ServerOperationErrorGenerator.kt:71 */
 1173   2451   
    ValidationException(crate::error::ValidationException),
        2452  +
    /* ServerOperationErrorGenerator.kt:66 */
 1174   2453   
}
        2454  +
/* ServerOperationErrorGenerator.kt:75 */
 1175   2455   
impl ::std::fmt::Display for JsonIntEnumsError {
        2456  +
    /* ServerOperationErrorGenerator.kt:76 */
 1176   2457   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2458  +
        /* ServerOperationErrorGenerator.kt:139 */
 1177   2459   
        match &self {
 1178         -
            JsonIntEnumsError::ValidationException(_inner) => _inner.fmt(f),
        2460  +
            /* ServerOperationErrorGenerator.kt:142 */
        2461  +
            JsonIntEnumsError::ValidationException(_inner) =>
        2462  +
            /* ServerOperationErrorGenerator.kt:78 */
        2463  +
            {
        2464  +
                _inner.fmt(f)
        2465  +
            }
        2466  +
            /* ServerOperationErrorGenerator.kt:139 */
 1179   2467   
        }
        2468  +
        /* ServerOperationErrorGenerator.kt:76 */
 1180   2469   
    }
        2470  +
    /* ServerOperationErrorGenerator.kt:75 */
 1181   2471   
}
        2472  +
/* ServerOperationErrorGenerator.kt:83 */
 1182   2473   
impl JsonIntEnumsError {
        2474  +
    /* ServerOperationErrorGenerator.kt:87 */
 1183   2475   
    /// Returns `true` if the error kind is `JsonIntEnumsError::ValidationException`.
        2476  +
    /* ServerOperationErrorGenerator.kt:88 */
 1184   2477   
    pub fn is_validation_exception(&self) -> bool {
        2478  +
        /* ServerOperationErrorGenerator.kt:89 */
 1185   2479   
        matches!(&self, JsonIntEnumsError::ValidationException(_))
        2480  +
        /* ServerOperationErrorGenerator.kt:88 */
 1186   2481   
    }
        2482  +
    /* ServerOperationErrorGenerator.kt:92 */
 1187   2483   
    /// Returns the error name string by matching the correct variant.
        2484  +
    /* ServerOperationErrorGenerator.kt:93 */
 1188   2485   
    pub fn name(&self) -> &'static str {
        2486  +
        /* ServerOperationErrorGenerator.kt:139 */
 1189   2487   
        match &self {
 1190         -
            JsonIntEnumsError::ValidationException(_inner) => _inner.name(),
        2488  +
            /* ServerOperationErrorGenerator.kt:142 */
        2489  +
            JsonIntEnumsError::ValidationException(_inner) =>
        2490  +
            /* ServerOperationErrorGenerator.kt:95 */
        2491  +
            {
        2492  +
                _inner.name()
        2493  +
            }
        2494  +
            /* ServerOperationErrorGenerator.kt:139 */
 1191   2495   
        }
        2496  +
        /* ServerOperationErrorGenerator.kt:93 */
 1192   2497   
    }
        2498  +
    /* ServerOperationErrorGenerator.kt:83 */
 1193   2499   
}
        2500  +
/* ServerOperationErrorGenerator.kt:100 */
 1194   2501   
impl ::std::error::Error for JsonIntEnumsError {
        2502  +
    /* ServerOperationErrorGenerator.kt:101 */
 1195   2503   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2504  +
        /* ServerOperationErrorGenerator.kt:139 */
 1196   2505   
        match &self {
 1197         -
            JsonIntEnumsError::ValidationException(_inner) => Some(_inner),
        2506  +
            /* ServerOperationErrorGenerator.kt:142 */
        2507  +
            JsonIntEnumsError::ValidationException(_inner) =>
        2508  +
            /* ServerOperationErrorGenerator.kt:103 */
        2509  +
            {
        2510  +
                Some(_inner)
        2511  +
            }
        2512  +
            /* ServerOperationErrorGenerator.kt:139 */
 1198   2513   
        }
        2514  +
        /* ServerOperationErrorGenerator.kt:101 */
 1199   2515   
    }
        2516  +
    /* ServerOperationErrorGenerator.kt:100 */
 1200   2517   
}
        2518  +
/* ServerOperationErrorGenerator.kt:110 */
 1201   2519   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonIntEnumsError {
        2520  +
    /* ServerOperationErrorGenerator.kt:111 */
 1202   2521   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonIntEnumsError {
        2522  +
        /* ServerOperationErrorGenerator.kt:112 */
 1203   2523   
        Self::ValidationException(variant)
        2524  +
        /* ServerOperationErrorGenerator.kt:111 */
 1204   2525   
    }
        2526  +
    /* ServerOperationErrorGenerator.kt:110 */
 1205   2527   
}
 1206   2528   
        2529  +
/* ServerOperationErrorGenerator.kt:63 */
 1207   2530   
/// Error type for the `JsonEnums` operation.
        2531  +
/* ServerOperationErrorGenerator.kt:64 */
 1208   2532   
/// Each variant represents an error that can occur for the `JsonEnums` operation.
        2533  +
/* RustType.kt:516 */
 1209   2534   
#[derive(::std::fmt::Debug)]
 1210         -
pub enum JsonEnumsError {
 1211         -
    /// 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.
        2535  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum JsonEnumsError {
        2536  +
    /// /* 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.
        2537  +
    /* ServerOperationErrorGenerator.kt:71 */
 1212   2538   
    ValidationException(crate::error::ValidationException),
        2539  +
    /* ServerOperationErrorGenerator.kt:66 */
 1213   2540   
}
        2541  +
/* ServerOperationErrorGenerator.kt:75 */
 1214   2542   
impl ::std::fmt::Display for JsonEnumsError {
        2543  +
    /* ServerOperationErrorGenerator.kt:76 */
 1215   2544   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2545  +
        /* ServerOperationErrorGenerator.kt:139 */
 1216   2546   
        match &self {
 1217         -
            JsonEnumsError::ValidationException(_inner) => _inner.fmt(f),
        2547  +
            /* ServerOperationErrorGenerator.kt:142 */
        2548  +
            JsonEnumsError::ValidationException(_inner) =>
        2549  +
            /* ServerOperationErrorGenerator.kt:78 */
        2550  +
            {
        2551  +
                _inner.fmt(f)
        2552  +
            }
        2553  +
            /* ServerOperationErrorGenerator.kt:139 */
 1218   2554   
        }
        2555  +
        /* ServerOperationErrorGenerator.kt:76 */
 1219   2556   
    }
        2557  +
    /* ServerOperationErrorGenerator.kt:75 */
 1220   2558   
}
        2559  +
/* ServerOperationErrorGenerator.kt:83 */
 1221   2560   
impl JsonEnumsError {
        2561  +
    /* ServerOperationErrorGenerator.kt:87 */
 1222   2562   
    /// Returns `true` if the error kind is `JsonEnumsError::ValidationException`.
        2563  +
    /* ServerOperationErrorGenerator.kt:88 */
 1223   2564   
    pub fn is_validation_exception(&self) -> bool {
        2565  +
        /* ServerOperationErrorGenerator.kt:89 */
 1224   2566   
        matches!(&self, JsonEnumsError::ValidationException(_))
        2567  +
        /* ServerOperationErrorGenerator.kt:88 */
 1225   2568   
    }
        2569  +
    /* ServerOperationErrorGenerator.kt:92 */
 1226   2570   
    /// Returns the error name string by matching the correct variant.
        2571  +
    /* ServerOperationErrorGenerator.kt:93 */
 1227   2572   
    pub fn name(&self) -> &'static str {
        2573  +
        /* ServerOperationErrorGenerator.kt:139 */
 1228   2574   
        match &self {
 1229         -
            JsonEnumsError::ValidationException(_inner) => _inner.name(),
        2575  +
            /* ServerOperationErrorGenerator.kt:142 */
        2576  +
            JsonEnumsError::ValidationException(_inner) =>
        2577  +
            /* ServerOperationErrorGenerator.kt:95 */
        2578  +
            {
        2579  +
                _inner.name()
        2580  +
            }
        2581  +
            /* ServerOperationErrorGenerator.kt:139 */
 1230   2582   
        }
        2583  +
        /* ServerOperationErrorGenerator.kt:93 */
 1231   2584   
    }
        2585  +
    /* ServerOperationErrorGenerator.kt:83 */
 1232   2586   
}
        2587  +
/* ServerOperationErrorGenerator.kt:100 */
 1233   2588   
impl ::std::error::Error for JsonEnumsError {
        2589  +
    /* ServerOperationErrorGenerator.kt:101 */
 1234   2590   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2591  +
        /* ServerOperationErrorGenerator.kt:139 */
 1235   2592   
        match &self {
 1236         -
            JsonEnumsError::ValidationException(_inner) => Some(_inner),
        2593  +
            /* ServerOperationErrorGenerator.kt:142 */
        2594  +
            JsonEnumsError::ValidationException(_inner) =>
        2595  +
            /* ServerOperationErrorGenerator.kt:103 */
        2596  +
            {
        2597  +
                Some(_inner)
        2598  +
            }
        2599  +
            /* ServerOperationErrorGenerator.kt:139 */
 1237   2600   
        }
        2601  +
        /* ServerOperationErrorGenerator.kt:101 */
 1238   2602   
    }
        2603  +
    /* ServerOperationErrorGenerator.kt:100 */
 1239   2604   
}
        2605  +
/* ServerOperationErrorGenerator.kt:110 */
 1240   2606   
impl ::std::convert::From<crate::error::ValidationException> for crate::error::JsonEnumsError {
        2607  +
    /* ServerOperationErrorGenerator.kt:111 */
 1241   2608   
    fn from(variant: crate::error::ValidationException) -> crate::error::JsonEnumsError {
        2609  +
        /* ServerOperationErrorGenerator.kt:112 */
 1242   2610   
        Self::ValidationException(variant)
        2611  +
        /* ServerOperationErrorGenerator.kt:111 */
 1243   2612   
    }
        2613  +
    /* ServerOperationErrorGenerator.kt:110 */
 1244   2614   
}
 1245   2615   
        2616  +
/* ServerOperationErrorGenerator.kt:63 */
 1246   2617   
/// Error type for the `GreetingWithErrors` operation.
        2618  +
/* ServerOperationErrorGenerator.kt:64 */
 1247   2619   
/// Each variant represents an error that can occur for the `GreetingWithErrors` operation.
        2620  +
/* RustType.kt:516 */
 1248   2621   
#[derive(::std::fmt::Debug)]
 1249         -
pub enum GreetingWithErrorsError {
 1250         -
    /// This error is thrown when an invalid greeting value is provided.
        2622  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum GreetingWithErrorsError {
        2623  +
    /// /* ServerOperationErrorGenerator.kt:68 */This error is thrown when an invalid greeting value is provided.
        2624  +
    /* ServerOperationErrorGenerator.kt:71 */
 1251   2625   
    InvalidGreeting(crate::error::InvalidGreeting),
 1252         -
    /// This error is thrown when a request is invalid.
        2626  +
    /// /* ServerOperationErrorGenerator.kt:68 */This error is thrown when a request is invalid.
        2627  +
    /* ServerOperationErrorGenerator.kt:71 */
 1253   2628   
    ComplexError(crate::error::ComplexError),
 1254         -
    /// This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        2629  +
    /// /* ServerOperationErrorGenerator.kt:68 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        2630  +
    /* ServerOperationErrorGenerator.kt:71 */
 1255   2631   
    FooError(crate::error::FooError),
        2632  +
    /* ServerOperationErrorGenerator.kt:66 */
 1256   2633   
}
        2634  +
/* ServerOperationErrorGenerator.kt:75 */
 1257   2635   
impl ::std::fmt::Display for GreetingWithErrorsError {
        2636  +
    /* ServerOperationErrorGenerator.kt:76 */
 1258   2637   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2638  +
        /* ServerOperationErrorGenerator.kt:139 */
 1259   2639   
        match &self {
 1260         -
            GreetingWithErrorsError::InvalidGreeting(_inner) => _inner.fmt(f),
 1261         -
            GreetingWithErrorsError::ComplexError(_inner) => _inner.fmt(f),
 1262         -
            GreetingWithErrorsError::FooError(_inner) => _inner.fmt(f),
        2640  +
            /* ServerOperationErrorGenerator.kt:142 */
        2641  +
            GreetingWithErrorsError::InvalidGreeting(_inner) =>
        2642  +
            /* ServerOperationErrorGenerator.kt:78 */
        2643  +
            {
        2644  +
                _inner.fmt(f)
        2645  +
            }
        2646  +
            ,
        2647  +
            /* ServerOperationErrorGenerator.kt:142 */
        2648  +
            GreetingWithErrorsError::ComplexError(_inner) =>
        2649  +
            /* ServerOperationErrorGenerator.kt:78 */
        2650  +
            {
        2651  +
                _inner.fmt(f)
        2652  +
            }
        2653  +
            ,
        2654  +
            /* ServerOperationErrorGenerator.kt:142 */
        2655  +
            GreetingWithErrorsError::FooError(_inner) =>
        2656  +
            /* ServerOperationErrorGenerator.kt:78 */
        2657  +
            {
        2658  +
                _inner.fmt(f)
        2659  +
            }
        2660  +
            /* ServerOperationErrorGenerator.kt:139 */
 1263   2661   
        }
        2662  +
        /* ServerOperationErrorGenerator.kt:76 */
 1264   2663   
    }
        2664  +
    /* ServerOperationErrorGenerator.kt:75 */
 1265   2665   
}
        2666  +
/* ServerOperationErrorGenerator.kt:83 */
 1266   2667   
impl GreetingWithErrorsError {
        2668  +
    /* ServerOperationErrorGenerator.kt:87 */
 1267   2669   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::InvalidGreeting`.
        2670  +
    /* ServerOperationErrorGenerator.kt:88 */
 1268   2671   
    pub fn is_invalid_greeting(&self) -> bool {
        2672  +
        /* ServerOperationErrorGenerator.kt:89 */
 1269   2673   
        matches!(&self, GreetingWithErrorsError::InvalidGreeting(_))
        2674  +
        /* ServerOperationErrorGenerator.kt:88 */
 1270   2675   
    }
        2676  +
    /* ServerOperationErrorGenerator.kt:87 */
 1271   2677   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::ComplexError`.
        2678  +
    /* ServerOperationErrorGenerator.kt:88 */
 1272   2679   
    pub fn is_complex_error(&self) -> bool {
        2680  +
        /* ServerOperationErrorGenerator.kt:89 */
 1273   2681   
        matches!(&self, GreetingWithErrorsError::ComplexError(_))
        2682  +
        /* ServerOperationErrorGenerator.kt:88 */
 1274   2683   
    }
        2684  +
    /* ServerOperationErrorGenerator.kt:87 */
 1275   2685   
    /// Returns `true` if the error kind is `GreetingWithErrorsError::FooError`.
        2686  +
    /* ServerOperationErrorGenerator.kt:88 */
 1276   2687   
    pub fn is_foo_error(&self) -> bool {
        2688  +
        /* ServerOperationErrorGenerator.kt:89 */
 1277   2689   
        matches!(&self, GreetingWithErrorsError::FooError(_))
        2690  +
        /* ServerOperationErrorGenerator.kt:88 */
 1278   2691   
    }
        2692  +
    /* ServerOperationErrorGenerator.kt:92 */
 1279   2693   
    /// Returns the error name string by matching the correct variant.
        2694  +
    /* ServerOperationErrorGenerator.kt:93 */
 1280   2695   
    pub fn name(&self) -> &'static str {
        2696  +
        /* ServerOperationErrorGenerator.kt:139 */
 1281   2697   
        match &self {
 1282         -
            GreetingWithErrorsError::InvalidGreeting(_inner) => _inner.name(),
 1283         -
            GreetingWithErrorsError::ComplexError(_inner) => _inner.name(),
 1284         -
            GreetingWithErrorsError::FooError(_inner) => _inner.name(),
        2698  +
            /* ServerOperationErrorGenerator.kt:142 */
        2699  +
            GreetingWithErrorsError::InvalidGreeting(_inner) =>
        2700  +
            /* ServerOperationErrorGenerator.kt:95 */
        2701  +
            {
        2702  +
                _inner.name()
 1285   2703   
            }
        2704  +
            ,
        2705  +
            /* ServerOperationErrorGenerator.kt:142 */
        2706  +
            GreetingWithErrorsError::ComplexError(_inner) =>
        2707  +
            /* ServerOperationErrorGenerator.kt:95 */
        2708  +
            {
        2709  +
                _inner.name()
 1286   2710   
            }
        2711  +
            ,
        2712  +
            /* ServerOperationErrorGenerator.kt:142 */
        2713  +
            GreetingWithErrorsError::FooError(_inner) =>
        2714  +
            /* ServerOperationErrorGenerator.kt:95 */
        2715  +
            {
        2716  +
                _inner.name()
        2717  +
            }
        2718  +
            /* ServerOperationErrorGenerator.kt:139 */
        2719  +
        }
        2720  +
        /* ServerOperationErrorGenerator.kt:93 */
        2721  +
    }
        2722  +
    /* ServerOperationErrorGenerator.kt:83 */
 1287   2723   
}
        2724  +
/* ServerOperationErrorGenerator.kt:100 */
 1288   2725   
impl ::std::error::Error for GreetingWithErrorsError {
        2726  +
    /* ServerOperationErrorGenerator.kt:101 */
 1289   2727   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        2728  +
        /* ServerOperationErrorGenerator.kt:139 */
 1290   2729   
        match &self {
 1291         -
            GreetingWithErrorsError::InvalidGreeting(_inner) => Some(_inner),
 1292         -
            GreetingWithErrorsError::ComplexError(_inner) => Some(_inner),
 1293         -
            GreetingWithErrorsError::FooError(_inner) => Some(_inner),
        2730  +
            /* ServerOperationErrorGenerator.kt:142 */
        2731  +
            GreetingWithErrorsError::InvalidGreeting(_inner) =>
        2732  +
            /* ServerOperationErrorGenerator.kt:103 */
        2733  +
            {
        2734  +
                Some(_inner)
        2735  +
            }
        2736  +
            ,
        2737  +
            /* ServerOperationErrorGenerator.kt:142 */
        2738  +
            GreetingWithErrorsError::ComplexError(_inner) =>
        2739  +
            /* ServerOperationErrorGenerator.kt:103 */
        2740  +
            {
        2741  +
                Some(_inner)
        2742  +
            }
        2743  +
            ,
        2744  +
            /* ServerOperationErrorGenerator.kt:142 */
        2745  +
            GreetingWithErrorsError::FooError(_inner) =>
        2746  +
            /* ServerOperationErrorGenerator.kt:103 */
        2747  +
            {
        2748  +
                Some(_inner)
 1294   2749   
            }
        2750  +
            /* ServerOperationErrorGenerator.kt:139 */
 1295   2751   
        }
        2752  +
        /* ServerOperationErrorGenerator.kt:101 */
        2753  +
    }
        2754  +
    /* ServerOperationErrorGenerator.kt:100 */
 1296   2755   
}
        2756  +
/* ServerOperationErrorGenerator.kt:110 */
 1297   2757   
impl ::std::convert::From<crate::error::InvalidGreeting> for crate::error::GreetingWithErrorsError {
        2758  +
    /* ServerOperationErrorGenerator.kt:111 */
 1298   2759   
    fn from(variant: crate::error::InvalidGreeting) -> crate::error::GreetingWithErrorsError {
        2760  +
        /* ServerOperationErrorGenerator.kt:112 */
 1299   2761   
        Self::InvalidGreeting(variant)
        2762  +
        /* ServerOperationErrorGenerator.kt:111 */
 1300   2763   
    }
        2764  +
    /* ServerOperationErrorGenerator.kt:110 */
 1301   2765   
}
        2766  +
/* ServerOperationErrorGenerator.kt:110 */
 1302   2767   
impl ::std::convert::From<crate::error::ComplexError> for crate::error::GreetingWithErrorsError {
        2768  +
    /* ServerOperationErrorGenerator.kt:111 */
 1303   2769   
    fn from(variant: crate::error::ComplexError) -> crate::error::GreetingWithErrorsError {
        2770  +
        /* ServerOperationErrorGenerator.kt:112 */
 1304   2771   
        Self::ComplexError(variant)
        2772  +
        /* ServerOperationErrorGenerator.kt:111 */
 1305   2773   
    }
        2774  +
    /* ServerOperationErrorGenerator.kt:110 */
 1306   2775   
}
        2776  +
/* ServerOperationErrorGenerator.kt:110 */
 1307   2777   
impl ::std::convert::From<crate::error::FooError> for crate::error::GreetingWithErrorsError {
        2778  +
    /* ServerOperationErrorGenerator.kt:111 */
 1308   2779   
    fn from(variant: crate::error::FooError) -> crate::error::GreetingWithErrorsError {
        2780  +
        /* ServerOperationErrorGenerator.kt:112 */
 1309   2781   
        Self::FooError(variant)
        2782  +
        /* ServerOperationErrorGenerator.kt:111 */
 1310   2783   
    }
        2784  +
    /* ServerOperationErrorGenerator.kt:110 */
 1311   2785   
}
 1312   2786   
 1313         -
/// This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        2787  +
/// /* StructureGenerator.kt:197 */This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
        2788  +
/* RustType.kt:516 */
 1314   2789   
#[derive(
 1315   2790   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1316   2791   
)]
 1317         -
pub struct FooError {}
        2792  +
pub /* StructureGenerator.kt:201 */ struct FooError {/* StructureGenerator.kt:201 */}
        2793  +
/* ErrorImplGenerator.kt:99 */
 1318   2794   
impl FooError {
        2795  +
    /* ErrorImplGenerator.kt:141 */
 1319   2796   
    #[doc(hidden)]
 1320   2797   
    /// Returns the error name.
 1321   2798   
    pub fn name(&self) -> &'static str {
 1322   2799   
        "FooError"
 1323   2800   
    }
        2801  +
    /* ErrorImplGenerator.kt:99 */
 1324   2802   
}
        2803  +
/* ErrorImplGenerator.kt:153 */
 1325   2804   
impl ::std::fmt::Display for FooError {
        2805  +
    /* ErrorImplGenerator.kt:154 */
 1326   2806   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2807  +
        /* ErrorImplGenerator.kt:161 */
 1327   2808   
        ::std::write!(f, "FooError")?;
        2809  +
        /* ErrorImplGenerator.kt:171 */
 1328   2810   
        Ok(())
        2811  +
        /* ErrorImplGenerator.kt:154 */
 1329   2812   
    }
        2813  +
    /* ErrorImplGenerator.kt:153 */
 1330   2814   
}
        2815  +
/* ErrorImplGenerator.kt:175 */
 1331   2816   
impl ::std::error::Error for FooError {}
        2817  +
/* ServerCodegenVisitor.kt:345 */
 1332   2818   
impl FooError {
 1333         -
    /// Creates a new builder-style object to manufacture [`FooError`](crate::error::FooError).
        2819  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`FooError`](crate::error::FooError).
        2820  +
    /* ServerBuilderGenerator.kt:295 */
 1334   2821   
    pub fn builder() -> crate::error::foo_error::Builder {
        2822  +
        /* ServerBuilderGenerator.kt:296 */
 1335   2823   
        crate::error::foo_error::Builder::default()
        2824  +
        /* ServerBuilderGenerator.kt:295 */
 1336   2825   
    }
        2826  +
    /* ServerCodegenVisitor.kt:345 */
 1337   2827   
}
 1338   2828   
 1339         -
/// This error is thrown when a request is invalid.
        2829  +
/// /* StructureGenerator.kt:197 */This error is thrown when a request is invalid.
        2830  +
/* RustType.kt:516 */
 1340   2831   
#[derive(
 1341   2832   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1342   2833   
)]
 1343         -
pub struct ComplexError {
        2834  +
pub /* StructureGenerator.kt:201 */ struct ComplexError {
        2835  +
    /* StructureGenerator.kt:231 */
 1344   2836   
    #[allow(missing_docs)] // documentation missing in model
 1345   2837   
    pub header: ::std::option::Option<::std::string::String>,
        2838  +
    /* StructureGenerator.kt:231 */
 1346   2839   
    #[allow(missing_docs)] // documentation missing in model
 1347   2840   
    pub top_level: ::std::option::Option<::std::string::String>,
        2841  +
    /* StructureGenerator.kt:231 */
 1348   2842   
    #[allow(missing_docs)] // documentation missing in model
 1349   2843   
    pub nested: ::std::option::Option<crate::model::ComplexNestedErrorData>,
        2844  +
    /* StructureGenerator.kt:201 */
 1350   2845   
}
        2846  +
/* StructureGenerator.kt:135 */
 1351   2847   
impl ComplexError {
        2848  +
    /* StructureGenerator.kt:231 */
 1352   2849   
    #[allow(missing_docs)] // documentation missing in model
        2850  +
                           /* StructureGenerator.kt:166 */
 1353   2851   
    pub fn header(&self) -> ::std::option::Option<&str> {
        2852  +
        /* StructureGenerator.kt:169 */
 1354   2853   
        self.header.as_deref()
        2854  +
        /* StructureGenerator.kt:166 */
 1355   2855   
    }
        2856  +
    /* StructureGenerator.kt:231 */
 1356   2857   
    #[allow(missing_docs)] // documentation missing in model
        2858  +
                           /* StructureGenerator.kt:166 */
 1357   2859   
    pub fn top_level(&self) -> ::std::option::Option<&str> {
        2860  +
        /* StructureGenerator.kt:169 */
 1358   2861   
        self.top_level.as_deref()
        2862  +
        /* StructureGenerator.kt:166 */
 1359   2863   
    }
        2864  +
    /* StructureGenerator.kt:231 */
 1360   2865   
    #[allow(missing_docs)] // documentation missing in model
        2866  +
                           /* StructureGenerator.kt:166 */
 1361   2867   
    pub fn nested(&self) -> ::std::option::Option<&crate::model::ComplexNestedErrorData> {
        2868  +
        /* StructureGenerator.kt:170 */
 1362   2869   
        self.nested.as_ref()
        2870  +
        /* StructureGenerator.kt:166 */
 1363   2871   
    }
        2872  +
    /* StructureGenerator.kt:135 */
 1364   2873   
}
        2874  +
/* ErrorImplGenerator.kt:99 */
 1365   2875   
impl ComplexError {
        2876  +
    /* ErrorImplGenerator.kt:141 */
 1366   2877   
    #[doc(hidden)]
 1367   2878   
    /// Returns the error name.
 1368   2879   
    pub fn name(&self) -> &'static str {
 1369   2880   
        "ComplexError"
 1370   2881   
    }
        2882  +
    /* ErrorImplGenerator.kt:99 */
 1371   2883   
}
        2884  +
/* ErrorImplGenerator.kt:153 */
 1372   2885   
impl ::std::fmt::Display for ComplexError {
        2886  +
    /* ErrorImplGenerator.kt:154 */
 1373   2887   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2888  +
        /* ErrorImplGenerator.kt:161 */
 1374   2889   
        ::std::write!(f, "ComplexError")?;
        2890  +
        /* ErrorImplGenerator.kt:171 */
 1375   2891   
        Ok(())
        2892  +
        /* ErrorImplGenerator.kt:154 */
 1376   2893   
    }
        2894  +
    /* ErrorImplGenerator.kt:153 */
 1377   2895   
}
        2896  +
/* ErrorImplGenerator.kt:175 */
 1378   2897   
impl ::std::error::Error for ComplexError {}
        2898  +
/* ServerCodegenVisitor.kt:345 */
 1379   2899   
impl ComplexError {
 1380         -
    /// Creates a new builder-style object to manufacture [`ComplexError`](crate::error::ComplexError).
        2900  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`ComplexError`](crate::error::ComplexError).
        2901  +
    /* ServerBuilderGenerator.kt:295 */
 1381   2902   
    pub fn builder() -> crate::error::complex_error::Builder {
        2903  +
        /* ServerBuilderGenerator.kt:296 */
 1382   2904   
        crate::error::complex_error::Builder::default()
        2905  +
        /* ServerBuilderGenerator.kt:295 */
 1383   2906   
    }
        2907  +
    /* ServerCodegenVisitor.kt:345 */
 1384   2908   
}
 1385   2909   
 1386         -
/// This error is thrown when an invalid greeting value is provided.
        2910  +
/// /* StructureGenerator.kt:197 */This error is thrown when an invalid greeting value is provided.
        2911  +
/* RustType.kt:516 */
 1387   2912   
#[derive(
 1388   2913   
    ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
 1389   2914   
)]
 1390         -
pub struct InvalidGreeting {
        2915  +
pub /* StructureGenerator.kt:201 */ struct InvalidGreeting {
        2916  +
    /* StructureGenerator.kt:231 */
 1391   2917   
    #[allow(missing_docs)] // documentation missing in model
 1392   2918   
    pub message: ::std::option::Option<::std::string::String>,
        2919  +
    /* StructureGenerator.kt:201 */
 1393   2920   
}
        2921  +
/* ErrorImplGenerator.kt:99 */
 1394   2922   
impl InvalidGreeting {
        2923  +
    /* ErrorImplGenerator.kt:128 */
 1395   2924   
    /// Returns the error message.
 1396   2925   
    pub fn message(&self) -> ::std::option::Option<&str> {
 1397   2926   
        self.message.as_deref()
 1398   2927   
    }
        2928  +
    /* ErrorImplGenerator.kt:141 */
 1399   2929   
    #[doc(hidden)]
 1400   2930   
    /// Returns the error name.
 1401   2931   
    pub fn name(&self) -> &'static str {
 1402   2932   
        "InvalidGreeting"
 1403   2933   
    }
        2934  +
    /* ErrorImplGenerator.kt:99 */
 1404   2935   
}
        2936  +
/* ErrorImplGenerator.kt:153 */
 1405   2937   
impl ::std::fmt::Display for InvalidGreeting {
        2938  +
    /* ErrorImplGenerator.kt:154 */
 1406   2939   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2940  +
        /* ErrorImplGenerator.kt:161 */
 1407   2941   
        ::std::write!(f, "InvalidGreeting")?;
        2942  +
        /* ErrorImplGenerator.kt:166 */
 1408   2943   
        if let ::std::option::Option::Some(inner_1) = &self.message {
        2944  +
            /* ErrorImplGenerator.kt:166 */
 1409   2945   
            {
        2946  +
                /* ErrorImplGenerator.kt:167 */
 1410   2947   
                ::std::write!(f, ": {}", inner_1)?;
        2948  +
                /* ErrorImplGenerator.kt:166 */
 1411   2949   
            }
        2950  +
            /* ErrorImplGenerator.kt:166 */
 1412   2951   
        }
        2952  +
        /* ErrorImplGenerator.kt:171 */
 1413   2953   
        Ok(())
        2954  +
        /* ErrorImplGenerator.kt:154 */
 1414   2955   
    }
        2956  +
    /* ErrorImplGenerator.kt:153 */
 1415   2957   
}
        2958  +
/* ErrorImplGenerator.kt:175 */
 1416   2959   
impl ::std::error::Error for InvalidGreeting {}
        2960  +
/* ServerCodegenVisitor.kt:345 */
 1417   2961   
impl InvalidGreeting {
 1418         -
    /// Creates a new builder-style object to manufacture [`InvalidGreeting`](crate::error::InvalidGreeting).
        2962  +
    /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`InvalidGreeting`](crate::error::InvalidGreeting).
        2963  +
    /* ServerBuilderGenerator.kt:295 */
 1419   2964   
    pub fn builder() -> crate::error::invalid_greeting::Builder {
        2965  +
        /* ServerBuilderGenerator.kt:296 */
 1420   2966   
        crate::error::invalid_greeting::Builder::default()
        2967  +
        /* ServerBuilderGenerator.kt:295 */
 1421   2968   
    }
        2969  +
    /* ServerCodegenVisitor.kt:345 */
 1422   2970   
}
 1423   2971   
        2972  +
/* ServerOperationErrorGenerator.kt:63 */
 1424   2973   
/// Error type for the `HttpEnumPayload` operation.
        2974  +
/* ServerOperationErrorGenerator.kt:64 */
 1425   2975   
/// Each variant represents an error that can occur for the `HttpEnumPayload` operation.
        2976  +
/* RustType.kt:516 */
 1426   2977   
#[derive(::std::fmt::Debug)]
 1427         -
pub enum HttpEnumPayloadError {
 1428         -
    /// 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.
        2978  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpEnumPayloadError {
        2979  +
    /// /* 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.
        2980  +
    /* ServerOperationErrorGenerator.kt:71 */
 1429   2981   
    ValidationException(crate::error::ValidationException),
        2982  +
    /* ServerOperationErrorGenerator.kt:66 */
 1430   2983   
}
        2984  +
/* ServerOperationErrorGenerator.kt:75 */
 1431   2985   
impl ::std::fmt::Display for HttpEnumPayloadError {
        2986  +
    /* ServerOperationErrorGenerator.kt:76 */
 1432   2987   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        2988  +
        /* ServerOperationErrorGenerator.kt:139 */
 1433   2989   
        match &self {
 1434         -
            HttpEnumPayloadError::ValidationException(_inner) => _inner.fmt(f),
        2990  +
            /* ServerOperationErrorGenerator.kt:142 */
        2991  +
            HttpEnumPayloadError::ValidationException(_inner) =>
        2992  +
            /* ServerOperationErrorGenerator.kt:78 */
        2993  +
            {
        2994  +
                _inner.fmt(f)
 1435   2995   
            }
        2996  +
            /* ServerOperationErrorGenerator.kt:139 */
 1436   2997   
        }
        2998  +
        /* ServerOperationErrorGenerator.kt:76 */
        2999  +
    }
        3000  +
    /* ServerOperationErrorGenerator.kt:75 */
 1437   3001   
}
        3002  +
/* ServerOperationErrorGenerator.kt:83 */
 1438   3003   
impl HttpEnumPayloadError {
        3004  +
    /* ServerOperationErrorGenerator.kt:87 */
 1439   3005   
    /// Returns `true` if the error kind is `HttpEnumPayloadError::ValidationException`.
        3006  +
    /* ServerOperationErrorGenerator.kt:88 */
 1440   3007   
    pub fn is_validation_exception(&self) -> bool {
        3008  +
        /* ServerOperationErrorGenerator.kt:89 */
 1441   3009   
        matches!(&self, HttpEnumPayloadError::ValidationException(_))
        3010  +
        /* ServerOperationErrorGenerator.kt:88 */
 1442   3011   
    }
        3012  +
    /* ServerOperationErrorGenerator.kt:92 */
 1443   3013   
    /// Returns the error name string by matching the correct variant.
        3014  +
    /* ServerOperationErrorGenerator.kt:93 */
 1444   3015   
    pub fn name(&self) -> &'static str {
        3016  +
        /* ServerOperationErrorGenerator.kt:139 */
 1445   3017   
        match &self {
 1446         -
            HttpEnumPayloadError::ValidationException(_inner) => _inner.name(),
        3018  +
            /* ServerOperationErrorGenerator.kt:142 */
        3019  +
            HttpEnumPayloadError::ValidationException(_inner) =>
        3020  +
            /* ServerOperationErrorGenerator.kt:95 */
        3021  +
            {
        3022  +
                _inner.name()
 1447   3023   
            }
        3024  +
            /* ServerOperationErrorGenerator.kt:139 */
 1448   3025   
        }
        3026  +
        /* ServerOperationErrorGenerator.kt:93 */
        3027  +
    }
        3028  +
    /* ServerOperationErrorGenerator.kt:83 */
 1449   3029   
}
        3030  +
/* ServerOperationErrorGenerator.kt:100 */
 1450   3031   
impl ::std::error::Error for HttpEnumPayloadError {
        3032  +
    /* ServerOperationErrorGenerator.kt:101 */
 1451   3033   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3034  +
        /* ServerOperationErrorGenerator.kt:139 */
 1452   3035   
        match &self {
 1453         -
            HttpEnumPayloadError::ValidationException(_inner) => Some(_inner),
        3036  +
            /* ServerOperationErrorGenerator.kt:142 */
        3037  +
            HttpEnumPayloadError::ValidationException(_inner) =>
        3038  +
            /* ServerOperationErrorGenerator.kt:103 */
        3039  +
            {
        3040  +
                Some(_inner)
 1454   3041   
            }
        3042  +
            /* ServerOperationErrorGenerator.kt:139 */
 1455   3043   
        }
        3044  +
        /* ServerOperationErrorGenerator.kt:101 */
        3045  +
    }
        3046  +
    /* ServerOperationErrorGenerator.kt:100 */
 1456   3047   
}
        3048  +
/* ServerOperationErrorGenerator.kt:110 */
 1457   3049   
impl ::std::convert::From<crate::error::ValidationException>
 1458   3050   
    for crate::error::HttpEnumPayloadError
 1459   3051   
{
        3052  +
    /* ServerOperationErrorGenerator.kt:111 */
 1460   3053   
    fn from(variant: crate::error::ValidationException) -> crate::error::HttpEnumPayloadError {
        3054  +
        /* ServerOperationErrorGenerator.kt:112 */
 1461   3055   
        Self::ValidationException(variant)
        3056  +
        /* ServerOperationErrorGenerator.kt:111 */
 1462   3057   
    }
        3058  +
    /* ServerOperationErrorGenerator.kt:110 */
 1463   3059   
}
 1464   3060   
        3061  +
/* ServerOperationErrorGenerator.kt:63 */
 1465   3062   
/// Error type for the `OmitsSerializingEmptyLists` operation.
        3063  +
/* ServerOperationErrorGenerator.kt:64 */
 1466   3064   
/// Each variant represents an error that can occur for the `OmitsSerializingEmptyLists` operation.
        3065  +
/* RustType.kt:516 */
 1467   3066   
#[derive(::std::fmt::Debug)]
 1468         -
pub enum OmitsSerializingEmptyListsError {
 1469         -
    /// 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.
        3067  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum OmitsSerializingEmptyListsError {
        3068  +
    /// /* 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.
        3069  +
    /* ServerOperationErrorGenerator.kt:71 */
 1470   3070   
    ValidationException(crate::error::ValidationException),
        3071  +
    /* ServerOperationErrorGenerator.kt:66 */
 1471   3072   
}
        3073  +
/* ServerOperationErrorGenerator.kt:75 */
 1472   3074   
impl ::std::fmt::Display for OmitsSerializingEmptyListsError {
        3075  +
    /* ServerOperationErrorGenerator.kt:76 */
 1473   3076   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3077  +
        /* ServerOperationErrorGenerator.kt:139 */
 1474   3078   
        match &self {
 1475         -
            OmitsSerializingEmptyListsError::ValidationException(_inner) => _inner.fmt(f),
        3079  +
            /* ServerOperationErrorGenerator.kt:142 */
        3080  +
            OmitsSerializingEmptyListsError::ValidationException(_inner) =>
        3081  +
            /* ServerOperationErrorGenerator.kt:78 */
        3082  +
            {
        3083  +
                _inner.fmt(f)
 1476   3084   
            }
        3085  +
            /* ServerOperationErrorGenerator.kt:139 */
 1477   3086   
        }
        3087  +
        /* ServerOperationErrorGenerator.kt:76 */
        3088  +
    }
        3089  +
    /* ServerOperationErrorGenerator.kt:75 */
 1478   3090   
}
        3091  +
/* ServerOperationErrorGenerator.kt:83 */
 1479   3092   
impl OmitsSerializingEmptyListsError {
        3093  +
    /* ServerOperationErrorGenerator.kt:87 */
 1480   3094   
    /// Returns `true` if the error kind is `OmitsSerializingEmptyListsError::ValidationException`.
        3095  +
    /* ServerOperationErrorGenerator.kt:88 */
 1481   3096   
    pub fn is_validation_exception(&self) -> bool {
        3097  +
        /* ServerOperationErrorGenerator.kt:89 */
 1482   3098   
        matches!(
 1483   3099   
            &self,
 1484   3100   
            OmitsSerializingEmptyListsError::ValidationException(_)
 1485   3101   
        )
        3102  +
        /* ServerOperationErrorGenerator.kt:88 */
 1486   3103   
    }
        3104  +
    /* ServerOperationErrorGenerator.kt:92 */
 1487   3105   
    /// Returns the error name string by matching the correct variant.
        3106  +
    /* ServerOperationErrorGenerator.kt:93 */
 1488   3107   
    pub fn name(&self) -> &'static str {
        3108  +
        /* ServerOperationErrorGenerator.kt:139 */
 1489   3109   
        match &self {
 1490         -
            OmitsSerializingEmptyListsError::ValidationException(_inner) => _inner.name(),
        3110  +
            /* ServerOperationErrorGenerator.kt:142 */
        3111  +
            OmitsSerializingEmptyListsError::ValidationException(_inner) =>
        3112  +
            /* ServerOperationErrorGenerator.kt:95 */
        3113  +
            {
        3114  +
                _inner.name()
 1491   3115   
            }
        3116  +
            /* ServerOperationErrorGenerator.kt:139 */
 1492   3117   
        }
        3118  +
        /* ServerOperationErrorGenerator.kt:93 */
        3119  +
    }
        3120  +
    /* ServerOperationErrorGenerator.kt:83 */
 1493   3121   
}
        3122  +
/* ServerOperationErrorGenerator.kt:100 */
 1494   3123   
impl ::std::error::Error for OmitsSerializingEmptyListsError {
        3124  +
    /* ServerOperationErrorGenerator.kt:101 */
 1495   3125   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3126  +
        /* ServerOperationErrorGenerator.kt:139 */
 1496   3127   
        match &self {
 1497         -
            OmitsSerializingEmptyListsError::ValidationException(_inner) => Some(_inner),
        3128  +
            /* ServerOperationErrorGenerator.kt:142 */
        3129  +
            OmitsSerializingEmptyListsError::ValidationException(_inner) =>
        3130  +
            /* ServerOperationErrorGenerator.kt:103 */
        3131  +
            {
        3132  +
                Some(_inner)
 1498   3133   
            }
        3134  +
            /* ServerOperationErrorGenerator.kt:139 */
 1499   3135   
        }
        3136  +
        /* ServerOperationErrorGenerator.kt:101 */
        3137  +
    }
        3138  +
    /* ServerOperationErrorGenerator.kt:100 */
 1500   3139   
}
        3140  +
/* ServerOperationErrorGenerator.kt:110 */
 1501   3141   
impl ::std::convert::From<crate::error::ValidationException>
 1502   3142   
    for crate::error::OmitsSerializingEmptyListsError
 1503   3143   
{
        3144  +
    /* ServerOperationErrorGenerator.kt:111 */
 1504   3145   
    fn from(
 1505   3146   
        variant: crate::error::ValidationException,
 1506   3147   
    ) -> crate::error::OmitsSerializingEmptyListsError {
        3148  +
        /* ServerOperationErrorGenerator.kt:112 */
 1507   3149   
        Self::ValidationException(variant)
        3150  +
        /* ServerOperationErrorGenerator.kt:111 */
 1508   3151   
    }
        3152  +
    /* ServerOperationErrorGenerator.kt:110 */
 1509   3153   
}
 1510   3154   
        3155  +
/* ServerOperationErrorGenerator.kt:63 */
 1511   3156   
/// Error type for the `ConstantQueryString` operation.
        3157  +
/* ServerOperationErrorGenerator.kt:64 */
 1512   3158   
/// Each variant represents an error that can occur for the `ConstantQueryString` operation.
        3159  +
/* RustType.kt:516 */
 1513   3160   
#[derive(::std::fmt::Debug)]
 1514         -
pub enum ConstantQueryStringError {
 1515         -
    /// 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.
        3161  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum ConstantQueryStringError {
        3162  +
    /// /* 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.
        3163  +
    /* ServerOperationErrorGenerator.kt:71 */
 1516   3164   
    ValidationException(crate::error::ValidationException),
        3165  +
    /* ServerOperationErrorGenerator.kt:66 */
 1517   3166   
}
        3167  +
/* ServerOperationErrorGenerator.kt:75 */
 1518   3168   
impl ::std::fmt::Display for ConstantQueryStringError {
        3169  +
    /* ServerOperationErrorGenerator.kt:76 */
 1519   3170   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3171  +
        /* ServerOperationErrorGenerator.kt:139 */
 1520   3172   
        match &self {
 1521         -
            ConstantQueryStringError::ValidationException(_inner) => _inner.fmt(f),
        3173  +
            /* ServerOperationErrorGenerator.kt:142 */
        3174  +
            ConstantQueryStringError::ValidationException(_inner) =>
        3175  +
            /* ServerOperationErrorGenerator.kt:78 */
        3176  +
            {
        3177  +
                _inner.fmt(f)
 1522   3178   
            }
        3179  +
            /* ServerOperationErrorGenerator.kt:139 */
 1523   3180   
        }
        3181  +
        /* ServerOperationErrorGenerator.kt:76 */
        3182  +
    }
        3183  +
    /* ServerOperationErrorGenerator.kt:75 */
 1524   3184   
}
        3185  +
/* ServerOperationErrorGenerator.kt:83 */
 1525   3186   
impl ConstantQueryStringError {
        3187  +
    /* ServerOperationErrorGenerator.kt:87 */
 1526   3188   
    /// Returns `true` if the error kind is `ConstantQueryStringError::ValidationException`.
        3189  +
    /* ServerOperationErrorGenerator.kt:88 */
 1527   3190   
    pub fn is_validation_exception(&self) -> bool {
        3191  +
        /* ServerOperationErrorGenerator.kt:89 */
 1528   3192   
        matches!(&self, ConstantQueryStringError::ValidationException(_))
        3193  +
        /* ServerOperationErrorGenerator.kt:88 */
 1529   3194   
    }
        3195  +
    /* ServerOperationErrorGenerator.kt:92 */
 1530   3196   
    /// Returns the error name string by matching the correct variant.
        3197  +
    /* ServerOperationErrorGenerator.kt:93 */
 1531   3198   
    pub fn name(&self) -> &'static str {
        3199  +
        /* ServerOperationErrorGenerator.kt:139 */
 1532   3200   
        match &self {
 1533         -
            ConstantQueryStringError::ValidationException(_inner) => _inner.name(),
        3201  +
            /* ServerOperationErrorGenerator.kt:142 */
        3202  +
            ConstantQueryStringError::ValidationException(_inner) =>
        3203  +
            /* ServerOperationErrorGenerator.kt:95 */
        3204  +
            {
        3205  +
                _inner.name()
        3206  +
            }
        3207  +
            /* ServerOperationErrorGenerator.kt:139 */
 1534   3208   
        }
        3209  +
        /* ServerOperationErrorGenerator.kt:93 */
 1535   3210   
    }
        3211  +
    /* ServerOperationErrorGenerator.kt:83 */
 1536   3212   
}
        3213  +
/* ServerOperationErrorGenerator.kt:100 */
 1537   3214   
impl ::std::error::Error for ConstantQueryStringError {
        3215  +
    /* ServerOperationErrorGenerator.kt:101 */
 1538   3216   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3217  +
        /* ServerOperationErrorGenerator.kt:139 */
 1539   3218   
        match &self {
 1540         -
            ConstantQueryStringError::ValidationException(_inner) => Some(_inner),
        3219  +
            /* ServerOperationErrorGenerator.kt:142 */
        3220  +
            ConstantQueryStringError::ValidationException(_inner) =>
        3221  +
            /* ServerOperationErrorGenerator.kt:103 */
        3222  +
            {
        3223  +
                Some(_inner)
        3224  +
            }
        3225  +
            /* ServerOperationErrorGenerator.kt:139 */
 1541   3226   
        }
        3227  +
        /* ServerOperationErrorGenerator.kt:101 */
 1542   3228   
    }
        3229  +
    /* ServerOperationErrorGenerator.kt:100 */
 1543   3230   
}
        3231  +
/* ServerOperationErrorGenerator.kt:110 */
 1544   3232   
impl ::std::convert::From<crate::error::ValidationException>
 1545   3233   
    for crate::error::ConstantQueryStringError
 1546   3234   
{
        3235  +
    /* ServerOperationErrorGenerator.kt:111 */
 1547   3236   
    fn from(variant: crate::error::ValidationException) -> crate::error::ConstantQueryStringError {
        3237  +
        /* ServerOperationErrorGenerator.kt:112 */
 1548   3238   
        Self::ValidationException(variant)
        3239  +
        /* ServerOperationErrorGenerator.kt:111 */
 1549   3240   
    }
        3241  +
    /* ServerOperationErrorGenerator.kt:110 */
 1550   3242   
}
 1551   3243   
        3244  +
/* ServerOperationErrorGenerator.kt:63 */
 1552   3245   
/// Error type for the `AllQueryStringTypes` operation.
        3246  +
/* ServerOperationErrorGenerator.kt:64 */
 1553   3247   
/// Each variant represents an error that can occur for the `AllQueryStringTypes` operation.
        3248  +
/* RustType.kt:516 */
 1554   3249   
#[derive(::std::fmt::Debug)]
 1555         -
pub enum AllQueryStringTypesError {
 1556         -
    /// 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.
        3250  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum AllQueryStringTypesError {
        3251  +
    /// /* 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.
        3252  +
    /* ServerOperationErrorGenerator.kt:71 */
 1557   3253   
    ValidationException(crate::error::ValidationException),
        3254  +
    /* ServerOperationErrorGenerator.kt:66 */
 1558   3255   
}
        3256  +
/* ServerOperationErrorGenerator.kt:75 */
 1559   3257   
impl ::std::fmt::Display for AllQueryStringTypesError {
        3258  +
    /* ServerOperationErrorGenerator.kt:76 */
 1560   3259   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3260  +
        /* ServerOperationErrorGenerator.kt:139 */
 1561   3261   
        match &self {
 1562         -
            AllQueryStringTypesError::ValidationException(_inner) => _inner.fmt(f),
        3262  +
            /* ServerOperationErrorGenerator.kt:142 */
        3263  +
            AllQueryStringTypesError::ValidationException(_inner) =>
        3264  +
            /* ServerOperationErrorGenerator.kt:78 */
        3265  +
            {
        3266  +
                _inner.fmt(f)
        3267  +
            }
        3268  +
            /* ServerOperationErrorGenerator.kt:139 */
 1563   3269   
        }
        3270  +
        /* ServerOperationErrorGenerator.kt:76 */
 1564   3271   
    }
        3272  +
    /* ServerOperationErrorGenerator.kt:75 */
 1565   3273   
}
        3274  +
/* ServerOperationErrorGenerator.kt:83 */
 1566   3275   
impl AllQueryStringTypesError {
        3276  +
    /* ServerOperationErrorGenerator.kt:87 */
 1567   3277   
    /// Returns `true` if the error kind is `AllQueryStringTypesError::ValidationException`.
        3278  +
    /* ServerOperationErrorGenerator.kt:88 */
 1568   3279   
    pub fn is_validation_exception(&self) -> bool {
        3280  +
        /* ServerOperationErrorGenerator.kt:89 */
 1569   3281   
        matches!(&self, AllQueryStringTypesError::ValidationException(_))
        3282  +
        /* ServerOperationErrorGenerator.kt:88 */
 1570   3283   
    }
        3284  +
    /* ServerOperationErrorGenerator.kt:92 */
 1571   3285   
    /// Returns the error name string by matching the correct variant.
        3286  +
    /* ServerOperationErrorGenerator.kt:93 */
 1572   3287   
    pub fn name(&self) -> &'static str {
        3288  +
        /* ServerOperationErrorGenerator.kt:139 */
 1573   3289   
        match &self {
 1574         -
            AllQueryStringTypesError::ValidationException(_inner) => _inner.name(),
        3290  +
            /* ServerOperationErrorGenerator.kt:142 */
        3291  +
            AllQueryStringTypesError::ValidationException(_inner) =>
        3292  +
            /* ServerOperationErrorGenerator.kt:95 */
        3293  +
            {
        3294  +
                _inner.name()
        3295  +
            }
        3296  +
            /* ServerOperationErrorGenerator.kt:139 */
 1575   3297   
        }
        3298  +
        /* ServerOperationErrorGenerator.kt:93 */
 1576   3299   
    }
        3300  +
    /* ServerOperationErrorGenerator.kt:83 */
 1577   3301   
}
        3302  +
/* ServerOperationErrorGenerator.kt:100 */
 1578   3303   
impl ::std::error::Error for AllQueryStringTypesError {
        3304  +
    /* ServerOperationErrorGenerator.kt:101 */
 1579   3305   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3306  +
        /* ServerOperationErrorGenerator.kt:139 */
 1580   3307   
        match &self {
 1581         -
            AllQueryStringTypesError::ValidationException(_inner) => Some(_inner),
        3308  +
            /* ServerOperationErrorGenerator.kt:142 */
        3309  +
            AllQueryStringTypesError::ValidationException(_inner) =>
        3310  +
            /* ServerOperationErrorGenerator.kt:103 */
        3311  +
            {
        3312  +
                Some(_inner)
        3313  +
            }
        3314  +
            /* ServerOperationErrorGenerator.kt:139 */
 1582   3315   
        }
        3316  +
        /* ServerOperationErrorGenerator.kt:101 */
 1583   3317   
    }
        3318  +
    /* ServerOperationErrorGenerator.kt:100 */
 1584   3319   
}
        3320  +
/* ServerOperationErrorGenerator.kt:110 */
 1585   3321   
impl ::std::convert::From<crate::error::ValidationException>
 1586   3322   
    for crate::error::AllQueryStringTypesError
 1587   3323   
{
        3324  +
    /* ServerOperationErrorGenerator.kt:111 */
 1588   3325   
    fn from(variant: crate::error::ValidationException) -> crate::error::AllQueryStringTypesError {
        3326  +
        /* ServerOperationErrorGenerator.kt:112 */
 1589   3327   
        Self::ValidationException(variant)
        3328  +
        /* ServerOperationErrorGenerator.kt:111 */
 1590   3329   
    }
        3330  +
    /* ServerOperationErrorGenerator.kt:110 */
 1591   3331   
}
 1592   3332   
        3333  +
/* ServerOperationErrorGenerator.kt:63 */
 1593   3334   
/// Error type for the `HttpRequestWithRegexLiteral` operation.
        3335  +
/* ServerOperationErrorGenerator.kt:64 */
 1594   3336   
/// Each variant represents an error that can occur for the `HttpRequestWithRegexLiteral` operation.
        3337  +
/* RustType.kt:516 */
 1595   3338   
#[derive(::std::fmt::Debug)]
 1596         -
pub enum HttpRequestWithRegexLiteralError {
 1597         -
    /// 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.
        3339  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithRegexLiteralError {
        3340  +
    /// /* 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.
        3341  +
    /* ServerOperationErrorGenerator.kt:71 */
 1598   3342   
    ValidationException(crate::error::ValidationException),
        3343  +
    /* ServerOperationErrorGenerator.kt:66 */
 1599   3344   
}
        3345  +
/* ServerOperationErrorGenerator.kt:75 */
 1600   3346   
impl ::std::fmt::Display for HttpRequestWithRegexLiteralError {
        3347  +
    /* ServerOperationErrorGenerator.kt:76 */
 1601   3348   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3349  +
        /* ServerOperationErrorGenerator.kt:139 */
 1602   3350   
        match &self {
 1603         -
            HttpRequestWithRegexLiteralError::ValidationException(_inner) => _inner.fmt(f),
        3351  +
            /* ServerOperationErrorGenerator.kt:142 */
        3352  +
            HttpRequestWithRegexLiteralError::ValidationException(_inner) =>
        3353  +
            /* ServerOperationErrorGenerator.kt:78 */
        3354  +
            {
        3355  +
                _inner.fmt(f)
        3356  +
            }
        3357  +
            /* ServerOperationErrorGenerator.kt:139 */
 1604   3358   
        }
        3359  +
        /* ServerOperationErrorGenerator.kt:76 */
 1605   3360   
    }
        3361  +
    /* ServerOperationErrorGenerator.kt:75 */
 1606   3362   
}
        3363  +
/* ServerOperationErrorGenerator.kt:83 */
 1607   3364   
impl HttpRequestWithRegexLiteralError {
        3365  +
    /* ServerOperationErrorGenerator.kt:87 */
 1608   3366   
    /// Returns `true` if the error kind is `HttpRequestWithRegexLiteralError::ValidationException`.
        3367  +
    /* ServerOperationErrorGenerator.kt:88 */
 1609   3368   
    pub fn is_validation_exception(&self) -> bool {
        3369  +
        /* ServerOperationErrorGenerator.kt:89 */
 1610   3370   
        matches!(
 1611   3371   
            &self,
 1612   3372   
            HttpRequestWithRegexLiteralError::ValidationException(_)
 1613   3373   
        )
        3374  +
        /* ServerOperationErrorGenerator.kt:88 */
 1614   3375   
    }
        3376  +
    /* ServerOperationErrorGenerator.kt:92 */
 1615   3377   
    /// Returns the error name string by matching the correct variant.
        3378  +
    /* ServerOperationErrorGenerator.kt:93 */
 1616   3379   
    pub fn name(&self) -> &'static str {
        3380  +
        /* ServerOperationErrorGenerator.kt:139 */
 1617   3381   
        match &self {
 1618         -
            HttpRequestWithRegexLiteralError::ValidationException(_inner) => _inner.name(),
        3382  +
            /* ServerOperationErrorGenerator.kt:142 */
        3383  +
            HttpRequestWithRegexLiteralError::ValidationException(_inner) =>
        3384  +
            /* ServerOperationErrorGenerator.kt:95 */
        3385  +
            {
        3386  +
                _inner.name()
        3387  +
            }
        3388  +
            /* ServerOperationErrorGenerator.kt:139 */
 1619   3389   
        }
        3390  +
        /* ServerOperationErrorGenerator.kt:93 */
 1620   3391   
    }
        3392  +
    /* ServerOperationErrorGenerator.kt:83 */
 1621   3393   
}
        3394  +
/* ServerOperationErrorGenerator.kt:100 */
 1622   3395   
impl ::std::error::Error for HttpRequestWithRegexLiteralError {
        3396  +
    /* ServerOperationErrorGenerator.kt:101 */
 1623   3397   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3398  +
        /* ServerOperationErrorGenerator.kt:139 */
 1624   3399   
        match &self {
 1625         -
            HttpRequestWithRegexLiteralError::ValidationException(_inner) => Some(_inner),
        3400  +
            /* ServerOperationErrorGenerator.kt:142 */
        3401  +
            HttpRequestWithRegexLiteralError::ValidationException(_inner) =>
        3402  +
            /* ServerOperationErrorGenerator.kt:103 */
        3403  +
            {
        3404  +
                Some(_inner)
        3405  +
            }
        3406  +
            /* ServerOperationErrorGenerator.kt:139 */
 1626   3407   
        }
        3408  +
        /* ServerOperationErrorGenerator.kt:101 */
 1627   3409   
    }
        3410  +
    /* ServerOperationErrorGenerator.kt:100 */
 1628   3411   
}
        3412  +
/* ServerOperationErrorGenerator.kt:110 */
 1629   3413   
impl ::std::convert::From<crate::error::ValidationException>
 1630   3414   
    for crate::error::HttpRequestWithRegexLiteralError
 1631   3415   
{
        3416  +
    /* ServerOperationErrorGenerator.kt:111 */
 1632   3417   
    fn from(
 1633   3418   
        variant: crate::error::ValidationException,
 1634   3419   
    ) -> crate::error::HttpRequestWithRegexLiteralError {
        3420  +
        /* ServerOperationErrorGenerator.kt:112 */
 1635   3421   
        Self::ValidationException(variant)
        3422  +
        /* ServerOperationErrorGenerator.kt:111 */
 1636   3423   
    }
        3424  +
    /* ServerOperationErrorGenerator.kt:110 */
 1637   3425   
}
 1638   3426   
        3427  +
/* ServerOperationErrorGenerator.kt:63 */
 1639   3428   
/// Error type for the `HttpRequestWithFloatLabels` operation.
        3429  +
/* ServerOperationErrorGenerator.kt:64 */
 1640   3430   
/// Each variant represents an error that can occur for the `HttpRequestWithFloatLabels` operation.
        3431  +
/* RustType.kt:516 */
 1641   3432   
#[derive(::std::fmt::Debug)]
 1642         -
pub enum HttpRequestWithFloatLabelsError {
 1643         -
    /// 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.
        3433  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithFloatLabelsError {
        3434  +
    /// /* 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.
        3435  +
    /* ServerOperationErrorGenerator.kt:71 */
 1644   3436   
    ValidationException(crate::error::ValidationException),
        3437  +
    /* ServerOperationErrorGenerator.kt:66 */
 1645   3438   
}
        3439  +
/* ServerOperationErrorGenerator.kt:75 */
 1646   3440   
impl ::std::fmt::Display for HttpRequestWithFloatLabelsError {
        3441  +
    /* ServerOperationErrorGenerator.kt:76 */
 1647   3442   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3443  +
        /* ServerOperationErrorGenerator.kt:139 */
 1648   3444   
        match &self {
 1649         -
            HttpRequestWithFloatLabelsError::ValidationException(_inner) => _inner.fmt(f),
        3445  +
            /* ServerOperationErrorGenerator.kt:142 */
        3446  +
            HttpRequestWithFloatLabelsError::ValidationException(_inner) =>
        3447  +
            /* ServerOperationErrorGenerator.kt:78 */
        3448  +
            {
        3449  +
                _inner.fmt(f)
        3450  +
            }
        3451  +
            /* ServerOperationErrorGenerator.kt:139 */
 1650   3452   
        }
        3453  +
        /* ServerOperationErrorGenerator.kt:76 */
 1651   3454   
    }
        3455  +
    /* ServerOperationErrorGenerator.kt:75 */
 1652   3456   
}
        3457  +
/* ServerOperationErrorGenerator.kt:83 */
 1653   3458   
impl HttpRequestWithFloatLabelsError {
        3459  +
    /* ServerOperationErrorGenerator.kt:87 */
 1654   3460   
    /// Returns `true` if the error kind is `HttpRequestWithFloatLabelsError::ValidationException`.
        3461  +
    /* ServerOperationErrorGenerator.kt:88 */
 1655   3462   
    pub fn is_validation_exception(&self) -> bool {
        3463  +
        /* ServerOperationErrorGenerator.kt:89 */
 1656   3464   
        matches!(
 1657   3465   
            &self,
 1658   3466   
            HttpRequestWithFloatLabelsError::ValidationException(_)
 1659   3467   
        )
        3468  +
        /* ServerOperationErrorGenerator.kt:88 */
 1660   3469   
    }
        3470  +
    /* ServerOperationErrorGenerator.kt:92 */
 1661   3471   
    /// Returns the error name string by matching the correct variant.
        3472  +
    /* ServerOperationErrorGenerator.kt:93 */
 1662   3473   
    pub fn name(&self) -> &'static str {
        3474  +
        /* ServerOperationErrorGenerator.kt:139 */
 1663   3475   
        match &self {
 1664         -
            HttpRequestWithFloatLabelsError::ValidationException(_inner) => _inner.name(),
        3476  +
            /* ServerOperationErrorGenerator.kt:142 */
        3477  +
            HttpRequestWithFloatLabelsError::ValidationException(_inner) =>
        3478  +
            /* ServerOperationErrorGenerator.kt:95 */
        3479  +
            {
        3480  +
                _inner.name()
        3481  +
            }
        3482  +
            /* ServerOperationErrorGenerator.kt:139 */
 1665   3483   
        }
        3484  +
        /* ServerOperationErrorGenerator.kt:93 */
 1666   3485   
    }
        3486  +
    /* ServerOperationErrorGenerator.kt:83 */
 1667   3487   
}
        3488  +
/* ServerOperationErrorGenerator.kt:100 */
 1668   3489   
impl ::std::error::Error for HttpRequestWithFloatLabelsError {
        3490  +
    /* ServerOperationErrorGenerator.kt:101 */
 1669   3491   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3492  +
        /* ServerOperationErrorGenerator.kt:139 */
 1670   3493   
        match &self {
 1671         -
            HttpRequestWithFloatLabelsError::ValidationException(_inner) => Some(_inner),
        3494  +
            /* ServerOperationErrorGenerator.kt:142 */
        3495  +
            HttpRequestWithFloatLabelsError::ValidationException(_inner) =>
        3496  +
            /* ServerOperationErrorGenerator.kt:103 */
        3497  +
            {
        3498  +
                Some(_inner)
        3499  +
            }
        3500  +
            /* ServerOperationErrorGenerator.kt:139 */
 1672   3501   
        }
        3502  +
        /* ServerOperationErrorGenerator.kt:101 */
 1673   3503   
    }
        3504  +
    /* ServerOperationErrorGenerator.kt:100 */
 1674   3505   
}
        3506  +
/* ServerOperationErrorGenerator.kt:110 */
 1675   3507   
impl ::std::convert::From<crate::error::ValidationException>
 1676   3508   
    for crate::error::HttpRequestWithFloatLabelsError
 1677   3509   
{
        3510  +
    /* ServerOperationErrorGenerator.kt:111 */
 1678   3511   
    fn from(
 1679   3512   
        variant: crate::error::ValidationException,
 1680   3513   
    ) -> crate::error::HttpRequestWithFloatLabelsError {
        3514  +
        /* ServerOperationErrorGenerator.kt:112 */
 1681   3515   
        Self::ValidationException(variant)
        3516  +
        /* ServerOperationErrorGenerator.kt:111 */
 1682   3517   
    }
        3518  +
    /* ServerOperationErrorGenerator.kt:110 */
 1683   3519   
}
 1684   3520   
        3521  +
/* ServerOperationErrorGenerator.kt:63 */
 1685   3522   
/// Error type for the `HttpRequestWithGreedyLabelInPath` operation.
        3523  +
/* ServerOperationErrorGenerator.kt:64 */
 1686   3524   
/// Each variant represents an error that can occur for the `HttpRequestWithGreedyLabelInPath` operation.
        3525  +
/* RustType.kt:516 */
 1687   3526   
#[derive(::std::fmt::Debug)]
 1688         -
pub enum HttpRequestWithGreedyLabelInPathError {
 1689         -
    /// 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.
        3527  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithGreedyLabelInPathError {
        3528  +
    /// /* 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.
        3529  +
    /* ServerOperationErrorGenerator.kt:71 */
 1690   3530   
    ValidationException(crate::error::ValidationException),
        3531  +
    /* ServerOperationErrorGenerator.kt:66 */
 1691   3532   
}
        3533  +
/* ServerOperationErrorGenerator.kt:75 */
 1692   3534   
impl ::std::fmt::Display for HttpRequestWithGreedyLabelInPathError {
        3535  +
    /* ServerOperationErrorGenerator.kt:76 */
 1693   3536   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3537  +
        /* ServerOperationErrorGenerator.kt:139 */
 1694   3538   
        match &self {
 1695         -
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) => _inner.fmt(f),
        3539  +
            /* ServerOperationErrorGenerator.kt:142 */
        3540  +
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) =>
        3541  +
            /* ServerOperationErrorGenerator.kt:78 */
        3542  +
            {
        3543  +
                _inner.fmt(f)
        3544  +
            }
        3545  +
            /* ServerOperationErrorGenerator.kt:139 */
 1696   3546   
        }
        3547  +
        /* ServerOperationErrorGenerator.kt:76 */
 1697   3548   
    }
        3549  +
    /* ServerOperationErrorGenerator.kt:75 */
 1698   3550   
}
        3551  +
/* ServerOperationErrorGenerator.kt:83 */
 1699   3552   
impl HttpRequestWithGreedyLabelInPathError {
        3553  +
    /* ServerOperationErrorGenerator.kt:87 */
 1700   3554   
    /// Returns `true` if the error kind is `HttpRequestWithGreedyLabelInPathError::ValidationException`.
        3555  +
    /* ServerOperationErrorGenerator.kt:88 */
 1701   3556   
    pub fn is_validation_exception(&self) -> bool {
        3557  +
        /* ServerOperationErrorGenerator.kt:89 */
 1702   3558   
        matches!(
 1703   3559   
            &self,
 1704   3560   
            HttpRequestWithGreedyLabelInPathError::ValidationException(_)
 1705   3561   
        )
        3562  +
        /* ServerOperationErrorGenerator.kt:88 */
 1706   3563   
    }
        3564  +
    /* ServerOperationErrorGenerator.kt:92 */
 1707   3565   
    /// Returns the error name string by matching the correct variant.
        3566  +
    /* ServerOperationErrorGenerator.kt:93 */
 1708   3567   
    pub fn name(&self) -> &'static str {
        3568  +
        /* ServerOperationErrorGenerator.kt:139 */
 1709   3569   
        match &self {
 1710         -
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) => _inner.name(),
        3570  +
            /* ServerOperationErrorGenerator.kt:142 */
        3571  +
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) =>
        3572  +
            /* ServerOperationErrorGenerator.kt:95 */
        3573  +
            {
        3574  +
                _inner.name()
        3575  +
            }
        3576  +
            /* ServerOperationErrorGenerator.kt:139 */
 1711   3577   
        }
        3578  +
        /* ServerOperationErrorGenerator.kt:93 */
 1712   3579   
    }
        3580  +
    /* ServerOperationErrorGenerator.kt:83 */
 1713   3581   
}
        3582  +
/* ServerOperationErrorGenerator.kt:100 */
 1714   3583   
impl ::std::error::Error for HttpRequestWithGreedyLabelInPathError {
        3584  +
    /* ServerOperationErrorGenerator.kt:101 */
 1715   3585   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3586  +
        /* ServerOperationErrorGenerator.kt:139 */
 1716   3587   
        match &self {
 1717         -
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) => Some(_inner),
        3588  +
            /* ServerOperationErrorGenerator.kt:142 */
        3589  +
            HttpRequestWithGreedyLabelInPathError::ValidationException(_inner) =>
        3590  +
            /* ServerOperationErrorGenerator.kt:103 */
        3591  +
            {
        3592  +
                Some(_inner)
        3593  +
            }
        3594  +
            /* ServerOperationErrorGenerator.kt:139 */
 1718   3595   
        }
        3596  +
        /* ServerOperationErrorGenerator.kt:101 */
 1719   3597   
    }
        3598  +
    /* ServerOperationErrorGenerator.kt:100 */
 1720   3599   
}
        3600  +
/* ServerOperationErrorGenerator.kt:110 */
 1721   3601   
impl ::std::convert::From<crate::error::ValidationException>
 1722   3602   
    for crate::error::HttpRequestWithGreedyLabelInPathError
 1723   3603   
{
        3604  +
    /* ServerOperationErrorGenerator.kt:111 */
 1724   3605   
    fn from(
 1725   3606   
        variant: crate::error::ValidationException,
 1726   3607   
    ) -> crate::error::HttpRequestWithGreedyLabelInPathError {
        3608  +
        /* ServerOperationErrorGenerator.kt:112 */
 1727   3609   
        Self::ValidationException(variant)
        3610  +
        /* ServerOperationErrorGenerator.kt:111 */
 1728   3611   
    }
        3612  +
    /* ServerOperationErrorGenerator.kt:110 */
 1729   3613   
}
 1730   3614   
        3615  +
/* ServerOperationErrorGenerator.kt:63 */
 1731   3616   
/// Error type for the `HttpRequestWithLabelsAndTimestampFormat` operation.
        3617  +
/* ServerOperationErrorGenerator.kt:64 */
 1732   3618   
/// Each variant represents an error that can occur for the `HttpRequestWithLabelsAndTimestampFormat` operation.
        3619  +
/* RustType.kt:516 */
 1733   3620   
#[derive(::std::fmt::Debug)]
 1734         -
pub enum HttpRequestWithLabelsAndTimestampFormatError {
 1735         -
    /// 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.
        3621  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithLabelsAndTimestampFormatError {
        3622  +
    /// /* 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.
        3623  +
    /* ServerOperationErrorGenerator.kt:71 */
 1736   3624   
    ValidationException(crate::error::ValidationException),
        3625  +
    /* ServerOperationErrorGenerator.kt:66 */
 1737   3626   
}
        3627  +
/* ServerOperationErrorGenerator.kt:75 */
 1738   3628   
impl ::std::fmt::Display for HttpRequestWithLabelsAndTimestampFormatError {
        3629  +
    /* ServerOperationErrorGenerator.kt:76 */
 1739   3630   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3631  +
        /* ServerOperationErrorGenerator.kt:139 */
 1740   3632   
        match &self {
 1741         -
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) => {
        3633  +
            /* ServerOperationErrorGenerator.kt:142 */
        3634  +
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) =>
        3635  +
            /* ServerOperationErrorGenerator.kt:78 */
        3636  +
            {
 1742   3637   
                _inner.fmt(f)
 1743   3638   
            }
        3639  +
            /* ServerOperationErrorGenerator.kt:139 */
 1744   3640   
        }
        3641  +
        /* ServerOperationErrorGenerator.kt:76 */
 1745   3642   
    }
        3643  +
    /* ServerOperationErrorGenerator.kt:75 */
 1746   3644   
}
        3645  +
/* ServerOperationErrorGenerator.kt:83 */
 1747   3646   
impl HttpRequestWithLabelsAndTimestampFormatError {
        3647  +
    /* ServerOperationErrorGenerator.kt:87 */
 1748   3648   
    /// Returns `true` if the error kind is `HttpRequestWithLabelsAndTimestampFormatError::ValidationException`.
        3649  +
    /* ServerOperationErrorGenerator.kt:88 */
 1749   3650   
    pub fn is_validation_exception(&self) -> bool {
        3651  +
        /* ServerOperationErrorGenerator.kt:89 */
 1750   3652   
        matches!(
 1751   3653   
            &self,
 1752   3654   
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_)
 1753   3655   
        )
        3656  +
        /* ServerOperationErrorGenerator.kt:88 */
 1754   3657   
    }
        3658  +
    /* ServerOperationErrorGenerator.kt:92 */
 1755   3659   
    /// Returns the error name string by matching the correct variant.
        3660  +
    /* ServerOperationErrorGenerator.kt:93 */
 1756   3661   
    pub fn name(&self) -> &'static str {
        3662  +
        /* ServerOperationErrorGenerator.kt:139 */
 1757   3663   
        match &self {
 1758         -
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) => {
        3664  +
            /* ServerOperationErrorGenerator.kt:142 */
        3665  +
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) =>
        3666  +
            /* ServerOperationErrorGenerator.kt:95 */
        3667  +
            {
 1759   3668   
                _inner.name()
 1760   3669   
            }
        3670  +
            /* ServerOperationErrorGenerator.kt:139 */
 1761   3671   
        }
        3672  +
        /* ServerOperationErrorGenerator.kt:93 */
 1762   3673   
    }
        3674  +
    /* ServerOperationErrorGenerator.kt:83 */
 1763   3675   
}
        3676  +
/* ServerOperationErrorGenerator.kt:100 */
 1764   3677   
impl ::std::error::Error for HttpRequestWithLabelsAndTimestampFormatError {
        3678  +
    /* ServerOperationErrorGenerator.kt:101 */
 1765   3679   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3680  +
        /* ServerOperationErrorGenerator.kt:139 */
 1766   3681   
        match &self {
 1767         -
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) => {
        3682  +
            /* ServerOperationErrorGenerator.kt:142 */
        3683  +
            HttpRequestWithLabelsAndTimestampFormatError::ValidationException(_inner) =>
        3684  +
            /* ServerOperationErrorGenerator.kt:103 */
        3685  +
            {
 1768   3686   
                Some(_inner)
 1769   3687   
            }
        3688  +
            /* ServerOperationErrorGenerator.kt:139 */
 1770   3689   
        }
        3690  +
        /* ServerOperationErrorGenerator.kt:101 */
 1771   3691   
    }
        3692  +
    /* ServerOperationErrorGenerator.kt:100 */
 1772   3693   
}
        3694  +
/* ServerOperationErrorGenerator.kt:110 */
 1773   3695   
impl ::std::convert::From<crate::error::ValidationException>
 1774   3696   
    for crate::error::HttpRequestWithLabelsAndTimestampFormatError
 1775   3697   
{
        3698  +
    /* ServerOperationErrorGenerator.kt:111 */
 1776   3699   
    fn from(
 1777   3700   
        variant: crate::error::ValidationException,
 1778   3701   
    ) -> crate::error::HttpRequestWithLabelsAndTimestampFormatError {
        3702  +
        /* ServerOperationErrorGenerator.kt:112 */
 1779   3703   
        Self::ValidationException(variant)
        3704  +
        /* ServerOperationErrorGenerator.kt:111 */
 1780   3705   
    }
        3706  +
    /* ServerOperationErrorGenerator.kt:110 */
 1781   3707   
}
 1782   3708   
        3709  +
/* ServerOperationErrorGenerator.kt:63 */
 1783   3710   
/// Error type for the `HttpRequestWithLabels` operation.
        3711  +
/* ServerOperationErrorGenerator.kt:64 */
 1784   3712   
/// Each variant represents an error that can occur for the `HttpRequestWithLabels` operation.
        3713  +
/* RustType.kt:516 */
 1785   3714   
#[derive(::std::fmt::Debug)]
 1786         -
pub enum HttpRequestWithLabelsError {
 1787         -
    /// 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.
        3715  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum HttpRequestWithLabelsError {
        3716  +
    /// /* 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.
        3717  +
    /* ServerOperationErrorGenerator.kt:71 */
 1788   3718   
    ValidationException(crate::error::ValidationException),
        3719  +
    /* ServerOperationErrorGenerator.kt:66 */
 1789   3720   
}
        3721  +
/* ServerOperationErrorGenerator.kt:75 */
 1790   3722   
impl ::std::fmt::Display for HttpRequestWithLabelsError {
        3723  +
    /* ServerOperationErrorGenerator.kt:76 */
 1791   3724   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3725  +
        /* ServerOperationErrorGenerator.kt:139 */
 1792   3726   
        match &self {
 1793         -
            HttpRequestWithLabelsError::ValidationException(_inner) => _inner.fmt(f),
        3727  +
            /* ServerOperationErrorGenerator.kt:142 */
        3728  +
            HttpRequestWithLabelsError::ValidationException(_inner) =>
        3729  +
            /* ServerOperationErrorGenerator.kt:78 */
        3730  +
            {
        3731  +
                _inner.fmt(f)
 1794   3732   
            }
        3733  +
            /* ServerOperationErrorGenerator.kt:139 */
 1795   3734   
        }
        3735  +
        /* ServerOperationErrorGenerator.kt:76 */
        3736  +
    }
        3737  +
    /* ServerOperationErrorGenerator.kt:75 */
 1796   3738   
}
        3739  +
/* ServerOperationErrorGenerator.kt:83 */
 1797   3740   
impl HttpRequestWithLabelsError {
        3741  +
    /* ServerOperationErrorGenerator.kt:87 */
 1798   3742   
    /// Returns `true` if the error kind is `HttpRequestWithLabelsError::ValidationException`.
        3743  +
    /* ServerOperationErrorGenerator.kt:88 */
 1799   3744   
    pub fn is_validation_exception(&self) -> bool {
        3745  +
        /* ServerOperationErrorGenerator.kt:89 */
 1800   3746   
        matches!(&self, HttpRequestWithLabelsError::ValidationException(_))
        3747  +
        /* ServerOperationErrorGenerator.kt:88 */
 1801   3748   
    }
        3749  +
    /* ServerOperationErrorGenerator.kt:92 */
 1802   3750   
    /// Returns the error name string by matching the correct variant.
        3751  +
    /* ServerOperationErrorGenerator.kt:93 */
 1803   3752   
    pub fn name(&self) -> &'static str {
        3753  +
        /* ServerOperationErrorGenerator.kt:139 */
 1804   3754   
        match &self {
 1805         -
            HttpRequestWithLabelsError::ValidationException(_inner) => _inner.name(),
        3755  +
            /* ServerOperationErrorGenerator.kt:142 */
        3756  +
            HttpRequestWithLabelsError::ValidationException(_inner) =>
        3757  +
            /* ServerOperationErrorGenerator.kt:95 */
        3758  +
            {
        3759  +
                _inner.name()
 1806   3760   
            }
        3761  +
            /* ServerOperationErrorGenerator.kt:139 */
 1807   3762   
        }
        3763  +
        /* ServerOperationErrorGenerator.kt:93 */
        3764  +
    }
        3765  +
    /* ServerOperationErrorGenerator.kt:83 */
 1808   3766   
}
        3767  +
/* ServerOperationErrorGenerator.kt:100 */
 1809   3768   
impl ::std::error::Error for HttpRequestWithLabelsError {
        3769  +
    /* ServerOperationErrorGenerator.kt:101 */
 1810   3770   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3771  +
        /* ServerOperationErrorGenerator.kt:139 */
 1811   3772   
        match &self {
 1812         -
            HttpRequestWithLabelsError::ValidationException(_inner) => Some(_inner),
        3773  +
            /* ServerOperationErrorGenerator.kt:142 */
        3774  +
            HttpRequestWithLabelsError::ValidationException(_inner) =>
        3775  +
            /* ServerOperationErrorGenerator.kt:103 */
        3776  +
            {
        3777  +
                Some(_inner)
 1813   3778   
            }
        3779  +
            /* ServerOperationErrorGenerator.kt:139 */
 1814   3780   
        }
        3781  +
        /* ServerOperationErrorGenerator.kt:101 */
        3782  +
    }
        3783  +
    /* ServerOperationErrorGenerator.kt:100 */
 1815   3784   
}
        3785  +
/* ServerOperationErrorGenerator.kt:110 */
 1816   3786   
impl ::std::convert::From<crate::error::ValidationException>
 1817   3787   
    for crate::error::HttpRequestWithLabelsError
 1818   3788   
{
        3789  +
    /* ServerOperationErrorGenerator.kt:111 */
 1819   3790   
    fn from(
 1820   3791   
        variant: crate::error::ValidationException,
 1821   3792   
    ) -> crate::error::HttpRequestWithLabelsError {
        3793  +
        /* ServerOperationErrorGenerator.kt:112 */
 1822   3794   
        Self::ValidationException(variant)
        3795  +
        /* ServerOperationErrorGenerator.kt:111 */
 1823   3796   
    }
        3797  +
    /* ServerOperationErrorGenerator.kt:110 */
 1824   3798   
}
 1825   3799   
        3800  +
/* ServerOperationErrorGenerator.kt:63 */
 1826   3801   
/// Error type for the `InputAndOutputWithHeaders` operation.
        3802  +
/* ServerOperationErrorGenerator.kt:64 */
 1827   3803   
/// Each variant represents an error that can occur for the `InputAndOutputWithHeaders` operation.
        3804  +
/* RustType.kt:516 */
 1828   3805   
#[derive(::std::fmt::Debug)]
 1829         -
pub enum InputAndOutputWithHeadersError {
 1830         -
    /// 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.
        3806  +
pub /* ServerOperationErrorGenerator.kt:66 */ enum InputAndOutputWithHeadersError {
        3807  +
    /// /* 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.
        3808  +
    /* ServerOperationErrorGenerator.kt:71 */
 1831   3809   
    ValidationException(crate::error::ValidationException),
        3810  +
    /* ServerOperationErrorGenerator.kt:66 */
 1832   3811   
}
        3812  +
/* ServerOperationErrorGenerator.kt:75 */
 1833   3813   
impl ::std::fmt::Display for InputAndOutputWithHeadersError {
        3814  +
    /* ServerOperationErrorGenerator.kt:76 */
 1834   3815   
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3816  +
        /* ServerOperationErrorGenerator.kt:139 */
 1835   3817   
        match &self {
 1836         -
            InputAndOutputWithHeadersError::ValidationException(_inner) => _inner.fmt(f),
        3818  +
            /* ServerOperationErrorGenerator.kt:142 */
        3819  +
            InputAndOutputWithHeadersError::ValidationException(_inner) =>
        3820  +
            /* ServerOperationErrorGenerator.kt:78 */
        3821  +
            {
        3822  +
                _inner.fmt(f)
 1837   3823   
            }
        3824  +
            /* ServerOperationErrorGenerator.kt:139 */
 1838   3825   
        }
        3826  +
        /* ServerOperationErrorGenerator.kt:76 */
        3827  +
    }
        3828  +
    /* ServerOperationErrorGenerator.kt:75 */
 1839   3829   
}
        3830  +
/* ServerOperationErrorGenerator.kt:83 */
 1840   3831   
impl InputAndOutputWithHeadersError {
        3832  +
    /* ServerOperationErrorGenerator.kt:87 */
 1841   3833   
    /// Returns `true` if the error kind is `InputAndOutputWithHeadersError::ValidationException`.
        3834  +
    /* ServerOperationErrorGenerator.kt:88 */
 1842   3835   
    pub fn is_validation_exception(&self) -> bool {
        3836  +
        /* ServerOperationErrorGenerator.kt:89 */
 1843   3837   
        matches!(
 1844   3838   
            &self,
 1845   3839   
            InputAndOutputWithHeadersError::ValidationException(_)
 1846   3840   
        )
        3841  +
        /* ServerOperationErrorGenerator.kt:88 */
 1847   3842   
    }
        3843  +
    /* ServerOperationErrorGenerator.kt:92 */
 1848   3844   
    /// Returns the error name string by matching the correct variant.
        3845  +
    /* ServerOperationErrorGenerator.kt:93 */
 1849   3846   
    pub fn name(&self) -> &'static str {
        3847  +
        /* ServerOperationErrorGenerator.kt:139 */
 1850   3848   
        match &self {
 1851         -
            InputAndOutputWithHeadersError::ValidationException(_inner) => _inner.name(),
        3849  +
            /* ServerOperationErrorGenerator.kt:142 */
        3850  +
            InputAndOutputWithHeadersError::ValidationException(_inner) =>
        3851  +
            /* ServerOperationErrorGenerator.kt:95 */
        3852  +
            {
        3853  +
                _inner.name()
 1852   3854   
            }
        3855  +
            /* ServerOperationErrorGenerator.kt:139 */
 1853   3856   
        }
        3857  +
        /* ServerOperationErrorGenerator.kt:93 */
        3858  +
    }
        3859  +
    /* ServerOperationErrorGenerator.kt:83 */
 1854   3860   
}
        3861  +
/* ServerOperationErrorGenerator.kt:100 */
 1855   3862   
impl ::std::error::Error for InputAndOutputWithHeadersError {
        3863  +
    /* ServerOperationErrorGenerator.kt:101 */
 1856   3864   
    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
        3865  +
        /* ServerOperationErrorGenerator.kt:139 */
 1857   3866   
        match &self {
 1858         -
            InputAndOutputWithHeadersError::ValidationException(_inner) => Some(_inner),
        3867  +
            /* ServerOperationErrorGenerator.kt:142 */
        3868  +
            InputAndOutputWithHeadersError::ValidationException(_inner) =>
        3869  +
            /* ServerOperationErrorGenerator.kt:103 */
        3870  +
            {
        3871  +
                Some(_inner)
 1859   3872   
            }
        3873  +
            /* ServerOperationErrorGenerator.kt:139 */
 1860   3874   
        }
        3875  +
        /* ServerOperationErrorGenerator.kt:101 */
        3876  +
    }
        3877  +
    /* ServerOperationErrorGenerator.kt:100 */
 1861   3878   
}
        3879  +
/* ServerOperationErrorGenerator.kt:110 */
 1862   3880   
impl ::std::convert::From<crate::error::ValidationException>
 1863   3881   
    for crate::error::InputAndOutputWithHeadersError
 1864   3882   
{
        3883  +
    /* ServerOperationErrorGenerator.kt:111 */
 1865   3884   
    fn from(
 1866   3885   
        variant: crate::error::ValidationException,
 1867   3886   
    ) -> crate::error::InputAndOutputWithHeadersError {
        3887  +
        /* ServerOperationErrorGenerator.kt:112 */
 1868   3888   
        Self::ValidationException(variant)
        3889  +
        /* ServerOperationErrorGenerator.kt:111 */
 1869   3890   
    }
        3891  +
    /* ServerOperationErrorGenerator.kt:110 */
 1870   3892   
}
 1871   3893   
 1872         -
/// See [`ValidationException`](crate::error::ValidationException).
        3894  +
/// /* ServerBuilderGenerator.kt:171 */See [`ValidationException`](crate::error::ValidationException).
 1873   3895   
pub mod validation_exception {
 1874   3896   
        3897  +
    /* RustType.kt:516 */
 1875   3898   
    #[derive(::std::cmp::PartialEq, ::std::fmt::Debug)]
 1876         -
    /// Holds one variant for each of the ways the builder can fail.
        3899  +
    /// /* ServerBuilderConstraintViolations.kt:72 */Holds one variant for each of the ways the builder can fail.
        3900  +
    /* RustType.kt:516 */
 1877   3901   
    #[non_exhaustive]
        3902  +
    /* ServerBuilderConstraintViolations.kt:75 */
 1878   3903   
    #[allow(clippy::enum_variant_names)]
 1879   3904   
    pub enum ConstraintViolation {
 1880         -
        /// `message` was not provided but it is required when building `ValidationException`.
        3905  +
        /// /* ServerBuilderConstraintViolations.kt:138 */`message` was not provided but it is required when building `ValidationException`.
        3906  +
        /* ServerBuilderConstraintViolations.kt:143 */
 1881   3907   
        MissingMessage,
        3908  +
        /* ServerBuilderConstraintViolations.kt:75 */
 1882   3909   
    }
        3910  +
    /* ServerBuilderConstraintViolations.kt:117 */
 1883   3911   
    impl ::std::fmt::Display for ConstraintViolation {
        3912  +
        /* ServerBuilderConstraintViolations.kt:118 */
 1884   3913   
        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        3914  +
            /* ServerBuilderConstraintViolations.kt:119 */
 1885   3915   
            match self {
 1886         -
                ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
 1887         -
            }
        3916  +
                /* ServerBuilderConstraintViolations.kt:127 */ConstraintViolation::MissingMessage => write!(f, "`message` was not provided but it is required when building `ValidationException`"),
        3917  +
            /* ServerBuilderConstraintViolations.kt:119 */}
        3918  +
            /* ServerBuilderConstraintViolations.kt:118 */
 1888   3919   
        }
        3920  +
        /* ServerBuilderConstraintViolations.kt:117 */
 1889   3921   
    }
        3922  +
    /* ServerBuilderConstraintViolations.kt:84 */
 1890   3923   
    impl ::std::error::Error for ConstraintViolation {}
        3924  +
    /* ServerBuilderGenerator.kt:446 */
 1891   3925   
    impl ::std::convert::TryFrom<Builder> for crate::error::ValidationException {
 1892   3926   
        type Error = ConstraintViolation;
 1893   3927   
 1894   3928   
        fn try_from(builder: Builder) -> ::std::result::Result<Self, Self::Error> {
 1895   3929   
            builder.build()
 1896   3930   
        }
 1897   3931   
    }
 1898         -
    /// A builder for [`ValidationException`](crate::error::ValidationException).
        3932  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ValidationException`](crate::error::ValidationException).
        3933  +
    /* RustType.kt:516 */
 1899   3934   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        3935  +
    /* ServerBuilderGenerator.kt:211 */
 1900   3936   
    pub struct Builder {
        3937  +
        /* ServerBuilderGenerator.kt:308 */
 1901   3938   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        3939  +
        /* ServerBuilderGenerator.kt:308 */
 1902   3940   
        pub(crate) field_list:
 1903   3941   
            ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
        3942  +
        /* ServerBuilderGenerator.kt:211 */
 1904   3943   
    }
        3944  +
    /* ServerBuilderGenerator.kt:215 */
 1905   3945   
    impl Builder {
 1906         -
        /// A summary of the validation failure.
        3946  +
        /// /* ServerBuilderGenerator.kt:331 */A summary of the validation failure.
        3947  +
        /* ServerBuilderGenerator.kt:343 */
 1907   3948   
        pub fn message(mut self, input: ::std::string::String) -> Self {
 1908         -
            self.message = Some(input);
        3949  +
            /* ServerBuilderGenerator.kt:344 */
        3950  +
            self.message =
        3951  +
                /* ServerBuilderGenerator.kt:345 */Some(
        3952  +
                    /* ServerBuilderGenerator.kt:376 */input
        3953  +
                /* ServerBuilderGenerator.kt:345 */)
        3954  +
            /* ServerBuilderGenerator.kt:344 */;
 1909   3955   
            self
        3956  +
            /* ServerBuilderGenerator.kt:343 */
 1910   3957   
        }
 1911         -
        /// 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.
        3958  +
        /// /* 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.
        3959  +
        /* ServerBuilderGenerator.kt:343 */
 1912   3960   
        pub fn field_list(
 1913   3961   
            mut self,
 1914   3962   
            input: ::std::option::Option<::std::vec::Vec<crate::model::ValidationExceptionField>>,
 1915   3963   
        ) -> Self {
 1916         -
            self.field_list = input;
        3964  +
            /* ServerBuilderGenerator.kt:344 */
        3965  +
            self.field_list =
        3966  +
                /* ServerBuilderGenerator.kt:376 */input
        3967  +
            /* ServerBuilderGenerator.kt:344 */;
 1917   3968   
            self
        3969  +
            /* ServerBuilderGenerator.kt:343 */
 1918   3970   
        }
 1919         -
        /// Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
 1920         -
        ///
        3971  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ValidationException`](crate::error::ValidationException).
        3972  +
        /// /* ServerBuilderGenerator.kt:260 */
 1921   3973   
        /// The builder fails to construct a [`ValidationException`](crate::error::ValidationException) if a [`ConstraintViolation`] occurs.
 1922   3974   
        ///
        3975  +
        /* ServerBuilderGenerator.kt:271 */
 1923   3976   
        pub fn build(self) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1924   3977   
            self.build_enforcing_all_constraints()
 1925   3978   
        }
        3979  +
        /* ServerBuilderGenerator.kt:283 */
 1926   3980   
        fn build_enforcing_all_constraints(
 1927   3981   
            self,
 1928   3982   
        ) -> Result<crate::error::ValidationException, ConstraintViolation> {
 1929         -
            Ok(crate::error::ValidationException {
 1930         -
                message: self.message.ok_or(ConstraintViolation::MissingMessage)?,
        3983  +
            /* ServerBuilderGenerator.kt:287 */
        3984  +
            Ok(
        3985  +
                /* ServerBuilderGenerator.kt:542 */
        3986  +
                crate::error::ValidationException {
        3987  +
                    /* ServerBuilderGenerator.kt:546 */
        3988  +
                    message: self
        3989  +
                        .message
        3990  +
                        /* ServerBuilderGenerator.kt:569 */
        3991  +
                        .ok_or(ConstraintViolation::MissingMessage)?,
        3992  +
                    /* ServerBuilderGenerator.kt:546 */
 1931   3993   
                    field_list: self.field_list,
 1932         -
            })
        3994  +
                    /* ServerBuilderGenerator.kt:542 */
        3995  +
                }, /* ServerBuilderGenerator.kt:287 */
        3996  +
            )
        3997  +
            /* ServerBuilderGenerator.kt:283 */
 1933   3998   
        }
        3999  +
        /* ServerBuilderGenerator.kt:215 */
 1934   4000   
    }
        4001  +
        4002  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1935   4003   
}
 1936         -
/// See [`FooError`](crate::error::FooError).
        4004  +
/// /* ServerBuilderGenerator.kt:171 */See [`FooError`](crate::error::FooError).
 1937   4005   
pub mod foo_error {
 1938   4006   
        4007  +
    /* ServerBuilderGenerator.kt:461 */
 1939   4008   
    impl ::std::convert::From<Builder> for crate::error::FooError {
 1940   4009   
        fn from(builder: Builder) -> Self {
 1941   4010   
            builder.build()
 1942   4011   
        }
 1943   4012   
    }
 1944         -
    /// A builder for [`FooError`](crate::error::FooError).
        4013  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`FooError`](crate::error::FooError).
        4014  +
    /* RustType.kt:516 */
 1945   4015   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
 1946         -
    pub struct Builder {}
        4016  +
    /* ServerBuilderGenerator.kt:211 */
        4017  +
    pub struct Builder {/* ServerBuilderGenerator.kt:211 */}
        4018  +
    /* ServerBuilderGenerator.kt:215 */
 1947   4019   
    impl Builder {
 1948         -
        /// Consumes the builder and constructs a [`FooError`](crate::error::FooError).
        4020  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`FooError`](crate::error::FooError).
        4021  +
        /* ServerBuilderGenerator.kt:271 */
 1949   4022   
        pub fn build(self) -> crate::error::FooError {
 1950   4023   
            self.build_enforcing_all_constraints()
 1951   4024   
        }
        4025  +
        /* ServerBuilderGenerator.kt:283 */
 1952   4026   
        fn build_enforcing_all_constraints(self) -> crate::error::FooError {
 1953         -
            crate::error::FooError {}
        4027  +
            /* ServerBuilderGenerator.kt:542 */
        4028  +
            crate::error::FooError {
        4029  +
            /* ServerBuilderGenerator.kt:542 */}
        4030  +
            /* ServerBuilderGenerator.kt:283 */
 1954   4031   
        }
        4032  +
        /* ServerBuilderGenerator.kt:215 */
 1955   4033   
    }
        4034  +
        4035  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 1956   4036   
}
 1957         -
/// See [`ComplexError`](crate::error::ComplexError).
        4037  +
/// /* ServerBuilderGenerator.kt:171 */See [`ComplexError`](crate::error::ComplexError).
 1958   4038   
pub mod complex_error {
 1959   4039   
        4040  +
    /* ServerBuilderGenerator.kt:461 */
 1960   4041   
    impl ::std::convert::From<Builder> for crate::error::ComplexError {
 1961   4042   
        fn from(builder: Builder) -> Self {
 1962   4043   
            builder.build()
 1963   4044   
        }
 1964   4045   
    }
 1965         -
    /// A builder for [`ComplexError`](crate::error::ComplexError).
        4046  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`ComplexError`](crate::error::ComplexError).
        4047  +
    /* RustType.kt:516 */
 1966   4048   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4049  +
    /* ServerBuilderGenerator.kt:211 */
 1967   4050   
    pub struct Builder {
        4051  +
        /* ServerBuilderGenerator.kt:308 */
 1968   4052   
        pub(crate) header: ::std::option::Option<::std::string::String>,
        4053  +
        /* ServerBuilderGenerator.kt:308 */
 1969   4054   
        pub(crate) top_level: ::std::option::Option<::std::string::String>,
        4055  +
        /* ServerBuilderGenerator.kt:308 */
 1970   4056   
        pub(crate) nested: ::std::option::Option<crate::model::ComplexNestedErrorData>,
        4057  +
        /* ServerBuilderGenerator.kt:211 */
 1971   4058   
    }
        4059  +
    /* ServerBuilderGenerator.kt:215 */
 1972   4060   
    impl Builder {
        4061  +
        /* ServerBuilderGenerator.kt:331 */
 1973   4062   
        #[allow(missing_docs)] // documentation missing in model
        4063  +
                               /* ServerBuilderGenerator.kt:343 */
 1974   4064   
        pub fn header(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 1975         -
            self.header = input;
        4065  +
            /* ServerBuilderGenerator.kt:344 */
        4066  +
            self.header =
        4067  +
                /* ServerBuilderGenerator.kt:376 */input
        4068  +
            /* ServerBuilderGenerator.kt:344 */;
 1976   4069   
            self
        4070  +
            /* ServerBuilderGenerator.kt:343 */
 1977   4071   
        }
        4072  +
        /* ServerBuilderGenerator.kt:331 */
 1978   4073   
        #[allow(missing_docs)] // documentation missing in model
        4074  +
                               /* ServerBuilderGenerator.kt:343 */
 1979   4075   
        pub fn top_level(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 1980         -
            self.top_level = input;
        4076  +
            /* ServerBuilderGenerator.kt:344 */
        4077  +
            self.top_level =
        4078  +
                /* ServerBuilderGenerator.kt:376 */input
        4079  +
            /* ServerBuilderGenerator.kt:344 */;
 1981   4080   
            self
        4081  +
            /* ServerBuilderGenerator.kt:343 */
 1982   4082   
        }
        4083  +
        /* ServerBuilderGenerator.kt:331 */
 1983   4084   
        #[allow(missing_docs)] // documentation missing in model
        4085  +
                               /* ServerBuilderGenerator.kt:343 */
 1984   4086   
        pub fn nested(
 1985   4087   
            mut self,
 1986   4088   
            input: ::std::option::Option<crate::model::ComplexNestedErrorData>,
 1987   4089   
        ) -> Self {
 1988         -
            self.nested = input;
        4090  +
            /* ServerBuilderGenerator.kt:344 */
        4091  +
            self.nested =
        4092  +
                /* ServerBuilderGenerator.kt:376 */input
        4093  +
            /* ServerBuilderGenerator.kt:344 */;
 1989   4094   
            self
        4095  +
            /* ServerBuilderGenerator.kt:343 */
 1990   4096   
        }
 1991         -
        /// Consumes the builder and constructs a [`ComplexError`](crate::error::ComplexError).
        4097  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`ComplexError`](crate::error::ComplexError).
        4098  +
        /* ServerBuilderGenerator.kt:271 */
 1992   4099   
        pub fn build(self) -> crate::error::ComplexError {
 1993   4100   
            self.build_enforcing_all_constraints()
 1994   4101   
        }
        4102  +
        /* ServerBuilderGenerator.kt:283 */
 1995   4103   
        fn build_enforcing_all_constraints(self) -> crate::error::ComplexError {
        4104  +
            /* ServerBuilderGenerator.kt:542 */
 1996   4105   
            crate::error::ComplexError {
        4106  +
                /* ServerBuilderGenerator.kt:546 */
 1997   4107   
                header: self.header,
        4108  +
                /* ServerBuilderGenerator.kt:546 */
 1998   4109   
                top_level: self.top_level,
        4110  +
                /* ServerBuilderGenerator.kt:546 */
 1999   4111   
                nested: self.nested,
        4112  +
                /* ServerBuilderGenerator.kt:542 */
 2000   4113   
            }
        4114  +
            /* ServerBuilderGenerator.kt:283 */
 2001   4115   
        }
        4116  +
        /* ServerBuilderGenerator.kt:215 */
 2002   4117   
    }
        4118  +
        4119  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 2003   4120   
}
 2004         -
/// See [`InvalidGreeting`](crate::error::InvalidGreeting).
        4121  +
/// /* ServerBuilderGenerator.kt:171 */See [`InvalidGreeting`](crate::error::InvalidGreeting).
 2005   4122   
pub mod invalid_greeting {
 2006   4123   
        4124  +
    /* ServerBuilderGenerator.kt:461 */
 2007   4125   
    impl ::std::convert::From<Builder> for crate::error::InvalidGreeting {
 2008   4126   
        fn from(builder: Builder) -> Self {
 2009   4127   
            builder.build()
 2010   4128   
        }
 2011   4129   
    }
 2012         -
    /// A builder for [`InvalidGreeting`](crate::error::InvalidGreeting).
        4130  +
    /// /* ServerBuilderGenerator.kt:201 */A builder for [`InvalidGreeting`](crate::error::InvalidGreeting).
        4131  +
    /* RustType.kt:516 */
 2013   4132   
    #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
        4133  +
    /* ServerBuilderGenerator.kt:211 */
 2014   4134   
    pub struct Builder {
        4135  +
        /* ServerBuilderGenerator.kt:308 */
 2015   4136   
        pub(crate) message: ::std::option::Option<::std::string::String>,
        4137  +
        /* ServerBuilderGenerator.kt:211 */
 2016   4138   
    }
        4139  +
    /* ServerBuilderGenerator.kt:215 */
 2017   4140   
    impl Builder {
        4141  +
        /* ServerBuilderGenerator.kt:331 */
 2018   4142   
        #[allow(missing_docs)] // documentation missing in model
        4143  +
                               /* ServerBuilderGenerator.kt:343 */
 2019   4144   
        pub fn message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
 2020         -
            self.message = input;
        4145  +
            /* ServerBuilderGenerator.kt:344 */
        4146  +
            self.message =
        4147  +
                /* ServerBuilderGenerator.kt:376 */input
        4148  +
            /* ServerBuilderGenerator.kt:344 */;
 2021   4149   
            self
        4150  +
            /* ServerBuilderGenerator.kt:343 */
 2022   4151   
        }
 2023         -
        /// Consumes the builder and constructs a [`InvalidGreeting`](crate::error::InvalidGreeting).
        4152  +
        /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`InvalidGreeting`](crate::error::InvalidGreeting).
        4153  +
        /* ServerBuilderGenerator.kt:271 */
 2024   4154   
        pub fn build(self) -> crate::error::InvalidGreeting {
 2025   4155   
            self.build_enforcing_all_constraints()
 2026   4156   
        }
        4157  +
        /* ServerBuilderGenerator.kt:283 */
 2027   4158   
        fn build_enforcing_all_constraints(self) -> crate::error::InvalidGreeting {
        4159  +
            /* ServerBuilderGenerator.kt:542 */
 2028   4160   
            crate::error::InvalidGreeting {
        4161  +
                /* ServerBuilderGenerator.kt:546 */
 2029   4162   
                message: self.message,
        4163  +
                /* ServerBuilderGenerator.kt:542 */
 2030   4164   
            }
        4165  +
            /* ServerBuilderGenerator.kt:283 */
 2031   4166   
        }
        4167  +
        /* ServerBuilderGenerator.kt:215 */
 2032   4168   
    }
        4169  +
        4170  +
    /* RustCrateInlineModuleComposingWriter.kt:299 */
 2033   4171   
}