pub struct ReviewCommentOutcome {
pub reply: String,
pub resolution: ReviewCommentResolution,
pub thread_id: String,
}Expand description
Structured outcome for one forge review thread targeted by the turn.
Fields§
§reply: StringConcise forge reply explaining what changed or why no change was needed.
resolution: ReviewCommentResolutionWhether the thread was fixed or did not require a change.
thread_id: StringOpaque forge thread identifier copied exactly from the turn prompt.
Trait Implementations§
Source§impl Clone for ReviewCommentOutcome
impl Clone for ReviewCommentOutcome
Source§fn clone(&self) -> ReviewCommentOutcome
fn clone(&self) -> ReviewCommentOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReviewCommentOutcome
impl Debug for ReviewCommentOutcome
Source§impl<'de> Deserialize<'de> for ReviewCommentOutcome
impl<'de> Deserialize<'de> for ReviewCommentOutcome
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 ReviewCommentOutcome
Source§impl JsonSchema for ReviewCommentOutcome
impl JsonSchema for ReviewCommentOutcome
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 ReviewCommentOutcome
impl PartialEq for ReviewCommentOutcome
Source§impl Serialize for ReviewCommentOutcome
impl Serialize for ReviewCommentOutcome
impl StructuralPartialEq for ReviewCommentOutcome
Auto Trait Implementations§
impl Freeze for ReviewCommentOutcome
impl RefUnwindSafe for ReviewCommentOutcome
impl Send for ReviewCommentOutcome
impl Sync for ReviewCommentOutcome
impl Unpin for ReviewCommentOutcome
impl UnsafeUnpin for ReviewCommentOutcome
impl UnwindSafe for ReviewCommentOutcome
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