#[non_exhaustive]pub struct UpdateMlModelInput {
pub ml_model_id: Option<String>,
pub ml_model_name: Option<String>,
pub score_threshold: Option<f32>,
}
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.ml_model_id: Option<String>
The ID assigned to the MLModel
during creation.
ml_model_name: Option<String>
A user-supplied name or description of the MLModel
.
score_threshold: Option<f32>
The ScoreThreshold
used in binary classification MLModel
that marks the boundary between a positive prediction and a negative prediction.
Output values greater than or equal to the ScoreThreshold
receive a positive result from the MLModel
, such as true
. Output values less than the ScoreThreshold
receive a negative response from the MLModel
, such as false
.
Implementations§
source§impl UpdateMlModelInput
impl UpdateMlModelInput
sourcepub fn ml_model_id(&self) -> Option<&str>
pub fn ml_model_id(&self) -> Option<&str>
The ID assigned to the MLModel
during creation.
sourcepub fn ml_model_name(&self) -> Option<&str>
pub fn ml_model_name(&self) -> Option<&str>
A user-supplied name or description of the MLModel
.
sourcepub fn score_threshold(&self) -> Option<f32>
pub fn score_threshold(&self) -> Option<f32>
The ScoreThreshold
used in binary classification MLModel
that marks the boundary between a positive prediction and a negative prediction.
Output values greater than or equal to the ScoreThreshold
receive a positive result from the MLModel
, such as true
. Output values less than the ScoreThreshold
receive a negative response from the MLModel
, such as false
.
source§impl UpdateMlModelInput
impl UpdateMlModelInput
sourcepub fn builder() -> UpdateMlModelInputBuilder
pub fn builder() -> UpdateMlModelInputBuilder
Creates a new builder-style object to manufacture UpdateMlModelInput
.
Trait Implementations§
source§impl Clone for UpdateMlModelInput
impl Clone for UpdateMlModelInput
source§fn clone(&self) -> UpdateMlModelInput
fn clone(&self) -> UpdateMlModelInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateMlModelInput
impl Debug for UpdateMlModelInput
source§impl PartialEq for UpdateMlModelInput
impl PartialEq for UpdateMlModelInput
source§fn eq(&self, other: &UpdateMlModelInput) -> bool
fn eq(&self, other: &UpdateMlModelInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateMlModelInput
Auto Trait Implementations§
impl Freeze for UpdateMlModelInput
impl RefUnwindSafe for UpdateMlModelInput
impl Send for UpdateMlModelInput
impl Sync for UpdateMlModelInput
impl Unpin for UpdateMlModelInput
impl UnwindSafe for UpdateMlModelInput
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> 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