#[non_exhaustive]pub enum SincalContainer {
Sqlite,
Archive {
project_name: String,
},
#[non_exhaustive] ArchiveWithOptions {
project_name: String,
options: ArchiveOptions,
},
}Expand description
Container for fresh experimental SINCAL input data. The destination filename does not select a container or change the electrical family.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Sqlite
One schema-14.8 SQLite input database.
Archive
Deterministic candidate .sinx packaging. This does not include an
undocumented desktop .sin file, diagrams, results or an Access database.
Kept for compatibility: callers build this struct variant directly,
so it cannot gain a field. New code should use
SincalContainer::archive_with, whose ArchiveOptions can grow.
#[non_exhaustive]ArchiveWithOptions
The same .sinx packaging as SincalContainer::Archive, with
packaging options. Build it with SincalContainer::archive_with.
Fields
This variant is marked as non-exhaustive
options: ArchiveOptionsPackaging options; ArchiveOptions::default packages exactly as
SincalContainer::Archive does.
Implementations§
Source§impl SincalContainer
impl SincalContainer
Sourcepub fn archive_with(
project_name: impl Into<String>,
options: ArchiveOptions,
) -> Self
pub fn archive_with( project_name: impl Into<String>, options: ArchiveOptions, ) -> Self
Candidate .sinx packaging with explicit options. With
ArchiveOptions::default() the output is the same as
SincalContainer::Archive with the same project name.
Trait Implementations§
Source§impl Clone for SincalContainer
impl Clone for SincalContainer
Source§fn clone(&self) -> SincalContainer
fn clone(&self) -> SincalContainer
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more