Enum mame_parser::models::ExportFileType
source · 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 copy 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 ExportFileType
impl Debug for ExportFileType
source§impl Display 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.
source§impl PartialEq for ExportFileType
impl PartialEq for ExportFileType
impl Copy for ExportFileType
impl Eq for ExportFileType
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.