pub struct FocusedReview {
pub project_impact: Vec<String>,
pub suggestions: Vec<FocusedReviewSuggestion>,
}Expand description
Structured result returned by a focused-review utility prompt.
Fields§
§project_impact: Vec<String>Concise statements describing the overall effect of the reviewed diff.
suggestions: Vec<FocusedReviewSuggestion>Actionable high- or medium-severity findings from the reviewed diff.
Implementations§
Source§impl FocusedReview
impl FocusedReview
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
Formats the structured review for the terminal session transcript.
Trait Implementations§
Source§impl Clone for FocusedReview
impl Clone for FocusedReview
Source§impl Debug for FocusedReview
impl Debug for FocusedReview
Source§impl<'de> Deserialize<'de> for FocusedReview
impl<'de> Deserialize<'de> for FocusedReview
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 FocusedReview
Source§impl JsonSchema for FocusedReview
impl JsonSchema for FocusedReview
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 FocusedReview
impl PartialEq for FocusedReview
Source§impl Serialize for FocusedReview
impl Serialize for FocusedReview
impl StructuralPartialEq for FocusedReview
Auto Trait Implementations§
impl Freeze for FocusedReview
impl RefUnwindSafe for FocusedReview
impl Send for FocusedReview
impl Sync for FocusedReview
impl Unpin for FocusedReview
impl UnsafeUnpin for FocusedReview
impl UnwindSafe for FocusedReview
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