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