#[non_exhaustive]pub struct ModelPackageStatusDetailsBuilder { /* private fields */ }
Expand description
A builder for ModelPackageStatusDetails
.
Implementations§
source§impl ModelPackageStatusDetailsBuilder
impl ModelPackageStatusDetailsBuilder
sourcepub fn validation_statuses(self, input: ModelPackageStatusItem) -> Self
pub fn validation_statuses(self, input: ModelPackageStatusItem) -> Self
Appends an item to validation_statuses
.
To override the contents of this collection use set_validation_statuses
.
The validation status of the model package.
sourcepub fn set_validation_statuses(
self,
input: Option<Vec<ModelPackageStatusItem>>
) -> Self
pub fn set_validation_statuses( self, input: Option<Vec<ModelPackageStatusItem>> ) -> Self
The validation status of the model package.
sourcepub fn get_validation_statuses(&self) -> &Option<Vec<ModelPackageStatusItem>>
pub fn get_validation_statuses(&self) -> &Option<Vec<ModelPackageStatusItem>>
The validation status of the model package.
sourcepub fn image_scan_statuses(self, input: ModelPackageStatusItem) -> Self
pub fn image_scan_statuses(self, input: ModelPackageStatusItem) -> Self
Appends an item to image_scan_statuses
.
To override the contents of this collection use set_image_scan_statuses
.
The status of the scan of the Docker image container for the model package.
sourcepub fn set_image_scan_statuses(
self,
input: Option<Vec<ModelPackageStatusItem>>
) -> Self
pub fn set_image_scan_statuses( self, input: Option<Vec<ModelPackageStatusItem>> ) -> Self
The status of the scan of the Docker image container for the model package.
sourcepub fn get_image_scan_statuses(&self) -> &Option<Vec<ModelPackageStatusItem>>
pub fn get_image_scan_statuses(&self) -> &Option<Vec<ModelPackageStatusItem>>
The status of the scan of the Docker image container for the model package.
sourcepub fn build(self) -> ModelPackageStatusDetails
pub fn build(self) -> ModelPackageStatusDetails
Consumes the builder and constructs a ModelPackageStatusDetails
.
Trait Implementations§
source§impl Clone for ModelPackageStatusDetailsBuilder
impl Clone for ModelPackageStatusDetailsBuilder
source§fn clone(&self) -> ModelPackageStatusDetailsBuilder
fn clone(&self) -> ModelPackageStatusDetailsBuilder
Returns a copy 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 Default for ModelPackageStatusDetailsBuilder
impl Default for ModelPackageStatusDetailsBuilder
source§fn default() -> ModelPackageStatusDetailsBuilder
fn default() -> ModelPackageStatusDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ModelPackageStatusDetailsBuilder
impl PartialEq for ModelPackageStatusDetailsBuilder
source§fn eq(&self, other: &ModelPackageStatusDetailsBuilder) -> bool
fn eq(&self, other: &ModelPackageStatusDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModelPackageStatusDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ModelPackageStatusDetailsBuilder
impl Send for ModelPackageStatusDetailsBuilder
impl Sync for ModelPackageStatusDetailsBuilder
impl Unpin for ModelPackageStatusDetailsBuilder
impl UnwindSafe for ModelPackageStatusDetailsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.