pub struct ScanDataExportRequest {
pub job_name: Option<String>,
pub projects: Option<Vec<i64>>,
pub labels: Option<Vec<i64>>,
pub repositories: Option<String>,
pub cve_ids: Option<String>,
pub tags: Option<String>,
}Expand description
ScanDataExportRequest : The criteria to select the scan data to export.
Fields§
§job_name: Option<String>Name of the scan data export job
projects: Option<Vec<i64>>A list of one or more projects for which to export the scan data, currently only one project is supported due to performance concerns, but define as array for extension in the future.
labels: Option<Vec<i64>>A list of one or more labels for which to export the scan data, defaults to all if empty
repositories: Option<String>A list of repositories for which to export the scan data, defaults to all if empty
cve_ids: Option<String>CVE-IDs for which to export data. Multiple CVE-IDs can be specified by separating using ‘,’ and enclosed between ‘{}’. Defaults to all if empty
A list of tags enclosed within ‘{}’. Defaults to all if empty
Implementations§
Source§impl ScanDataExportRequest
impl ScanDataExportRequest
Sourcepub fn new() -> ScanDataExportRequest
pub fn new() -> ScanDataExportRequest
The criteria to select the scan data to export.
Trait Implementations§
Source§impl Clone for ScanDataExportRequest
impl Clone for ScanDataExportRequest
Source§fn clone(&self) -> ScanDataExportRequest
fn clone(&self) -> ScanDataExportRequest
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 ScanDataExportRequest
impl Debug for ScanDataExportRequest
Source§impl Default for ScanDataExportRequest
impl Default for ScanDataExportRequest
Source§fn default() -> ScanDataExportRequest
fn default() -> ScanDataExportRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScanDataExportRequest
impl<'de> Deserialize<'de> for ScanDataExportRequest
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
Source§impl PartialEq for ScanDataExportRequest
impl PartialEq for ScanDataExportRequest
Source§impl Serialize for ScanDataExportRequest
impl Serialize for ScanDataExportRequest
impl StructuralPartialEq for ScanDataExportRequest
Auto Trait Implementations§
impl Freeze for ScanDataExportRequest
impl RefUnwindSafe for ScanDataExportRequest
impl Send for ScanDataExportRequest
impl Sync for ScanDataExportRequest
impl Unpin for ScanDataExportRequest
impl UnwindSafe for ScanDataExportRequest
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