Struct plm_rs::config::Config [−][src]
pub struct Config { pub database_name: String, pub library_name: String, pub attrition_config: AttritionConfig, pub part_number_ignore_list: Vec<String>, }
Expand description
Config that can be installed locally
Fields
database_name: String
Name of database within config folder
library_name: String
Library name
attrition_config: AttritionConfig
Attrition config
part_number_ignore_list: Vec<String>
Ignore parts that contain one of these
Trait Implementations
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 RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more