pub struct PolicyScanResult {
pub scan_id: u64,
pub application_guid: String,
pub policy_guid: String,
pub status: ScanStatus,
pub scan_type: ScanType,
pub started: DateTime<Utc>,
pub completed: Option<DateTime<Utc>>,
pub compliance_result: Option<PolicyComplianceResult>,
pub findings_summary: Option<FindingsSummary>,
pub results_url: Option<String>,
}Expand description
Policy scan result
Fields§
§scan_id: u64Scan identifier
application_guid: StringApplication GUID
policy_guid: StringPolicy GUID used for evaluation
status: ScanStatusScan status
scan_type: ScanTypeScan type
started: DateTime<Utc>When the scan was initiated
completed: Option<DateTime<Utc>>When the scan completed
compliance_result: Option<PolicyComplianceResult>Policy compliance result
findings_summary: Option<FindingsSummary>Findings summary
results_url: Option<String>URL to detailed results
Trait Implementations§
Source§impl Clone for PolicyScanResult
impl Clone for PolicyScanResult
Source§fn clone(&self) -> PolicyScanResult
fn clone(&self) -> PolicyScanResult
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 PolicyScanResult
impl Debug for PolicyScanResult
Source§impl<'de> Deserialize<'de> for PolicyScanResult
impl<'de> Deserialize<'de> for PolicyScanResult
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 PolicyScanResult
impl RefUnwindSafe for PolicyScanResult
impl Send for PolicyScanResult
impl Sync for PolicyScanResult
impl Unpin for PolicyScanResult
impl UnwindSafe for PolicyScanResult
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