Trait IntoField
Source pub trait IntoField: Sealed {
// Required method
fn into_field(self, default_name: &str) -> Field;
}
Expand description
Converts into a Field.
- For
Field, it is returned as is.
- For
DataType, a new Field is created with the given default_name.