pub struct CsvdbConfig {
pub format_version: Option<String>,
pub created_by: Option<String>,
pub order: Option<String>,
pub null_mode: Option<String>,
pub natural_sort: Option<bool>,
pub order_by: Option<String>,
pub compressed: Option<bool>,
pub tables: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
pub table_checksums: Option<BTreeMap<String, String>>,
}Expand description
Configuration stored in csvdb.toml alongside a .csvdb directory.
Fields§
§format_version: Option<String>§created_by: Option<String>§order: Option<String>§null_mode: Option<String>§natural_sort: Option<bool>§order_by: Option<String>§compressed: Option<bool>§tables: Option<Vec<String>>§exclude: Option<Vec<String>>§table_checksums: Option<BTreeMap<String, String>>Implementations§
Trait Implementations§
Source§impl Debug for CsvdbConfig
impl Debug for CsvdbConfig
Source§impl Default for CsvdbConfig
impl Default for CsvdbConfig
Source§fn default() -> CsvdbConfig
fn default() -> CsvdbConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CsvdbConfig
impl<'de> Deserialize<'de> for CsvdbConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CsvdbConfig
impl RefUnwindSafe for CsvdbConfig
impl Send for CsvdbConfig
impl Sync for CsvdbConfig
impl Unpin for CsvdbConfig
impl UnwindSafe for CsvdbConfig
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> 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