MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / fmt

Method fmt

src/repr/src/relation.rs:258–261  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

256
257impl 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.

Callers

nothing calls this directly

Calls 2

write_fmtMethod · 0.45
write_strMethod · 0.45

Tested by

no test coverage detected