pub enum ExportFileType {
Sqlite,
Json,
Csv,
}Expand description
Represents the file type to be used for data export.
The ExportFileType enum defines the different formats supported for exporting data,
allowing the caller to choose between database, structured data, and tabular formats.
This is particularly useful in scenarios where data needs to be shared, stored, or analyzed
in various ways.
§Variants
Sqlite: Exports the data to a SQLite database file, suitable for structured storage and complex queries.Json: Exports the data to a JSON (JavaScript Object Notation) file, ideal for web applications and data interchange.Csv: Exports the data to a CSV (Comma-Separated Values) file, useful for spreadsheet applications and basic data analysis.
Variants§
Sqlite
Exports data to a SQLite database file.
Json
Exports data to a JSON file.
Csv
Exports data to a CSV file.
Trait Implementations§
Source§impl Clone for ExportFileType
impl Clone for ExportFileType
Source§fn clone(&self) -> ExportFileType
fn clone(&self) -> ExportFileType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExportFileType
Source§impl Debug for ExportFileType
impl Debug for ExportFileType
Source§impl Display for ExportFileType
Implements the fmt::Display trait for ExportFileType.
impl Display for ExportFileType
Implements the fmt::Display trait for ExportFileType.
This allows instances of ExportFileType to be formatted as strings,
making it easy to display or print the enum values in a user-friendly way.
impl Eq for ExportFileType
Source§impl PartialEq for ExportFileType
impl PartialEq for ExportFileType
Source§fn eq(&self, other: &ExportFileType) -> bool
fn eq(&self, other: &ExportFileType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExportFileType
Auto Trait Implementations§
impl Freeze for ExportFileType
impl RefUnwindSafe for ExportFileType
impl Send for ExportFileType
impl Sync for ExportFileType
impl Unpin for ExportFileType
impl UnsafeUnpin for ExportFileType
impl UnwindSafe for ExportFileType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.