pub struct FindingSummary {
pub id: String,
pub kind: String,
pub subject: String,
pub verdict: String,
pub recorded_at: String,
pub author: String,
pub strategy: String,
pub code_commit: String,
pub ruleset_hash: String,
}Fields§
§id: String§kind: StringWhat was run, e.g. “study”, “walk-forward” or “panel”.
subject: String§verdict: String“Supported”, “NotSupported” or “Inconclusive”.
recorded_at: StringRFC 3339.
The agent or script that ran it; empty for a person.
strategy: StringWhich rule or ruleset ran, by the name the picker shows. A ruleset is
the file rulesets/<name>.json in the project.
code_commit: StringThe engine build that produced it (#189): the git commit, with -dirty
when the tree had uncommitted changes, or unknown for a build made
outside a checkout.
ruleset_hash: StringThe ruleset document’s content hash at run time, when the strategy was a ruleset rather than a shipped rule; empty otherwise. A finding whose hash no longer matches the file is stale: the rule it measured is not the rule the file now holds.
Trait Implementations§
Source§impl Clone for FindingSummary
impl Clone for FindingSummary
Source§impl Debug for FindingSummary
impl Debug for FindingSummary
Source§impl Default for FindingSummary
impl Default for FindingSummary
Source§impl<'de> Deserialize<'de> for FindingSummary
impl<'de> Deserialize<'de> for FindingSummary
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 FindingSummary
Source§impl Hash for FindingSummary
impl Hash for FindingSummary
Source§impl Message for FindingSummary
impl Message for FindingSummary
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for FindingSummary
impl PartialEq for FindingSummary
Source§impl Serialize for FindingSummary
impl Serialize for FindingSummary
impl StructuralPartialEq for FindingSummary
Auto Trait Implementations§
impl Freeze for FindingSummary
impl RefUnwindSafe for FindingSummary
impl Send for FindingSummary
impl Sync for FindingSummary
impl Unpin for FindingSummary
impl UnsafeUnpin for FindingSummary
impl UnwindSafe for FindingSummary
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