pub struct ReviewReasoning {
pub rationale: String,
pub alternatives_considered: Vec<String>,
pub applied_principles: Vec<String>,
}Expand description
Structured reasoning attached to a review comment (v0.3.3).
Enables compliance reporting: reviewers document why they approved or rejected, what alternatives they considered, and what principles guided the decision.
Fields§
§rationale: StringThe reviewer’s rationale for their decision.
alternatives_considered: Vec<String>Alternatives the reviewer considered.
applied_principles: Vec<String>Principles or policies that informed the decision.
Trait Implementations§
Source§impl Clone for ReviewReasoning
impl Clone for ReviewReasoning
Source§fn clone(&self) -> ReviewReasoning
fn clone(&self) -> ReviewReasoning
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReviewReasoning
impl Debug for ReviewReasoning
Source§impl<'de> Deserialize<'de> for ReviewReasoning
impl<'de> Deserialize<'de> for ReviewReasoning
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 Freeze for ReviewReasoning
impl RefUnwindSafe for ReviewReasoning
impl Send for ReviewReasoning
impl Sync for ReviewReasoning
impl Unpin for ReviewReasoning
impl UnsafeUnpin for ReviewReasoning
impl UnwindSafe for ReviewReasoning
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