pub struct BaselineEntry {
pub metric_version: u32,
pub findings: Vec<FindingAnchor>,
}Fields§
§metric_version: u32§findings: Vec<FindingAnchor>Implementations§
Source§impl BaselineEntry
impl BaselineEntry
pub fn upgrade_clone_line_anchors(&mut self, measured: &[FindingAnchor])
pub fn covered_clone_lines( &self, renames: &BTreeMap<String, String>, ) -> BTreeSet<CloneLineAnchor>
Trait Implementations§
Source§impl Clone for BaselineEntry
impl Clone for BaselineEntry
Source§impl Debug for BaselineEntry
impl Debug for BaselineEntry
Source§impl Default for BaselineEntry
impl Default for BaselineEntry
Source§impl<'de> Deserialize<'de> for BaselineEntry
impl<'de> Deserialize<'de> for BaselineEntry
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 BaselineEntry
Source§impl PartialEq for BaselineEntry
impl PartialEq for BaselineEntry
Source§impl Serialize for BaselineEntry
impl Serialize for BaselineEntry
impl StructuralPartialEq for BaselineEntry
Auto Trait Implementations§
impl Forget for BaselineEntry
impl Freeze for BaselineEntry
impl Move for BaselineEntry
impl RefUnwindSafe for BaselineEntry
impl Send for BaselineEntrywhere
RawVecInner: Send,
impl Sync for BaselineEntrywhere
RawVecInner: Sync,
impl Unpin for BaselineEntry
impl UnsafeUnpin for BaselineEntry
impl UnwindSafe for BaselineEntrywhere
RawVecInner: UnwindSafe,
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.