pub struct PoolScale {
pub cluster_id: Option<String>,
pub count: Option<i32>,
pub pool_id: Option<String>,
pub provider: Option<String>,
}Fields§
§cluster_id: Option<String>ClusterID is the cluster holding the pool, from the URL path.
count: Option<i32>Count is the node count to scale TO — an absolute target, not a delta, and never negative.
pool_id: Option<String>PoolID is the pool to resize, from the URL path — the poolId a cluster read reports for it. Required.
provider: Option<String>Provider is the cloud the cluster lives on. Required; body or ?provider=.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoolScale
impl<'de> Deserialize<'de> for PoolScale
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
impl StructuralPartialEq for PoolScale
Auto Trait Implementations§
impl Freeze for PoolScale
impl RefUnwindSafe for PoolScale
impl Send for PoolScale
impl Sync for PoolScale
impl Unpin for PoolScale
impl UnsafeUnpin for PoolScale
impl UnwindSafe for PoolScale
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