pub struct NextWorkQuery {
pub capabilities: BTreeSet<String>,
pub use_probabilistic_criticality: bool,
}Expand description
Eligibility and scheduling inputs for a work recommendation.
Fields§
§capabilities: BTreeSet<String>Required capabilities the caller provides; an empty set disables capability filtering.
use_probabilistic_criticality: boolWhether ranking should use sampled criticality instead of deterministic criticality.
Trait Implementations§
Source§impl Clone for NextWorkQuery
impl Clone for NextWorkQuery
Source§impl Debug for NextWorkQuery
impl Debug for NextWorkQuery
Source§impl Default for NextWorkQuery
impl Default for NextWorkQuery
Source§impl<'de> Deserialize<'de> for NextWorkQuery
impl<'de> Deserialize<'de> for NextWorkQuery
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
Auto Trait Implementations§
impl Freeze for NextWorkQuery
impl RefUnwindSafe for NextWorkQuery
impl Send for NextWorkQuery
impl Sync for NextWorkQuery
impl Unpin for NextWorkQuery
impl UnsafeUnpin for NextWorkQuery
impl UnwindSafe for NextWorkQuery
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