[−][src]Crate sql_db_mapper_core
Helper types and functions for auto-generateed psql database wrappers
Structs
| Client | Contains and reexports types that callers of the wrapped db would need to use it An asynchronous PostgreSQL client. |
| DateTime | ISO 8601 combined date and time with time zone. |
| Decimal |
|
| Duration | ISO 8601 time duration with nanosecond precision. This also allows for the negative duration; see individual methods for details. |
| Interval | |
| NaiveDate | ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date. |
| NaiveDateTime | ISO 8601 combined date and time without timezone. |
| NaiveTime | ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation. |
| Row | Contains and reexports types that callers of the wrapped db would need to use it A row of data returned from the database by a query. |
| SqlError | Contains and reexports types that callers of the wrapped db would need to use it An error communicating with the Postgres server. |
| Type | A Postgres type. |
| Utc | 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). |
Enums
| IsNull | An enum representing the nullability of a Postgres value. |
Traits
| FromSql | A trait for types that can be created from a Postgres value. |
| Future | A future represents an asynchronous computation. |
| ToPrimitive | A generic trait for converting a value to a number. |
| ToSql | A trait for types that can be converted into Postgres values. |
| TryFromRow |
Derive Macros
| FromSql | |
| ToSql | |
| TryFromRow |