forked from loafle/openapi-generator-original
* fix(rust-server): Use ok_or_else instead of ok_or * fix(rust-server): Remove empty format string * fix(rust-server): Remove redundant field names in struct initialisation * fix(rust-server): Remove redundant clones * fix(rust-server): Derive Eq with PartialEq always * fix(rust-server): Remove immediately pushes replaced by vec macro * fix(rust-server): Remove useless conversions * fix(rust-server): Dismiss clippy::new_without_default * fix(rust-server): Fix compilation failures * fix(rust-server): Resolve remaining warnings * build(rust-server): Add newly generated samples of petstore * fix(rust-server): Allow clippy::derive_partial_eq_without_eq to avoid float types try to derive Eq * fix(rust-server): Fix parts to compile samples successfully * fix(rust-server): Allow clippy::redundant_clone instead of removing redundant map_err * fix(rust-server): Resolve and dismiss lots of warnings to satisfy clippy on samples * build(rust-server): Add clippy execution to sample integration test * build(rust-server): Add .cargo/config to the test root to use -Dwarnings flag in tests * fix(rust-server): Allow unused_mut to avoid compilation fails in some environments