pub struct PostgresSnapshotStoreConfig { /* private fields */ }
Expand description
Configuration for the PostgresSnapshotStore.
Implementations§
source§impl Config
impl Config
pub fn with_host<T>(self, host: T) -> Selfwhere
T: Into<String>,
pub fn with_port(self, port: u16) -> Self
pub fn with_user<T>(self, user: T) -> Selfwhere
T: Into<String>,
pub fn with_password<T>(self, password: T) -> Selfwhere
T: Into<String>,
pub fn with_dbname<T>(self, dbname: T) -> Selfwhere
T: Into<String>,
pub fn with_sslmode<T>(self, sslmode: T) -> Selfwhere
T: Into<String>,
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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