Expand description
Traits and implementations of functionality relating to Postgres null and nullable types, particularly in relation to arrays and other container types which implement nullable (empty slot) behavior in a “structure-of-arrays” manner
Structs§
- Bitmap of null slots on a container. For example, 00001001 would represent: [valid, valid, valid, valid, null, valid, valid, null] However, the underlying data buffer would be: [valid, valid, valid, valid, valid, valid] because of the skip behavior
- Strict i.e. no nulls. Useful for using nullable primitives on non-null structures, especially when this needs to be determined at runtime.
Enums§
Traits§
- IntoIterator-like trait for Nullable elements.
- Represents Postgres internal types which describe the layout of where filled slots (equivalent to Some(T)) are and where nulls (equivalent to None) are in the array. Note that a NullLayout must also capture the length of the container it refers to.