pub struct CreateClusterReqNodePool {
pub count: Option<i32>,
pub name: Option<String>,
pub size: Option<String>,
}Expand description
CreateClusterReqNodePool : NodePool is the ONE pool the cluster is born with — a cluster with no nodes runs nothing, so it is not optional. More pools are added afterwards through POST /v1/visor/clusters/:clusterId/pools.
Fields§
§count: Option<i32>§name: Option<String>§size: Option<String>Implementations§
Source§impl CreateClusterReqNodePool
impl CreateClusterReqNodePool
Sourcepub fn new() -> CreateClusterReqNodePool
pub fn new() -> CreateClusterReqNodePool
NodePool is the ONE pool the cluster is born with — a cluster with no nodes runs nothing, so it is not optional. More pools are added afterwards through POST /v1/visor/clusters/:clusterId/pools.
Trait Implementations§
Source§impl Clone for CreateClusterReqNodePool
impl Clone for CreateClusterReqNodePool
Source§fn clone(&self) -> CreateClusterReqNodePool
fn clone(&self) -> CreateClusterReqNodePool
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 CreateClusterReqNodePool
impl Debug for CreateClusterReqNodePool
Source§impl Default for CreateClusterReqNodePool
impl Default for CreateClusterReqNodePool
Source§fn default() -> CreateClusterReqNodePool
fn default() -> CreateClusterReqNodePool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateClusterReqNodePool
impl<'de> Deserialize<'de> for CreateClusterReqNodePool
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 CreateClusterReqNodePool
impl PartialEq for CreateClusterReqNodePool
Source§impl Serialize for CreateClusterReqNodePool
impl Serialize for CreateClusterReqNodePool
impl StructuralPartialEq for CreateClusterReqNodePool
Auto Trait Implementations§
impl Freeze for CreateClusterReqNodePool
impl RefUnwindSafe for CreateClusterReqNodePool
impl Send for CreateClusterReqNodePool
impl Sync for CreateClusterReqNodePool
impl Unpin for CreateClusterReqNodePool
impl UnsafeUnpin for CreateClusterReqNodePool
impl UnwindSafe for CreateClusterReqNodePool
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