pub struct Plan {
pub version: u32,
pub policy: String,
pub baseline_source_sha256: String,
pub candidates: Vec<Candidate>,
pub unsupported: Vec<String>,
pub omitted: usize,
}Expand description
Entire deterministic admitted policy inventory, including coverage limits.
Fields§
§version: u32Equals VERSION.
policy: StringEquals POLICY.
baseline_source_sha256: StringOriginal exact source identity.
candidates: Vec<Candidate>Selected candidates, sorted by function and literal.
unsupported: Vec<String>Every contracted target outside the declared scalar policy.
omitted: usizeEligible distinct candidates excluded by the requested job budget.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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