(&self, f: &mut fmt::Formatter<'_>)
| 256 | |
| 257 | impl fmt::Display for SqlColumnType { |
| 258 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 259 | let nullable = if self.nullable { "Null" } else { "NotNull" }; |
| 260 | f.write_fmt(format_args!("{:?}:{}", self.scalar_type, nullable)) |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | /// The type of a relation. |