pub struct ClickPipeScalingResponse {
pub replica_cpu_millicores: Option<i64>,
pub replica_memory_gb: Option<f64>,
pub replicas: Option<i64>,
}Expand description
ClickPipeScaling from the ClickHouse Cloud API, in response position.
Response variant of ClickPipeScaling: every field is Option<T>, so a
field the API drops or sends as null deserializes to None instead of
failing.
Fields§
§replica_cpu_millicores: Option<i64>§replica_memory_gb: Option<f64>§replicas: Option<i64>Trait Implementations§
Source§impl Clone for ClickPipeScalingResponse
impl Clone for ClickPipeScalingResponse
Source§fn clone(&self) -> ClickPipeScalingResponse
fn clone(&self) -> ClickPipeScalingResponse
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 ClickPipeScalingResponse
impl Debug for ClickPipeScalingResponse
Source§impl Default for ClickPipeScalingResponse
impl Default for ClickPipeScalingResponse
Source§fn default() -> ClickPipeScalingResponse
fn default() -> ClickPipeScalingResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickPipeScalingResponse
impl<'de> Deserialize<'de> for ClickPipeScalingResponse
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 ClickPipeScalingResponse
impl PartialEq for ClickPipeScalingResponse
Source§impl Serialize for ClickPipeScalingResponse
impl Serialize for ClickPipeScalingResponse
impl StructuralPartialEq for ClickPipeScalingResponse
Auto Trait Implementations§
impl Freeze for ClickPipeScalingResponse
impl RefUnwindSafe for ClickPipeScalingResponse
impl Send for ClickPipeScalingResponse
impl Sync for ClickPipeScalingResponse
impl Unpin for ClickPipeScalingResponse
impl UnsafeUnpin for ClickPipeScalingResponse
impl UnwindSafe for ClickPipeScalingResponse
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