Server Test

Server Test

rev. 03f9d3736bb06bbe282d7bfe7c28721562f20a05 (ignoring whitespace)

Files changed:

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

@@ -1,1 +54,62 @@
   15     15   
    pub fn path(&self) -> &str {
   16     16   
        use std::ops::Deref;
   17     17   
        self.path.deref()
   18     18   
    }
   19     19   
    /// A detailed description of the validation failure.
   20     20   
    pub fn message(&self) -> &str {
   21     21   
        use std::ops::Deref;
   22     22   
        self.message.deref()
   23     23   
    }
   24     24   
}
          25  +
impl ::std::fmt::Display for ValidationExceptionField {
          26  +
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
          27  +
        ::std::write!(f, "ValidationExceptionField {{")?;
          28  +
        ::std::write!(f, "path={}", &self.path)?;
          29  +
        ::std::write!(f, ", message={}", &self.message)?;
          30  +
        ::std::write!(f, "}}")
          31  +
    }
          32  +
}
   25     33   
impl ValidationExceptionField {
   26     34   
    /// Creates a new builder-style object to manufacture [`ValidationExceptionField`](crate::model::ValidationExceptionField).
   27     35   
    pub fn builder() -> crate::model::validation_exception_field::Builder {
   28     36   
        crate::model::validation_exception_field::Builder::default()
   29     37   
    }
   30     38   
}
   31     39   
   32     40   
#[allow(missing_docs)] // documentation missing in model
   33     41   
///
   34     42   
/// This is a constrained type because its corresponding modeled Smithy shape has one or more