pub struct CiLocation {
pub path: String,
pub line: u64,
pub end_line: u64,
}Expand description
Source range attached to a normalized CI finding as supporting evidence.
Fields§
§path: StringFile path relative to the analysed root.
line: u64Inclusive 1-based start line.
end_line: u64Inclusive 1-based end line.
Trait Implementations§
Source§impl Clone for CiLocation
impl Clone for CiLocation
Source§impl Debug for CiLocation
impl Debug for CiLocation
impl Eq for CiLocation
Source§impl Ord for CiLocation
impl Ord for CiLocation
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CiLocation
impl PartialEq for CiLocation
Source§impl PartialOrd for CiLocation
impl PartialOrd for CiLocation
impl StructuralPartialEq for CiLocation
Auto Trait Implementations§
impl Freeze for CiLocation
impl RefUnwindSafe for CiLocation
impl Send for CiLocation
impl Sync for CiLocation
impl Unpin for CiLocation
impl UnsafeUnpin for CiLocation
impl UnwindSafe for CiLocation
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.