Skip to main content

default_columns_for

Function default_columns_for 

Source
pub fn default_columns_for(class_name: &str) -> Vec<(&'static str, FieldType)>
Expand description

The additional default columns of one class, or empty for a class that has none.

defaultColumns is a table of thirteen classes upstream. Only the four parse-rust writes to today are modelled, because a table entry that is never exercised is a transcription that nothing checks. Adding a class here is required before that class can be served.

Not a const, because Relation/Pointer carry an owned target class.