pub struct SourceFile {
pub file: String,
pub function_name: Option<String>,
pub function_prototype: String,
pub line: u32,
pub qualified_function_name: String,
pub scope: String,
}
Expand description
Source file information for a finding
Fields§
§file: String
File path where the issue was found
function_name: Option<String>
Function name (may be null)
function_prototype: String
Function prototype
line: u32
Line number in the file
qualified_function_name: String
Qualified function name
scope: String
Scope information
Trait Implementations§
Source§impl Clone for SourceFile
impl Clone for SourceFile
Source§fn clone(&self) -> SourceFile
fn clone(&self) -> SourceFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SourceFile
impl Debug for SourceFile
Source§impl<'de> Deserialize<'de> for SourceFile
impl<'de> Deserialize<'de> for SourceFile
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
Auto Trait Implementations§
impl Freeze for SourceFile
impl RefUnwindSafe for SourceFile
impl Send for SourceFile
impl Sync for SourceFile
impl Unpin for SourceFile
impl UnwindSafe for SourceFile
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