FromArrow

Trait FromArrow 

Source
pub trait FromArrow: Sized {
    // Required method
    fn from_arrow(batch: &ArrowBatch) -> Vec<Self>;
}
Expand description

Used to do ArrowBatch-Native Rust type conversions while consuming the input value.

Required Methods§

Source

fn from_arrow(batch: &ArrowBatch) -> Vec<Self>

Converts to the Vector type from the ArrowBatch type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromArrow for BlockHeader

Source§

fn from_arrow(batch: &ArrowBatch) -> Vec<Self>

Source§

impl FromArrow for Input

Source§

fn from_arrow(batch: &ArrowBatch) -> Vec<Self>

Source§

impl FromArrow for Output

Source§

fn from_arrow(batch: &ArrowBatch) -> Vec<Self>

Source§

impl FromArrow for Receipt

Source§

fn from_arrow(batch: &ArrowBatch) -> Vec<Self>

Source§

impl FromArrow for Transaction

Source§

fn from_arrow(batch: &ArrowBatch) -> Vec<Self>

Implementors§