pub struct FocusedReviewEvidence {
pub correction: String,
pub end_line: u32,
pub existing_code: String,
pub impact: String,
pub path: String,
pub side: FocusedReviewSide,
pub start_line: u32,
pub trigger: String,
}Expand description
Source citation and actionable rationale for one focused-review finding.
Fields§
§correction: StringConcrete correction that addresses the reported risk.
end_line: u32Inclusive source line, resolved by the host; zero means unanchored.
existing_code: StringExact source snippet without unified-diff markers.
impact: StringPractical consequence when the trigger occurs.
path: StringRepository-root-relative POSIX path on the selected side of the diff.
side: FocusedReviewSideVersion of the source used by the citation.
start_line: u32First source line, resolved by the host; zero means unanchored.
trigger: StringConcrete input, state, or sequence that exposes the risk.
Trait Implementations§
Source§impl Clone for FocusedReviewEvidence
impl Clone for FocusedReviewEvidence
Source§impl Debug for FocusedReviewEvidence
impl Debug for FocusedReviewEvidence
Source§impl<'de> Deserialize<'de> for FocusedReviewEvidence
impl<'de> Deserialize<'de> for FocusedReviewEvidence
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 FocusedReviewEvidence
Source§impl JsonSchema for FocusedReviewEvidence
impl JsonSchema for FocusedReviewEvidence
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FocusedReviewEvidence
impl PartialEq for FocusedReviewEvidence
Source§impl Serialize for FocusedReviewEvidence
impl Serialize for FocusedReviewEvidence
impl StructuralPartialEq for FocusedReviewEvidence
Auto Trait Implementations§
impl Forget for FocusedReviewEvidence
impl Freeze for FocusedReviewEvidence
impl Move for FocusedReviewEvidence
impl RefUnwindSafe for FocusedReviewEvidence
impl Send for FocusedReviewEvidence
impl Sync for FocusedReviewEvidence
impl Unpin for FocusedReviewEvidence
impl UnsafeUnpin for FocusedReviewEvidence
impl UnwindSafe for FocusedReviewEvidence
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.