Skip to main content

Module char

Module char 

Source

Structs§

Char
A marker type indicating that a Rust string should be interpreted as a SqlScalarType::Char.
CharLength
The length of a SqlScalarType::Char.
InvalidCharLengthError
The error returned when constructing a CharLength from an invalid value.
ProtoCharLength

Functions§

format_str_pad
Ensures that s has fewer than length characters, and returns a String version of it with blank padding so that its width is length characters.
format_str_trim
Ensures that s has fewer than length characters, and returns a String version of it with all whitespace trimmed from the end.