pub struct ScanArtifactParams {
pub project_name: String,
pub repository_name: String,
pub reference: String,
pub x_request_id: Option<String>,
pub scan_type: Option<HarborScanType>,
}Expand description
struct for passing parameters to the method 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
x_request_id: Option<String>An unique ID for the request
scan_type: Option<HarborScanType>Trait Implementations§
Source§impl Clone for ScanArtifactParams
impl Clone for ScanArtifactParams
Source§fn clone(&self) -> ScanArtifactParams
fn clone(&self) -> ScanArtifactParams
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 ScanArtifactParams
impl RefUnwindSafe for ScanArtifactParams
impl Send for ScanArtifactParams
impl Sync for ScanArtifactParams
impl Unpin for ScanArtifactParams
impl UnwindSafe for ScanArtifactParams
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