pub struct Common { /* private fields */ }
Expand description
The common atter
config.
Implementations§
Source§impl Common
impl Common
Sourcepub fn base_db_path(&self) -> &PathBuf
pub fn base_db_path(&self) -> &PathBuf
The path where the sqlite database lives.
Source§impl Common
impl Common
Sourcepub fn set_base_db_path(&mut self, val: PathBuf) -> &mut Self
pub fn set_base_db_path(&mut self, val: PathBuf) -> &mut Self
The path where the sqlite database lives.
Sourcepub fn set_search_prefix(&mut self, val: Option<String>) -> &mut Self
pub fn set_search_prefix(&mut self, val: Option<String>) -> &mut Self
The Echo Elasticsearch URL prefix (usually ‘http://echo’)
Sourcepub fn set_search_affix(&mut self, val: Option<String>) -> &mut Self
pub fn set_search_affix(&mut self, val: Option<String>) -> &mut Self
The Echo Elasticsearch URL affix (usually ‘.kroger.com/elastic/’)
Sourcepub fn set_search_suffix(&mut self, val: Option<String>) -> &mut Self
pub fn set_search_suffix(&mut self, val: Option<String>) -> &mut Self
The Echo Elasticsearch URL suffix (usually ‘/_search’)
Sourcepub fn set_db_prefix(&mut self, val: Option<String>) -> &mut Self
pub fn set_db_prefix(&mut self, val: Option<String>) -> &mut Self
The sqlite database prefix (usually ‘ordmon’)
Sourcepub fn set_db_suffix(&mut self, val: Option<String>) -> &mut Self
pub fn set_db_suffix(&mut self, val: Option<String>) -> &mut Self
The sqlite database suffix (usually ‘.db’)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Common
impl<'de> Deserialize<'de> for Common
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
impl StructuralPartialEq for Common
Auto Trait Implementations§
impl Freeze for Common
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnwindSafe for Common
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