pub struct Builder { /* private fields */ }Expand description
A builder for ModelPackageStatusDetails.
Implementations
sourceimpl Builder
impl Builder
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 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 build(self) -> ModelPackageStatusDetails
pub fn build(self) -> ModelPackageStatusDetails
Consumes the builder and constructs a ModelPackageStatusDetails.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more