pub struct ComputePoolPlan {
pub pool_id: String,
pub workloads: Vec<String>,
pub requirements: MachineProfile,
pub scale: CapacityGroupScalePolicy,
pub selected: ComputePoolSelection,
pub recommended: ComputePoolSelection,
pub machines: Vec<ComputeMachineOption>,
pub errors: Vec<String>,
}Expand description
Planner output for one compute pool.
Fields§
§pool_id: StringPool ID from the stack or derived default.
workloads: Vec<String>Workloads assigned to this pool.
requirements: MachineProfileAggregated requirements used for machine selection.
scale: CapacityGroupScalePolicyAllowed scale policy declared by source or derived for generated pools.
selected: ComputePoolSelectionRecommended or user-selected deployment choice.
recommended: ComputePoolSelectionPlanner-recommended default.
machines: Vec<ComputeMachineOption>Valid cloud machine choices. Empty for local and Kubernetes.
errors: Vec<String>Validation errors for supplied deployment settings.
Trait Implementations§
Source§impl Clone for ComputePoolPlan
impl Clone for ComputePoolPlan
Source§fn clone(&self) -> ComputePoolPlan
fn clone(&self) -> ComputePoolPlan
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 ComputePoolPlan
impl Debug for ComputePoolPlan
Source§impl<'de> Deserialize<'de> for ComputePoolPlan
impl<'de> Deserialize<'de> for ComputePoolPlan
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 ComputePoolPlan
impl PartialEq for ComputePoolPlan
Source§fn eq(&self, other: &ComputePoolPlan) -> bool
fn eq(&self, other: &ComputePoolPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComputePoolPlan
impl Serialize for ComputePoolPlan
impl StructuralPartialEq for ComputePoolPlan
Auto Trait Implementations§
impl Freeze for ComputePoolPlan
impl RefUnwindSafe for ComputePoolPlan
impl Send for ComputePoolPlan
impl Sync for ComputePoolPlan
impl Unpin for ComputePoolPlan
impl UnsafeUnpin for ComputePoolPlan
impl UnwindSafe for ComputePoolPlan
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