Struct libsalmo::config::ConfigEnvironment
source · pub struct ConfigEnvironment {
pub name: String,
pub is_production: bool,
pub connection: ConnectionInfo,
pub schema_name: Option<String>,
}Fields§
§name: String§is_production: bool§connection: ConnectionInfo§schema_name: Option<String>Implementations§
source§impl ConfigEnvironment
impl ConfigEnvironment
pub fn backend(&self) -> Result<Box<dyn DatabaseBackend>>
Trait Implementations§
source§impl Clone for ConfigEnvironment
impl Clone for ConfigEnvironment
source§fn clone(&self) -> ConfigEnvironment
fn clone(&self) -> ConfigEnvironment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more