Struct atter::Common
[−]
[src]
pub struct Common { /* fields omitted */ }
The common atter
config.
Methods
impl Common
[src]
pub fn base_db_path(&self) -> &PathBuf
[src]
The path where the sqlite database lives.
impl Common
[src]
pub fn set_base_db_path(&mut self, val: PathBuf)
[src]
The path where the sqlite database lives.
pub fn set_search_prefix(&mut self, val: Option<String>)
[src]
The Echo Elasticsearch URL prefix (usually 'http://echo')
pub fn set_search_affix(&mut self, val: Option<String>)
[src]
The Echo Elasticsearch URL affix (usually '.kroger.com/elastic/')
pub fn set_search_suffix(&mut self, val: Option<String>)
[src]
The Echo Elasticsearch URL suffix (usually '/_search')
pub fn set_db_prefix(&mut self, val: Option<String>)
[src]
The sqlite database prefix (usually 'ordmon')
pub fn set_db_suffix(&mut self, val: Option<String>)
[src]
The sqlite database suffix (usually '.db')
impl Common
[src]
pub fn search_prefix(&self) -> &str
[src]
pub fn search_affix(&self) -> &str
[src]
pub fn search_suffix(&self) -> &str
[src]
pub fn scroll_affix(&self) -> &str
[src]
pub fn db_prefix(&self) -> &str
[src]
pub fn db_suffix(&self) -> &str
[src]
Trait Implementations
impl Clone for Common
[src]
fn clone(&self) -> Common
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Common
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more