#[non_exhaustive]pub struct ExportSBOMResponse {
pub discovery_occurrence: String,
/* private fields */
}Expand description
The response from a call to ExportSBOM.
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.discovery_occurrence: StringThe name of the discovery occurrence in the form “projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.
Implementations§
Source§impl ExportSBOMResponse
impl ExportSBOMResponse
pub fn new() -> Self
Sourcepub fn set_discovery_occurrence<T: Into<String>>(self, v: T) -> Self
pub fn set_discovery_occurrence<T: Into<String>>(self, v: T) -> Self
Sets the value of discovery_occurrence.
Trait Implementations§
Source§impl Clone for ExportSBOMResponse
impl Clone for ExportSBOMResponse
Source§fn clone(&self) -> ExportSBOMResponse
fn clone(&self) -> ExportSBOMResponse
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 ExportSBOMResponse
impl Debug for ExportSBOMResponse
Source§impl Default for ExportSBOMResponse
impl Default for ExportSBOMResponse
Source§fn default() -> ExportSBOMResponse
fn default() -> ExportSBOMResponse
Returns the “default value” for a type. Read more
Source§impl Message for ExportSBOMResponse
impl Message for ExportSBOMResponse
Source§impl PartialEq for ExportSBOMResponse
impl PartialEq for ExportSBOMResponse
impl StructuralPartialEq for ExportSBOMResponse
Auto Trait Implementations§
impl Freeze for ExportSBOMResponse
impl RefUnwindSafe for ExportSBOMResponse
impl Send for ExportSBOMResponse
impl Sync for ExportSBOMResponse
impl Unpin for ExportSBOMResponse
impl UnwindSafe for ExportSBOMResponse
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