pub struct FocusedReviewSuggestion {
pub details: String,
pub evidence: Option<FocusedReviewEvidence>,
pub severity: FocusedReviewSeverity,
}Expand description
One actionable focused-review finding.
Fields§
§details: StringConcise explanation of the issue and its practical impact.
evidence: Option<FocusedReviewEvidence>Source evidence and rationale, when a finding can be anchored.
severity: FocusedReviewSeveritySeverity assigned from the focused-review severity policy.
Implementations§
Source§impl FocusedReviewSuggestion
impl FocusedReviewSuggestion
Sourcepub fn resolve_evidence_range(&mut self, start_line: u32, end_line: u32)
pub fn resolve_evidence_range(&mut self, start_line: u32, end_line: u32)
Applies a host-verified range and reconciles duplicate primary prose citations. Supporting references to other lines retain their locations. Pass zeroes when the evidence cannot be anchored.
Trait Implementations§
Source§impl Clone for FocusedReviewSuggestion
impl Clone for FocusedReviewSuggestion
Source§impl Debug for FocusedReviewSuggestion
impl Debug for FocusedReviewSuggestion
Source§impl<'de> Deserialize<'de> for FocusedReviewSuggestion
impl<'de> Deserialize<'de> for FocusedReviewSuggestion
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 FocusedReviewSuggestion
Source§impl JsonSchema for FocusedReviewSuggestion
impl JsonSchema for FocusedReviewSuggestion
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 FocusedReviewSuggestion
impl PartialEq for FocusedReviewSuggestion
Source§impl Serialize for FocusedReviewSuggestion
impl Serialize for FocusedReviewSuggestion
impl StructuralPartialEq for FocusedReviewSuggestion
Auto Trait Implementations§
impl Forget for FocusedReviewSuggestion
impl Freeze for FocusedReviewSuggestion
impl Move for FocusedReviewSuggestion
impl RefUnwindSafe for FocusedReviewSuggestion
impl Send for FocusedReviewSuggestion
impl Sync for FocusedReviewSuggestion
impl Unpin for FocusedReviewSuggestion
impl UnsafeUnpin for FocusedReviewSuggestion
impl UnwindSafe for FocusedReviewSuggestion
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.