pub struct StopScanArtifactParams {
pub project_name: String,
pub repository_name: String,
pub reference: String,
pub scan_type: HarborScanType,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method stop_scan_artifact
Fields§
§project_name: StringThe name of the project
repository_name: StringThe name of the repository. If it contains slash, encode it twice over with URL encoding. e.g. a/b -> a%2Fb -> a%252Fb
reference: StringThe reference of the artifact, can be digest or tag
scan_type: HarborScanTypeThe scan type: Vulnerabilities, SBOM
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for StopScanArtifactParams
impl Clone for StopScanArtifactParams
Source§fn clone(&self) -> StopScanArtifactParams
fn clone(&self) -> StopScanArtifactParams
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 moreAuto Trait Implementations§
impl Freeze for StopScanArtifactParams
impl RefUnwindSafe for StopScanArtifactParams
impl Send for StopScanArtifactParams
impl Sync for StopScanArtifactParams
impl Unpin for StopScanArtifactParams
impl UnwindSafe for StopScanArtifactParams
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