pub struct DemandTally {
pub matched: u32,
pub not_matched: u32,
pub unresolvable: Vec<UnresolvableRunsOn>,
}Expand description
The result of one poll’s label matching.
Fields§
§matched: u32Jobs this policy should serve. This is the demand signal e1 clamps.
not_matched: u32Jobs whose required labels this policy does not carry.
unresolvable: Vec<UnresolvableRunsOn>Jobs whose runs-on could not be resolved statically. Never demand,
never discarded — g2 surfaces these so an operator can see that a
workflow this host will never serve is sitting in the queue.
Implementations§
Source§impl DemandTally
impl DemandTally
Trait Implementations§
Source§impl Clone for DemandTally
impl Clone for DemandTally
Source§fn clone(&self) -> DemandTally
fn clone(&self) -> DemandTally
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 DemandTally
impl Debug for DemandTally
Source§impl Default for DemandTally
impl Default for DemandTally
Source§fn default() -> DemandTally
fn default() -> DemandTally
Returns the “default value” for a type. Read more
impl Eq for DemandTally
Source§impl PartialEq for DemandTally
impl PartialEq for DemandTally
impl StructuralPartialEq for DemandTally
Auto Trait Implementations§
impl Freeze for DemandTally
impl RefUnwindSafe for DemandTally
impl Send for DemandTally
impl Sync for DemandTally
impl Unpin for DemandTally
impl UnsafeUnpin for DemandTally
impl UnwindSafe for DemandTally
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