pub struct UniqueAxisValues { /* private fields */ }Expand description
Reference impl: collect the distinct values present under a specific axis-key across matching candidates. Useful for “what tenant ids are running GPU workloads?” style queries.
Implementations§
Source§impl UniqueAxisValues
impl UniqueAxisValues
Sourcepub fn new(axis: TaxonomyAxis, key: impl Into<String>) -> Self
pub fn new(axis: TaxonomyAxis, key: impl Into<String>) -> Self
Build an aggregator for axis.key. The aggregator
observes each matching node’s tag set, extracts any tag
of shape axis.key=value, and accumulates the distinct
values.
Trait Implementations§
Source§impl Aggregator for UniqueAxisValues
impl Aggregator for UniqueAxisValues
Auto Trait Implementations§
impl Freeze for UniqueAxisValues
impl RefUnwindSafe for UniqueAxisValues
impl Send for UniqueAxisValues
impl Sync for UniqueAxisValues
impl Unpin for UniqueAxisValues
impl UnsafeUnpin for UniqueAxisValues
impl UnwindSafe for UniqueAxisValues
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