pub struct ElasticPoolPerDatabaseSettings {
pub min_capacity: Option<f64>,
pub max_capacity: Option<f64>,
pub auto_pause_delay: Option<i32>,
}Expand description
Per database settings of an elastic pool.
Fields§
§min_capacity: Option<f64>The minimum capacity all databases are guaranteed.
max_capacity: Option<f64>The maximum capacity any one database can consume.
auto_pause_delay: Option<i32>Auto Pause Delay for per database within pool
Implementations§
Trait Implementations§
Source§impl Clone for ElasticPoolPerDatabaseSettings
impl Clone for ElasticPoolPerDatabaseSettings
Source§fn clone(&self) -> ElasticPoolPerDatabaseSettings
fn clone(&self) -> ElasticPoolPerDatabaseSettings
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 Default for ElasticPoolPerDatabaseSettings
impl Default for ElasticPoolPerDatabaseSettings
Source§fn default() -> ElasticPoolPerDatabaseSettings
fn default() -> ElasticPoolPerDatabaseSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ElasticPoolPerDatabaseSettings
impl<'de> Deserialize<'de> for ElasticPoolPerDatabaseSettings
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 ElasticPoolPerDatabaseSettings
impl PartialEq for ElasticPoolPerDatabaseSettings
Source§fn eq(&self, other: &ElasticPoolPerDatabaseSettings) -> bool
fn eq(&self, other: &ElasticPoolPerDatabaseSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElasticPoolPerDatabaseSettings
Auto Trait Implementations§
impl Freeze for ElasticPoolPerDatabaseSettings
impl RefUnwindSafe for ElasticPoolPerDatabaseSettings
impl Send for ElasticPoolPerDatabaseSettings
impl Sync for ElasticPoolPerDatabaseSettings
impl Unpin for ElasticPoolPerDatabaseSettings
impl UnwindSafe for ElasticPoolPerDatabaseSettings
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