pub struct Candidate {
pub name: String,
pub revision: String,
pub workspace_bytes: Option<u64>,
pub eligible: bool,
}Expand description
Stable candidate identity and its declared eligibility/scratch requirement.
Fields§
§name: StringStable algorithm/configuration name, not an index from an old binary.
revision: StringSemantic/configuration revision invalidating old choices; default "1".
workspace_bytes: Option<u64>Known temporary workspace bytes, or None when no reliable estimate exists.
eligible: boolWhether the existing operator eligibility rules admit this candidate.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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