Struct rtlola_input_plugins::csv_plugin::CsvRecord
source · pub struct CsvRecord(_);
Expand description
The record as read from the csv data
Trait Implementations§
source§impl From<ByteRecord> for CsvRecord
impl From<ByteRecord> for CsvRecord
source§fn from(rec: ByteRecord) -> Self
fn from(rec: ByteRecord) -> Self
Converts to this type from the input type.
source§impl Record for CsvRecord
impl Record for CsvRecord
§type CreationData = CsvColumnMapping
type CreationData = CsvColumnMapping
Arbitrary type of the data provided at creation time to help initializing the input method.
source§fn func_for_input(
name: &str,
data: Self::CreationData
) -> Result<ValueProjection<Self, Self::Error>, Self::Error>
fn func_for_input(
name: &str,
data: Self::CreationData
) -> Result<ValueProjection<Self, Self::Error>, Self::Error>
Given the name of an input this function returns a function that given a record returns the value for that input.