Module prelude

Module prelude 

Source
Expand description

Prelude module for convenient imports

Re-exports§

pub use super::context::Context;
pub use super::db;
pub use super::db::DbRow;
pub use super::db::DbValue;
pub use super::error::Error;
pub use super::error::Result;
pub use super::http;
pub use super::log;
pub use super::response::Response;
pub use super::state;
pub use super::ffi::*;

Macros§

json
Construct a serde_json::Value from a JSON literal.

Enums§

JsonValue
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.

Derive Macros§

Deserialize
Serialize