Structsยง
- Char
- A marker type indicating that a Rust string should be interpreted as a
SqlScalarType::Char. - Char
Length - The
lengthof aSqlScalarType::Char. - Invalid
Char Length Error - The error returned when constructing a
CharLengthfrom an invalid value. - Proto
Char Length
Enumsยง
- Char
White ๐Space - Controls how to handle trailing whitespace at the end of bpchar data.
Constantsยง
- MAX_
LENGTH ๐
Functionsยง
- format_
char_ ๐str - Returns
sas aStringwith options to enforce char and varchar semantics. - format_
str_ pad - Ensures that
shas fewer thanlengthcharacters, and returns aStringversion of it with blank padding so that its width islengthcharacters. - format_
str_ trim - Ensures that
shas fewer thanlengthcharacters, and returns aStringversion of it with all whitespace trimmed from the end.