Struct mule::Dataset[][src]

pub struct Dataset<T: Typer> {
    pub column_names: Option<Vec<String>>,
    pub column_types: Vec<T::TypeTag>,
    pub data: Vec<Vec<ColumnValue<T::TypedValue>>>,
    pub row_count: usize,
}

Fields

column_names: Option<Vec<String>>column_types: Vec<T::TypeTag>data: Vec<Vec<ColumnValue<T::TypedValue>>>row_count: usize

Implementations

impl<T: Typer> Dataset<T>[src]

pub async fn read_file(
    file_path: impl AsRef<Path> + Clone,
    options: ReadingOptions,
    typer: &T
) -> Result<Dataset<T>>
[src]

Trait Implementations

impl<T: Clone + Typer> Clone for Dataset<T> where
    T::TypeTag: Clone,
    T::TypedValue: Clone
[src]

impl<T: Debug + Typer> Debug for Dataset<T> where
    T::TypeTag: Debug,
    T::TypedValue: Debug
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Dataset<T> where
    <T as Typer>::TypeTag: RefUnwindSafe,
    <T as Typer>::TypedValue: RefUnwindSafe

impl<T> Send for Dataset<T> where
    <T as Typer>::TypeTag: Send,
    <T as Typer>::TypedValue: Send

impl<T> Sync for Dataset<T> where
    <T as Typer>::TypeTag: Sync,
    <T as Typer>::TypedValue: Sync

impl<T> Unpin for Dataset<T> where
    <T as Typer>::TypeTag: Unpin,
    <T as Typer>::TypedValue: Unpin

impl<T> UnwindSafe for Dataset<T> where
    <T as Typer>::TypeTag: UnwindSafe,
    <T as Typer>::TypedValue: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.