pub struct PrPrecheckReport {
pub status: String,
pub facts: PrFacts,
pub inferences: BTreeMap<String, RiskRating>,
pub risk_topic: Option<String>,
pub focus: Option<HunkSource>,
pub security_review_probability: Option<f64>,
pub compatibility_review_probability: Option<f64>,
pub unverified_hypotheses: Vec<String>,
pub model: Option<String>,
}Expand description
Advisory result; hypotheses must be checked against the complete diff.
Fields§
§status: Stringunavailable, needs_review, or advisory.
facts: PrFactsDeterministic facts only.
inferences: BTreeMap<String, RiskRating>Model-inferred risk ratings by review dimension.
risk_topic: Option<String>Model-inferred primary topic.
focus: Option<HunkSource>Model-inferred focus location, if one was selected.
security_review_probability: Option<f64>Model-inferred probability of specialized review need.
compatibility_review_probability: Option<f64>Model-inferred probability of compatibility review need.
unverified_hypotheses: Vec<String>Explicit unresolved hypotheses, never formal findings.
model: Option<String>Actual model identifier, if one responded.
Trait Implementations§
Source§impl Clone for PrPrecheckReport
impl Clone for PrPrecheckReport
Source§impl Debug for PrPrecheckReport
impl Debug for PrPrecheckReport
Source§impl<'de> Deserialize<'de> for PrPrecheckReport
impl<'de> Deserialize<'de> for PrPrecheckReport
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 Forget for PrPrecheckReport
impl Freeze for PrPrecheckReport
impl Move for PrPrecheckReport
impl RefUnwindSafe for PrPrecheckReport
impl Send for PrPrecheckReport
impl Sync for PrPrecheckReport
impl Unpin for PrPrecheckReport
impl UnsafeUnpin for PrPrecheckReport
impl UnwindSafe for PrPrecheckReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more