pub struct AutoscalingStorage {
pub enabled: bool,
pub maximum: Option<Option<Storage>>,
}Expand description
AutoscalingStorage : AutoscalingStorage configures the automatic scaling of instance storage.
Fields§
§enabled: boolEnable autoscaling for storage
maximum: Option<Option<Storage>>Implementations§
Source§impl AutoscalingStorage
impl AutoscalingStorage
Sourcepub fn new(enabled: bool) -> AutoscalingStorage
pub fn new(enabled: bool) -> AutoscalingStorage
AutoscalingStorage configures the automatic scaling of instance storage.
Trait Implementations§
Source§impl Clone for AutoscalingStorage
impl Clone for AutoscalingStorage
Source§fn clone(&self) -> AutoscalingStorage
fn clone(&self) -> AutoscalingStorage
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 AutoscalingStorage
impl Debug for AutoscalingStorage
Source§impl Default for AutoscalingStorage
impl Default for AutoscalingStorage
Source§fn default() -> AutoscalingStorage
fn default() -> AutoscalingStorage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoscalingStorage
impl<'de> Deserialize<'de> for AutoscalingStorage
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 AutoscalingStorage
impl PartialEq for AutoscalingStorage
Source§impl Serialize for AutoscalingStorage
impl Serialize for AutoscalingStorage
impl StructuralPartialEq for AutoscalingStorage
Auto Trait Implementations§
impl Freeze for AutoscalingStorage
impl RefUnwindSafe for AutoscalingStorage
impl Send for AutoscalingStorage
impl Sync for AutoscalingStorage
impl Unpin for AutoscalingStorage
impl UnwindSafe for AutoscalingStorage
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