pub struct ScanTarget {
pub name: String,
pub framework: Framework,
pub root_path: PathBuf,
pub tools: Vec<ToolSurface>,
pub execution: ExecutionSurface,
pub data: DataSurface,
pub dependencies: DependencySurface,
pub provenance: ProvenanceSurface,
pub source_files: Vec<SourceFile>,
}Expand description
Complete scan target — the unified IR that all analysis operates on.
Fields§
§name: StringHuman-readable name of the extension.
framework: FrameworkFramework that produced this target.
root_path: PathBufRoot directory of the extension.
tools: Vec<ToolSurface>Tool definitions declared by the extension.
execution: ExecutionSurfaceExecution capabilities discovered in source code.
data: DataSurfaceData flow surfaces (inputs, outputs, sources, sinks).
dependencies: DependencySurfaceDependency information.
provenance: ProvenanceSurfaceProvenance metadata (author, repo, signatures).
source_files: Vec<SourceFile>Raw source files included in the scan.
Trait Implementations§
Source§impl Clone for ScanTarget
impl Clone for ScanTarget
Source§fn clone(&self) -> ScanTarget
fn clone(&self) -> ScanTarget
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 ScanTarget
impl Debug for ScanTarget
Source§impl<'de> Deserialize<'de> for ScanTarget
impl<'de> Deserialize<'de> for ScanTarget
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 ScanTarget
impl RefUnwindSafe for ScanTarget
impl Send for ScanTarget
impl Sync for ScanTarget
impl Unpin for ScanTarget
impl UnsafeUnpin for ScanTarget
impl UnwindSafe for ScanTarget
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