Re-exports§
pub use app::App;pub use router::Router;pub use router::Route;pub use handler::Handler;pub use middleware::Middleware;pub use middleware::Logger;pub use middleware::Cors;pub use request::Request;pub use response::Response;pub use server::Server;pub use error::AppError;pub use error::IntoResponse;pub use logging::init_logging;pub use config::get_config;pub use config::init_config;pub use database::get_database;pub use database::init_database;pub use cache::get_cache;pub use cache::init_cache;pub use ui::*;pub use forms::*;pub use api::*;pub use config::*;pub use assets::*;
Modules§
- api
- app
- assets
- auth
- cache
- compression
- config
- database
- dev
- error
- file_
upload - forms
- handler
- logging
- metrics
- middleware
- request
- response
- router
- server
- session
- static_
files - template
- ui
Macros§
- api_
route - component
- json
- Construct a
serde_json::Valuefrom a JSON literal. - page
- register_
component - register_
page
Structs§
- Body
- A stream of
Bytes, used when receiving bodies. - Method
- The Request Method (VERB)
- Status
Code - An HTTP status code (
status-codein RFC 7230 et al.).
Enums§
- Value
- Represents any valid JSON value.
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.