Struct controller::cloudnativepg::poolers::PoolerSpec
source · pub struct PoolerSpec {
pub cluster: PoolerCluster,
pub deployment_strategy: Option<PoolerDeploymentStrategy>,
pub instances: i32,
pub monitoring: Option<PoolerMonitoring>,
pub pgbouncer: PoolerPgbouncer,
pub template: Option<PoolerTemplate>,
pub type: PoolerType,
}Fields§
§cluster: PoolerCluster§deployment_strategy: Option<PoolerDeploymentStrategy>§instances: i32§monitoring: Option<PoolerMonitoring>§pgbouncer: PoolerPgbouncer§template: Option<PoolerTemplate>§type: PoolerTypeTrait Implementations§
source§impl Clone for PoolerSpec
impl Clone for PoolerSpec
source§fn clone(&self) -> PoolerSpec
fn clone(&self) -> PoolerSpec
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 moresource§impl Debug for PoolerSpec
impl Debug for PoolerSpec
source§impl<'de> Deserialize<'de> for PoolerSpec
impl<'de> Deserialize<'de> for PoolerSpec
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 JsonSchema for PoolerSpec
impl JsonSchema for PoolerSpec
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for PoolerSpec
impl Send for PoolerSpec
impl Sync for PoolerSpec
impl Unpin for PoolerSpec
impl UnwindSafe for PoolerSpec
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