pub enum ReviewComment {
GitHub(GitHubReviewComment),
GitLab(GitLabReviewComment),
}Expand description
Per-line review comment. Schema is an anyOf between GitHub and GitLab
shapes; at runtime every entry in a single envelope comes from the same
provider because the envelope is built from one provider’s branch in
crates/cli/src/report/ci/review.rs::render_review_envelope.
Variants§
GitHub(GitHubReviewComment)
GitHub pull-request review comment.
GitLab(GitLabReviewComment)
GitLab merge-request discussion comment.
Trait Implementations§
Source§impl Clone for ReviewComment
impl Clone for ReviewComment
Source§impl Debug for ReviewComment
impl Debug for ReviewComment
Auto Trait Implementations§
impl Freeze for ReviewComment
impl RefUnwindSafe for ReviewComment
impl Send for ReviewComment
impl Sync for ReviewComment
impl Unpin for ReviewComment
impl UnsafeUnpin for ReviewComment
impl UnwindSafe for ReviewComment
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