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