pub struct PostgresStandaloneConfig {
pub deploy_on: String,
pub data_dir: Option<String>,
pub max_connections: Option<u32>,
pub shared_buffers: Option<String>,
}Expand description
PostgreSQL standalone deployment configuration
Fields§
§deploy_on: StringServer group to deploy on
data_dir: Option<String>Data directory (optional, uses default if not specified)
max_connections: Option<u32>Max connections (optional, uses default if not specified)
Shared buffers setting (e.g., “256MB”)
Trait Implementations§
Source§impl Clone for PostgresStandaloneConfig
impl Clone for PostgresStandaloneConfig
Source§fn clone(&self) -> PostgresStandaloneConfig
fn clone(&self) -> PostgresStandaloneConfig
Returns a duplicate 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 moreSource§impl Debug for PostgresStandaloneConfig
impl Debug for PostgresStandaloneConfig
Source§impl<'de> Deserialize<'de> for PostgresStandaloneConfig
impl<'de> Deserialize<'de> for PostgresStandaloneConfig
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
Source§impl Serialize for PostgresStandaloneConfig
impl Serialize for PostgresStandaloneConfig
Source§impl Validate for PostgresStandaloneConfig
impl Validate for PostgresStandaloneConfig
Source§impl<'v_a> ValidateArgs<'v_a> for PostgresStandaloneConfig
impl<'v_a> ValidateArgs<'v_a> for PostgresStandaloneConfig
Auto Trait Implementations§
impl Freeze for PostgresStandaloneConfig
impl RefUnwindSafe for PostgresStandaloneConfig
impl Send for PostgresStandaloneConfig
impl Sync for PostgresStandaloneConfig
impl Unpin for PostgresStandaloneConfig
impl UnwindSafe for PostgresStandaloneConfig
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