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