IntoFields

Trait IntoFields 

Source
pub trait IntoFields {
    // Required method
    fn into(self) -> Fields;
}
Expand description

Trait for converting a type into a [Fields]

This avoids to avoid having to call clone() on an Arc’d Fields when adding a field to a ScalarStructBuilder

TODO potentially upstream this to arrow-rs so that we can use impl Into<Fields> instead

Required Methods§

Source

fn into(self) -> Fields

Implementations on Foreign Types§

Source§

impl IntoFields for &Fields

Source§

fn into(self) -> Fields

Source§

impl IntoFields for Vec<Field>

Source§

fn into(self) -> Fields

Source§

impl IntoFields for Fields

Source§

fn into(self) -> Fields

Implementors§