#[non_exhaustive]pub struct GetSBOMOptionalParams {
pub filter_repo_digest: Option<String>,
}
Expand description
GetSBOMOptionalParams is a struct for passing parameters to the method SecurityMonitoringAPI::get_sbom
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.filter_repo_digest: Option<String>
The container image repo_digest
for the SBOM request. When the requested asset type is ‘Image’, this filter is mandatory.
Implementations§
Source§impl GetSBOMOptionalParams
impl GetSBOMOptionalParams
Sourcepub fn filter_repo_digest(self, value: String) -> Self
pub fn filter_repo_digest(self, value: String) -> Self
The container image repo_digest
for the SBOM request. When the requested asset type is ‘Image’, this filter is mandatory.
Trait Implementations§
Source§impl Clone for GetSBOMOptionalParams
impl Clone for GetSBOMOptionalParams
Source§fn clone(&self) -> GetSBOMOptionalParams
fn clone(&self) -> GetSBOMOptionalParams
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 GetSBOMOptionalParams
impl Debug for GetSBOMOptionalParams
Source§impl Default for GetSBOMOptionalParams
impl Default for GetSBOMOptionalParams
Source§fn default() -> GetSBOMOptionalParams
fn default() -> GetSBOMOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetSBOMOptionalParams
impl RefUnwindSafe for GetSBOMOptionalParams
impl Send for GetSBOMOptionalParams
impl Sync for GetSBOMOptionalParams
impl Unpin for GetSBOMOptionalParams
impl UnwindSafe for GetSBOMOptionalParams
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