pub enum AutoscalingMode {
Vertical,
Horizontal,
Unknown(String),
}Expand description
autoscalingMode enum from the ClickHouse Cloud API.
Used by Service, ServicePostRequest, ServiceReplicaScalingPatchRequest,
ServiceScalingPatchResponse, ScalingScheduleBaseConfig,
ScalingScheduleEntry, and ScalingScheduleEntryRequest.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AutoscalingMode
impl Clone for AutoscalingMode
Source§fn clone(&self) -> AutoscalingMode
fn clone(&self) -> AutoscalingMode
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 AutoscalingMode
impl Debug for AutoscalingMode
Source§impl Default for AutoscalingMode
impl Default for AutoscalingMode
Source§fn default() -> AutoscalingMode
fn default() -> AutoscalingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoscalingMode
impl<'de> Deserialize<'de> for AutoscalingMode
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 Display for AutoscalingMode
impl Display for AutoscalingMode
Source§impl PartialEq for AutoscalingMode
impl PartialEq for AutoscalingMode
Source§impl Serialize for AutoscalingMode
impl Serialize for AutoscalingMode
impl StructuralPartialEq for AutoscalingMode
Auto Trait Implementations§
impl Freeze for AutoscalingMode
impl RefUnwindSafe for AutoscalingMode
impl Send for AutoscalingMode
impl Sync for AutoscalingMode
impl Unpin for AutoscalingMode
impl UnsafeUnpin for AutoscalingMode
impl UnwindSafe for AutoscalingMode
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