Re-exportsΒ§
pub use crate::relation_and_scalar::ProtoScalarType;pub use crate::relation_and_scalar::proto_scalar_type::ProtoRecordField;
MacrosΒ§
- impl_
datum_ πtype_ copy - Macro to derive InputDatumType and OutputDatumType for all Datum variants that are simple Copy types
- impl_
tuple_ πinput_ datum_ type
StructsΒ§
- Array
Rust Type - A new type that wraps a
Vecthat is used to differentiate the targetDatumbetween Arrays and Lists. The target of this type is Array. - Exclude
Null - A wrapper type that excludes
NULLvalues, even ifBallows them. - Int2
Vector - A wrapper around
Arraythat represents a PostgreSQLint2vectorvalue. - Optional
Arg - Wrapper to distinguish βargument may not be presentβ from
Option<T>(nullable). - Prop
Array - Prop
Dict - Prop
List - Prop
Range - Variadic
- A wrapper type for variadic arguments that consumes the remaining iterator.
EnumsΒ§
- Datum
- A single value.
- Datum
Kind - Prop
Datum - A mirror type for
Datumthat can be proptest-generated. - Repr
Scalar Base Type - Repr
Scalar Type - The type of a
Datumas it is represented. - SqlScalar
Base Type - SqlScalar
Type - The type of a
Datum.
StaticsΒ§
- EMPTY_
ARRAY_ πROW - EMPTY_
LIST_ πROW - EMPTY_
MAP_ πROW
TraitsΒ§
- AsColumn
Type - Types that implement this trait can be stored in an SQL column with the specified SqlColumnType
- Input
Datum Type - A bridge between native Rust types and SQL runtime types represented in Datums
- Output
Datum Type - A bridge between native Rust types and SQL runtime types represented in Datums
FunctionsΒ§
- add_
arb_ duration - arb_
array π - arb_
array_ πdimension - arb_
date π - arb_
datum - Generate an arbitrary
PropDatum. - arb_
datum_ for_ column - Generates an arbitrary
PropDatumfor the providedSqlColumnType. - arb_
datum_ for_ scalar - Generates an arbitrary
PropDatumfor the providedSqlScalarType. - arb_
dict π - arb_
list π - arb_
naive_ date_ time - Generates an arbitrary
NaiveDateTime. - arb_
numeric π - arb_
range π - arb_
range_ πdata - arb_
range_ type - arb_
record π - arb_
utc_ date_ time - Generates an arbitrary
DateTimeinUtc. - write_
delimited π