pub struct PgConfigResponse {Show 31 fields
pub autovacuum_analyze_scale_factor: Option<Value>,
pub autovacuum_max_workers: Option<Value>,
pub autovacuum_naptime: Option<Value>,
pub autovacuum_vacuum_cost_delay: Option<Value>,
pub autovacuum_vacuum_cost_limit: Option<Value>,
pub autovacuum_vacuum_insert_scale_factor: Option<Value>,
pub autovacuum_vacuum_scale_factor: Option<Value>,
pub autovacuum_work_mem: Option<Value>,
pub default_transaction_isolation: Option<PgConfigDefaultTransactionIsolation>,
pub effective_cache_size: Option<Value>,
pub effective_io_concurrency: Option<Value>,
pub idle_in_transaction_session_timeout: Option<Value>,
pub idle_session_timeout: Option<Value>,
pub lock_timeout: Option<Value>,
pub maintenance_work_mem: Option<Value>,
pub max_connections: Option<Value>,
pub max_parallel_maintenance_workers: Option<Value>,
pub max_parallel_workers: Option<Value>,
pub max_parallel_workers_per_gather: Option<Value>,
pub max_slot_wal_keep_size: Option<Value>,
pub max_wal_size: Option<Value>,
pub max_worker_processes: Option<Value>,
pub min_wal_size: Option<Value>,
pub random_page_cost: Option<Value>,
pub ssl_min_protocol_version: Option<PgConfigSslMinProtocolVersion>,
pub statement_timeout: Option<Value>,
pub transaction_timeout: Option<Value>,
pub wal_compression: Option<PgConfigWalCompression>,
pub wal_keep_size: Option<Value>,
pub wal_sender_timeout: Option<Value>,
pub work_mem: Option<Value>,
}Expand description
pgConfig from the ClickHouse Cloud API, in response position.
Response variant of PgConfig: every field is Option<T>, so a field the
API drops or sends as null deserializes to None instead of failing.
Fields§
§autovacuum_analyze_scale_factor: Option<Value>§autovacuum_max_workers: Option<Value>§autovacuum_naptime: Option<Value>§autovacuum_vacuum_cost_delay: Option<Value>§autovacuum_vacuum_cost_limit: Option<Value>§autovacuum_vacuum_insert_scale_factor: Option<Value>§autovacuum_vacuum_scale_factor: Option<Value>§autovacuum_work_mem: Option<Value>§default_transaction_isolation: Option<PgConfigDefaultTransactionIsolation>§effective_cache_size: Option<Value>§effective_io_concurrency: Option<Value>§idle_in_transaction_session_timeout: Option<Value>§idle_session_timeout: Option<Value>§lock_timeout: Option<Value>§maintenance_work_mem: Option<Value>§max_connections: Option<Value>§max_parallel_maintenance_workers: Option<Value>§max_parallel_workers: Option<Value>§max_parallel_workers_per_gather: Option<Value>§max_slot_wal_keep_size: Option<Value>§max_wal_size: Option<Value>§max_worker_processes: Option<Value>§min_wal_size: Option<Value>§random_page_cost: Option<Value>§ssl_min_protocol_version: Option<PgConfigSslMinProtocolVersion>§statement_timeout: Option<Value>§transaction_timeout: Option<Value>§wal_compression: Option<PgConfigWalCompression>§wal_keep_size: Option<Value>§wal_sender_timeout: Option<Value>§work_mem: Option<Value>Trait Implementations§
Source§impl Clone for PgConfigResponse
impl Clone for PgConfigResponse
Source§fn clone(&self) -> PgConfigResponse
fn clone(&self) -> PgConfigResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PgConfigResponse
impl Debug for PgConfigResponse
Source§impl Default for PgConfigResponse
impl Default for PgConfigResponse
Source§fn default() -> PgConfigResponse
fn default() -> PgConfigResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PgConfigResponse
impl<'de> Deserialize<'de> for PgConfigResponse
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 From<PgConfigResponse> for PgConfig
impl From<PgConfigResponse> for PgConfig
Source§fn from(value: PgConfigResponse) -> Self
fn from(value: PgConfigResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PgConfigResponse
impl PartialEq for PgConfigResponse
Source§impl Serialize for PgConfigResponse
impl Serialize for PgConfigResponse
impl StructuralPartialEq for PgConfigResponse
Auto Trait Implementations§
impl Freeze for PgConfigResponse
impl RefUnwindSafe for PgConfigResponse
impl Send for PgConfigResponse
impl Sync for PgConfigResponse
impl Unpin for PgConfigResponse
impl UnsafeUnpin for PgConfigResponse
impl UnwindSafe for PgConfigResponse
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