pub struct PrCommentEnvelope {
pub marker_id: String,
pub body: String,
pub is_clean: bool,
pub details_url: Option<String>,
pub check_summary: Option<String>,
pub truncation: PrCommentTruncation,
}Expand description
Rendered PR comment body plus posting signals for provider adapters.
Fields§
§marker_id: StringIdentity token embedded in the body’s HTML marker; posting adapters use it to find and update the existing sticky comment.
body: StringFull rendered comment body, marker included.
is_clean: boolTrue when the run produced no review-visible findings and its gate passed; adapters skip creating a first comment only for clean runs.
details_url: Option<String>Link to hosted report output, when available.
check_summary: Option<String>One-line status label for check or status APIs, when computed.
truncation: PrCommentTruncationHow many findings the body shows versus how many the run produced.
Implementations§
Trait Implementations§
Source§impl Clone for PrCommentEnvelope
impl Clone for PrCommentEnvelope
Source§impl Debug for PrCommentEnvelope
impl Debug for PrCommentEnvelope
Source§impl<'de> Deserialize<'de> for PrCommentEnvelope
impl<'de> Deserialize<'de> for PrCommentEnvelope
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 PrCommentEnvelope
Source§impl PartialEq for PrCommentEnvelope
impl PartialEq for PrCommentEnvelope
Source§impl Serialize for PrCommentEnvelope
impl Serialize for PrCommentEnvelope
impl StructuralPartialEq for PrCommentEnvelope
Auto Trait Implementations§
impl Freeze for PrCommentEnvelope
impl RefUnwindSafe for PrCommentEnvelope
impl Send for PrCommentEnvelope
impl Sync for PrCommentEnvelope
impl Unpin for PrCommentEnvelope
impl UnsafeUnpin for PrCommentEnvelope
impl UnwindSafe for PrCommentEnvelope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.