pub struct PrCommentTruncation {
pub truncated: bool,
pub shown_findings: usize,
pub total_findings: usize,
}Expand description
Finding-count truncation metadata for a rendered PR comment.
Fields§
§truncated: boolTrue when the body shows fewer findings than the run produced.
shown_findings: usizeFindings rendered in the body.
total_findings: usizeFindings the run produced.
Trait Implementations§
Source§impl Clone for PrCommentTruncation
impl Clone for PrCommentTruncation
Source§impl Debug for PrCommentTruncation
impl Debug for PrCommentTruncation
Source§impl Default for PrCommentTruncation
impl Default for PrCommentTruncation
Source§impl<'de> Deserialize<'de> for PrCommentTruncation
impl<'de> Deserialize<'de> for PrCommentTruncation
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 PrCommentTruncation
Source§impl PartialEq for PrCommentTruncation
impl PartialEq for PrCommentTruncation
Source§impl Serialize for PrCommentTruncation
impl Serialize for PrCommentTruncation
impl StructuralPartialEq for PrCommentTruncation
Auto Trait Implementations§
impl Freeze for PrCommentTruncation
impl RefUnwindSafe for PrCommentTruncation
impl Send for PrCommentTruncation
impl Sync for PrCommentTruncation
impl Unpin for PrCommentTruncation
impl UnsafeUnpin for PrCommentTruncation
impl UnwindSafe for PrCommentTruncation
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.