pub struct ResolvedSchedulablePlacement {
pub pool: String,
pub host_label: Option<String>,
}Expand description
A role routed to a SCHEDULED worker (remote-actor-plan §3.4 / P2b, #181),
resolved at runner-build time from SubagentsConfig.schedulable_placements.
Names the logical pool (= the bus role) whose LIVE connected workers are the
scheduling candidates — the runner picks one via the bus presence query
(BrokerClient::list_connected). Phase 3 retired the old HTTP registry, so a
pool is now just a role on the bus.
Fields§
§pool: String§host_label: Option<String>Display name for the machine this pool’s workers run on — the matching
cluster node’s label/host, surfaced on the UI placement badge. None ⇒
fall back to the pool name.
Trait Implementations§
Source§impl Clone for ResolvedSchedulablePlacement
impl Clone for ResolvedSchedulablePlacement
Source§fn clone(&self) -> ResolvedSchedulablePlacement
fn clone(&self) -> ResolvedSchedulablePlacement
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 moreAuto Trait Implementations§
impl Freeze for ResolvedSchedulablePlacement
impl RefUnwindSafe for ResolvedSchedulablePlacement
impl Send for ResolvedSchedulablePlacement
impl Sync for ResolvedSchedulablePlacement
impl Unpin for ResolvedSchedulablePlacement
impl UnsafeUnpin for ResolvedSchedulablePlacement
impl UnwindSafe for ResolvedSchedulablePlacement
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