pub struct PostgresInClusterConfig {
pub namespace: String,
pub storage_class: String,
pub storage_size: String,
pub use_operator: bool,
}Expand description
PostgreSQL in-cluster deployment configuration
Fields§
§namespace: StringNamespace to deploy in
storage_class: StringStorage class for persistent volume
storage_size: StringStorage size (e.g., “20Gi”)
use_operator: boolUse operator (e.g., Zalando postgres-operator)
Trait Implementations§
Source§impl Clone for PostgresInClusterConfig
impl Clone for PostgresInClusterConfig
Source§fn clone(&self) -> PostgresInClusterConfig
fn clone(&self) -> PostgresInClusterConfig
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 PostgresInClusterConfig
impl Debug for PostgresInClusterConfig
Source§impl<'de> Deserialize<'de> for PostgresInClusterConfig
impl<'de> Deserialize<'de> for PostgresInClusterConfig
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 PostgresInClusterConfig
impl Serialize for PostgresInClusterConfig
Source§impl Validate for PostgresInClusterConfig
impl Validate for PostgresInClusterConfig
Source§impl<'v_a> ValidateArgs<'v_a> for PostgresInClusterConfig
impl<'v_a> ValidateArgs<'v_a> for PostgresInClusterConfig
Auto Trait Implementations§
impl Freeze for PostgresInClusterConfig
impl RefUnwindSafe for PostgresInClusterConfig
impl Send for PostgresInClusterConfig
impl Sync for PostgresInClusterConfig
impl Unpin for PostgresInClusterConfig
impl UnwindSafe for PostgresInClusterConfig
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