Skip to main content
pub enum FileType 
    DelimitedText,
    Parquet,
    Json,
    Shapefile,

The type of the files ingested.

Variants

DelimitedText

Delimited text, such as CSV

Parquet

Parquet

Json

JSON

Shapefile

Shapefile

Implementations

Source

pub fn as_str(&self) -> &‘static str

The type’s name, as the server takes it.

Source

pub fn default_partition_type(&self) -> &‘static str

The default type’s name.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Source

fn eq(&self, other: &FileType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.