pub struct ScalingScheduleBaseConfig {
pub idle_scaling: bool,
pub idle_timeout_minutes: i64,
pub max_replica_memory_gb: f64,
pub max_replicas: i64,
pub min_replica_memory_gb: f64,
pub min_replicas: i64,
}Expand description
ScalingScheduleBaseConfig from the ClickHouse Cloud API.
Fields§
§idle_scaling: bool§idle_timeout_minutes: i64§max_replica_memory_gb: f64§max_replicas: i64§min_replica_memory_gb: f64§min_replicas: i64Trait Implementations§
Source§impl Clone for ScalingScheduleBaseConfig
impl Clone for ScalingScheduleBaseConfig
Source§fn clone(&self) -> ScalingScheduleBaseConfig
fn clone(&self) -> ScalingScheduleBaseConfig
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 ScalingScheduleBaseConfig
impl Debug for ScalingScheduleBaseConfig
Source§impl Default for ScalingScheduleBaseConfig
impl Default for ScalingScheduleBaseConfig
Source§fn default() -> ScalingScheduleBaseConfig
fn default() -> ScalingScheduleBaseConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScalingScheduleBaseConfig
impl<'de> Deserialize<'de> for ScalingScheduleBaseConfig
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 PartialEq for ScalingScheduleBaseConfig
impl PartialEq for ScalingScheduleBaseConfig
Source§fn eq(&self, other: &ScalingScheduleBaseConfig) -> bool
fn eq(&self, other: &ScalingScheduleBaseConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScalingScheduleBaseConfig
Auto Trait Implementations§
impl Freeze for ScalingScheduleBaseConfig
impl RefUnwindSafe for ScalingScheduleBaseConfig
impl Send for ScalingScheduleBaseConfig
impl Sync for ScalingScheduleBaseConfig
impl Unpin for ScalingScheduleBaseConfig
impl UnsafeUnpin for ScalingScheduleBaseConfig
impl UnwindSafe for ScalingScheduleBaseConfig
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