#[non_exhaustive]pub struct UpdateModelCardInput {
pub model_card_name: Option<String>,
pub content: Option<String>,
pub model_card_status: Option<ModelCardStatus>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.model_card_name: Option<String>
The name or Amazon Resource Name (ARN) of the model card to update.
content: Option<String>
The updated model card content. Content must be in model card JSON schema and provided as a string.
When updating model card content, be sure to include the full content and not just updated content.
model_card_status: Option<ModelCardStatus>
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
Implementations§
source§impl UpdateModelCardInput
impl UpdateModelCardInput
sourcepub fn model_card_name(&self) -> Option<&str>
pub fn model_card_name(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the model card to update.
sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
The updated model card content. Content must be in model card JSON schema and provided as a string.
When updating model card content, be sure to include the full content and not just updated content.
sourcepub fn model_card_status(&self) -> Option<&ModelCardStatus>
pub fn model_card_status(&self) -> Option<&ModelCardStatus>
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
source§impl UpdateModelCardInput
impl UpdateModelCardInput
sourcepub fn builder() -> UpdateModelCardInputBuilder
pub fn builder() -> UpdateModelCardInputBuilder
Creates a new builder-style object to manufacture UpdateModelCardInput
.
Trait Implementations§
source§impl Clone for UpdateModelCardInput
impl Clone for UpdateModelCardInput
source§fn clone(&self) -> UpdateModelCardInput
fn clone(&self) -> UpdateModelCardInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateModelCardInput
impl Debug for UpdateModelCardInput
source§impl PartialEq for UpdateModelCardInput
impl PartialEq for UpdateModelCardInput
impl StructuralPartialEq for UpdateModelCardInput
Auto Trait Implementations§
impl Freeze for UpdateModelCardInput
impl RefUnwindSafe for UpdateModelCardInput
impl Send for UpdateModelCardInput
impl Sync for UpdateModelCardInput
impl Unpin for UpdateModelCardInput
impl UnwindSafe for UpdateModelCardInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more