Expand description
Re-exports commonly used types for convenient use across the crate.
Intended to be glob-imported like use crate::prelude::*;
.
Re-exports§
pub use crate::error::TryToOptional;
pub use crate::CourseOrExamId;
pub use crate::ModelError;
pub use crate::ModelErrorType;
pub use crate::ModelResult;
pub use crate::PKeyPolicy;
Structs§
- ISO 8601 combined date and time with time zone.
- Represents the URL query parameters
page
andlimit
, used for paginating database queries. - A connection to a PostgreSQL database.
- The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).
- A Universally Unique Identifier (UUID).
Traits§
- The error types of this program all implement this trait for interoperability.
- Represents a single database connection.
- A data structure that can be deserialized from any data format supported by Serde.
- A record that can be built from a row returned by the database.
- A data structure that can be serialized into any data format supported by Serde.
- Indicates that a SQL type is supported for a database.