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