pub struct Scan {Show 25 fields
pub scan_id: String,
pub scan_status: ScanStatus,
pub api_version: f64,
pub app_id: Option<String>,
pub project_name: String,
pub project_uri: Option<String>,
pub project_ref: Option<String>,
pub commit_hash: Option<String>,
pub dev_stage: String,
pub binary_name: String,
pub binary_size: u64,
pub binary_hash: String,
pub binary_segments_expected: u32,
pub binary_segments_uploaded: u32,
pub scan_timeout: Option<u32>,
pub scan_duration: Option<f64>,
pub results_size: Option<f64>,
pub message: Option<String>,
pub created: String,
pub changed: String,
pub modules: Vec<Value>,
pub selected_modules: Vec<Value>,
pub display_modules: Vec<Value>,
pub display_selected_modules: Vec<Value>,
pub links: Option<Value>,
}Expand description
Pipeline scan details/status
Fields§
§scan_id: StringUnique scan ID
scan_status: ScanStatusCurrent scan status (UPLOADING, VERIFYING, RUNNING, RESULTS_READY, etc.)
api_version: f64API version
app_id: Option<String>Application ID (may be null)
project_name: StringProject name
project_uri: Option<String>Project URI
project_ref: Option<String>Project reference
commit_hash: Option<String>Commit hash
dev_stage: StringDevelopment stage
binary_name: StringBinary name being scanned
binary_size: u64Binary size in bytes
binary_hash: StringBinary SHA-256 hash
binary_segments_expected: u32Expected number of binary segments
binary_segments_uploaded: u32Number of binary segments uploaded
scan_timeout: Option<u32>Scan timeout in minutes
scan_duration: Option<f64>Scan duration in minutes (can be fractional)
results_size: Option<f64>Results size (can be fractional)
message: Option<String>Status message
created: StringScan creation time
changed: StringLast changed time
modules: Vec<Value>Modules information
selected_modules: Vec<Value>Selected modules
display_modules: Vec<Value>Display modules
display_selected_modules: Vec<Value>Display selected modules
links: Option<Value>Links for navigation (HAL format)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scan
impl<'de> Deserialize<'de> for Scan
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 Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnwindSafe for Scan
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