pub struct LimitConfig {
pub max_scaling_factor: Option<f32>,
pub min_scaling_factor: Option<f32>,
}Expand description
Represents the autoscaling limit configuration of a metastore service.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_scaling_factor: Option<f32>Optional. The highest scaling factor that the service should be autoscaled to.
min_scaling_factor: Option<f32>Optional. The lowest scaling factor that the service should be autoscaled to.
Trait Implementations§
Source§impl Clone for LimitConfig
impl Clone for LimitConfig
Source§fn clone(&self) -> LimitConfig
fn clone(&self) -> LimitConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LimitConfig
impl Debug for LimitConfig
Source§impl Default for LimitConfig
impl Default for LimitConfig
Source§fn default() -> LimitConfig
fn default() -> LimitConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LimitConfig
impl<'de> Deserialize<'de> for LimitConfig
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 Serialize for LimitConfig
impl Serialize for LimitConfig
impl Part for LimitConfig
Auto Trait Implementations§
impl Freeze for LimitConfig
impl RefUnwindSafe for LimitConfig
impl Send for LimitConfig
impl Sync for LimitConfig
impl Unpin for LimitConfig
impl UnwindSafe for LimitConfig
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