pub struct ReviewRequestAttention {
pub failed_checks: Vec<ReviewCheckFailure>,
pub has_merge_conflict: bool,
pub has_pending_checks: bool,
pub head_commit: String,
pub review_threads: Vec<ReviewCommentThread>,
}Expand description
Conditions on one open review request that may need follow-up work.
Adapters report normalized forge facts only; hosts decide whether and when to act on them.
Fields§
§failed_checks: Vec<ReviewCheckFailure>Completed checks that failed for head_commit.
Checks reported by a trusted review bot are omitted: that bot’s findings arrive as its review threads, so they are addressed once, through those threads.
has_merge_conflict: boolWhether the forge reports conflicts with the target branch.
has_pending_checks: boolWhether any check for head_commit is still queued or running,
including checks reported by trusted review bots.
head_commit: StringCommit at the head of the source branch as seen by the forge.
review_threads: Vec<ReviewCommentThread>Unresolved threads whose latest trusted comment awaits a response. Trusted authors are the authenticated user, anyone the forge reports with write-level project membership, and the review bots the caller trusts. Comments from other authors are omitted and never decide whether a thread needs a response.
Trait Implementations§
Source§impl Clone for ReviewRequestAttention
impl Clone for ReviewRequestAttention
Source§impl Debug for ReviewRequestAttention
impl Debug for ReviewRequestAttention
Source§impl Default for ReviewRequestAttention
impl Default for ReviewRequestAttention
impl Eq for ReviewRequestAttention
Source§impl PartialEq for ReviewRequestAttention
impl PartialEq for ReviewRequestAttention
impl StructuralPartialEq for ReviewRequestAttention
Auto Trait Implementations§
impl Forget for ReviewRequestAttention
impl Freeze for ReviewRequestAttention
impl Move for ReviewRequestAttention
impl RefUnwindSafe for ReviewRequestAttention
impl Send for ReviewRequestAttention
impl Sync for ReviewRequestAttention
impl Unpin for ReviewRequestAttention
impl UnsafeUnpin for ReviewRequestAttention
impl UnwindSafe for ReviewRequestAttention
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key and return true if they are equal.