Function repr::adt::char::format_str_trim [−][src]
Expand description
Ensures that s
has fewer than length
characters, and returns a String
version of it with all whitespace trimmed from the end.
The value returned is appropriate to store in Datum::String
, but is not
appropriate to return to clients.