Function repr::relation::return_true[][src]

fn return_true() -> bool
Expand description

This method exists solely for the purpose of making ColumnType nullable by default in unit tests. The default value of a bool is false, and the only way to make an object take on any other value by default is to pass it a function that returns the desired default value. See https://github.com/serde-rs/serde/issues/1030