IntoField

Trait IntoField 

Source
pub trait IntoField: Sealed {
    // Required method
    fn into_field(self, default_name: &str) -> Field;
}
Expand description

Converts a type into a Field. Implementors are DataType and Field.

Required Methods§

Source

fn into_field(self, default_name: &str) -> Field

Implementations on Foreign Types§

Source§

impl IntoField for DataType

Source§

fn into_field(self, default_name: &str) -> Field

Source§

impl IntoField for Field

Source§

fn into_field(self, _default_name: &str) -> Field

Implementors§