Re-exports§
pub use cli::VitrailCli;pub use cli::run_cli;pub use sqlx;
Modules§
- cli
- rust_
decimal - A Decimal number implementation written in pure Rust suitable for financial calculations that require significant integral and fractional digits with no round-off errors.
- serde_
json - Serde JSON
- sqlx
- The async SQL toolkit for Rust, built with ❤️ by the LaunchBadge team.
Macros§
Structs§
- Applied
Migration - Apply
Migrations Report - Default
Attribute - Delete
Many - Executable bulk delete returning the number of affected rows.
- Embedded
Migrations - Field
- Field
Builder - Generated
Migration - Insert
- Executable scalar insert for exactly one row.
- Insert
Values - Migration
- Migration
Directory - Model
- Model
Builder - Model
Index Attribute - Model
Index Attribute Builder - Model
Primary KeyAttribute - Model
Primary KeyAttribute Builder - Model
Unique Attribute - Model
Unique Attribute Builder - Postgres
Column - Postgres
Foreign Key - Postgres
Index - Postgres
Migration - Postgres
Migrator - Postgres
Primary Key - Postgres
Schema - Postgres
Table - Query
- Query
Relation Selection - Query
Selection - Query
Variables - Relation
Attribute - Relation
Attribute Builder - Rust
Type Attribute - Scalar
Field Type - Schema
- Schema definition for
vitrail-pg. - Schema
Builder - Transaction
Options - Options for starting a
VitrailTransactionthroughVitrailClient::begin_with_options(...). - Update
Many - Executable scalar bulk update returning the number of affected rows.
- Update
Values - Validation
Error - Validation
Errors - Vitrail
Client - Postgres client entry point.
- Vitrail
Transaction - Explicit Postgres transaction handle for executing Vitrail operations atomically.
Enums§
- Attribute
- Column
Default - Column
Type - Default
Function - Field
Kind - Field
Type - Foreign
KeyAction - Insert
Value - Migrator
Error - Model
Attribute - Query
Filter - Query
Filter Value - Query
Filter Values - Query
Order - Query
Order Direction - Query
Pagination - Query
Variable Value - Resolution
- Scalar
Type - Transaction
Isolation Level - Supported Postgres transaction isolation levels for
TransactionOptions::isolation_level. - Update
Value - Validation
Location
Traits§
- Delete
Many Model - Runtime contract implemented by bulk delete models.
- Delete
Spec - Runtime contract implemented by executable delete values.
- Insert
Model - Runtime contract implemented by insert result models.
- Insert
Scalar - Insert
Spec - Runtime contract implemented by executable insert values.
- Insert
Value Set - Converts a user-provided input into executable insert values.
- Migration
Source - Query
Model - Query
Result Value - Query
Scalar - Query
Spec - Runtime contract implemented by executable query values.
- Query
Value - Query
Variable Set - Schema
Access - String
Value Type - Update
Many Model - Runtime contract implemented by bulk update models.
- Update
Scalar - Update
Spec - Runtime contract implemented by executable update values.
- Update
Value Set - Converts a user-provided input into executable update values.
Functions§
- alias_
name - json_
array_ field - json_
as_ bool - json_
as_ bytes - json_
as_ datetime_ utc - json_
as_ decimal - json_
as_ f64 - json_
as_ i64 - json_
as_ string - json_
value - parse_
decimal - query_
model_ is_ null - row_
as_ bytes - row_
as_ datetime_ utc - row_
as_ decimal - row_
value - schema_
error
Type Aliases§
- BoxFuture
- An owned dynamically typed
Futurefor use in cases where you can’t statically type your result or need to add some indirection.