pub struct PlacementConstraints {
pub gpu_nodes: Vec<String>,
pub egress_nodes: Vec<String>,
pub egress_preference: HashMap<(ProviderKind, String), Vec<String>>,
}Fields§
§gpu_nodes: Vec<String>Available GPU-bearing nodes.
egress_nodes: Vec<String>Available egress-capable nodes (CPU-only OK).
egress_preference: HashMap<(ProviderKind, String), Vec<String>>Per-node hosting count for shared (provider, api_key)
preferences; populated externally as deployments are added.
Trait Implementations§
Source§impl Clone for PlacementConstraints
impl Clone for PlacementConstraints
Source§fn clone(&self) -> PlacementConstraints
fn clone(&self) -> PlacementConstraints
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 moreAuto Trait Implementations§
impl Freeze for PlacementConstraints
impl RefUnwindSafe for PlacementConstraints
impl Send for PlacementConstraints
impl Sync for PlacementConstraints
impl Unpin for PlacementConstraints
impl UnsafeUnpin for PlacementConstraints
impl UnwindSafe for PlacementConstraints
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