fn clean_name(&self) -> String {
        if self.name.ends_with("_id") {
            return self.name.trim_right_matches("_id").to_owned();
        }
        self.name.to_owned()
    }
/// presentable display names, such as removing the ids if it ends with one
presentable display names, such as removing the ids if it ends with one
presentable display names such as removing the ids if it ends with one
fn clean_name(&self) -> String {
        if self.name.ends_with("_id") {
            return self.name.trim_right_matches("_id").to_owned();
        }
        self.name.to_owned()
    }
fn clean_name ( & self ) -> String { if self . name . ends_with ( " " ) { return self . name . trim_right_matches ( " " ) . to_owned ( ) ; } self . name . to_owned ( ) }
presentable display names, such as removing the ids if it ends with one
presentable display names such as removing the ids if it ends with one
&self
&self