Struct mule::Schema[][src]

pub struct Schema<T: Typer> {
    pub column_types: Vec<T::ColumnType>,
}

Fields

column_types: Vec<T::ColumnType>

Implementations

impl<T: Typer + Send + Sync> Schema<T>[src]

pub async fn infer(
    file_path: impl AsRef<Path>,
    skip_header: bool,
    inference_depth: &SchemaInferenceDepth,
    parsing_options: &LineParsingOptions,
    typer: &T
) -> Result<Schema<T>>
[src]

Trait Implementations

impl<T: Clone + Typer> Clone for Schema<T> where
    T::ColumnType: Clone
[src]

impl<T: Debug + Typer> Debug for Schema<T> where
    T::ColumnType: Debug
[src]

impl<T: Eq + Typer> Eq for Schema<T> where
    T::ColumnType: Eq
[src]

impl<T: PartialEq + Typer> PartialEq<Schema<T>> for Schema<T> where
    T::ColumnType: PartialEq
[src]

impl<T: Typer> StructuralEq for Schema<T>[src]

impl<T: Typer> StructuralPartialEq for Schema<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Schema<T> where
    <T as Typer>::ColumnType: RefUnwindSafe

impl<T> Send for Schema<T>

impl<T> Sync for Schema<T>

impl<T> Unpin for Schema<T> where
    <T as Typer>::ColumnType: Unpin

impl<T> UnwindSafe for Schema<T> where
    <T as Typer>::ColumnType: 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> Pointable for T

type Init = T

The type for initializers.

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.