Structs§
- Char
- A marker type indicating that a Rust string should be interpreted as a
ScalarType::Char
. - Char
Length - The
length
of aScalarType::Char
. - Invalid
Char Length Error - The error returned when constructing a
CharLength
from an invalid value. - Proto
Char Length
Enums§
- Char
White 🔒Space - Controls how to handle trailing whitespace at the end of bpchar data.
Constants§
Functions§
- format_
char_ 🔒str - Returns
s
as aString
with options to enforce char and varchar semantics. - format_
str_ pad - Ensures that
s
has fewer thanlength
characters, and returns aString
version of it with blank padding so that its width islength
characters. - format_
str_ trim - Ensures that
s
has fewer thanlength
characters, and returns aString
version of it with all whitespace trimmed from the end.