pub enum IngestionFormat {
Csv,
Json,
Parquet,
Excel,
}Expand description
Supported ingestion formats.
Variants§
Csv
Comma-separated values.
Json
JSON array-of-objects or NDJSON.
Parquet
Apache Parquet.
Excel
Spreadsheet/workbook formats (feature-gated behind excel).
Implementations§
Source§impl IngestionFormat
impl IngestionFormat
Sourcepub fn from_extension(ext: &str) -> Option<Self>
pub fn from_extension(ext: &str) -> Option<Self>
Parse an ingestion format from a file extension (case-insensitive).
Trait Implementations§
Source§impl Clone for IngestionFormat
impl Clone for IngestionFormat
Source§fn clone(&self) -> IngestionFormat
fn clone(&self) -> IngestionFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IngestionFormat
impl Debug for IngestionFormat
Source§impl PartialEq for IngestionFormat
impl PartialEq for IngestionFormat
impl Copy for IngestionFormat
impl Eq for IngestionFormat
impl StructuralPartialEq for IngestionFormat
Auto Trait Implementations§
impl Freeze for IngestionFormat
impl RefUnwindSafe for IngestionFormat
impl Send for IngestionFormat
impl Sync for IngestionFormat
impl Unpin for IngestionFormat
impl UnwindSafe for IngestionFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more