Enum repr::adt::char::CharWhiteSpace [−][src]
enum CharWhiteSpace {
Trim,
Pad,
}
Expand description
Controls how to handle trailing whitespace at the end of bpchar data.
Variants
Trim
Trim all whitespace from strings, which is appropriate for storing bpchar data in Materialize. bpchar data is stored in datums with its trailing whitespace trimmed to enforce the same equality semantics as PG, while also allowing us to bit-wise equality on rows.
Pad
Blank pad strings, which is appropriate for returning bpchar data out of Materialize.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CharWhiteSpace
impl Send for CharWhiteSpace
impl Sync for CharWhiteSpace
impl Unpin for CharWhiteSpace
impl UnwindSafe for CharWhiteSpace
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more