Re-exportsยง
pub use crate::relation_and_scalar::ProtoColumnMetadata;
pub use crate::relation_and_scalar::ProtoColumnName;
pub use crate::relation_and_scalar::ProtoColumnType;
pub use crate::relation_and_scalar::ProtoRelationDesc;
pub use crate::relation_and_scalar::ProtoRelationType;
pub use crate::relation_and_scalar::ProtoRelationVersion;
Structsยง
- Stable index of a column in a
RelationDesc
. - Column
Metadata ๐Metadata (other than type) for a column in aRelationDesc
. - The name of a column in a
RelationDesc
. - The type of a
Datum
. - Expression violated not-null constraint on named column
- A description of the shape of a relation.
- A builder for a
RelationDesc
. - The type of a relation.
- The version a given column was added at.
- A wrapper around
RelationDesc
that provides an interface for adding columns and generating new versions.
Enumsยง
- Diffs that can be generated proptest and applied to a
RelationDesc
to exercise schema migrations. - Describes a
RelationDesc
at a specific version of aVersionedRelationDesc
.
Constantsยง
Functionsยง
- Returns a
Strategy
that generates an arbitraryRelationDesc
with a number columns within the range provided. - Generates a set of
PropRelationDescDiff
s based on some sourceRelationDesc
. - return_
true ๐This method exists solely for the purpose of making ColumnType nullable by default in unit tests. The default value of a bool is false, and the only way to make an object take on any other value by default is to pass it a function that returns the desired default value. See https://github.com/serde-rs/serde/issues/1030