Struct aws_sdk_frauddetector::types::ModelVersion
source · #[non_exhaustive]pub struct ModelVersion {
pub model_id: String,
pub model_type: ModelTypeEnum,
pub model_version_number: String,
pub arn: Option<String>,
}
Expand description
The model version.
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.model_id: String
The model ID.
model_type: ModelTypeEnum
The model type.
model_version_number: String
The model version number.
arn: Option<String>
The model version ARN.
Implementations§
source§impl ModelVersion
impl ModelVersion
sourcepub fn model_type(&self) -> &ModelTypeEnum
pub fn model_type(&self) -> &ModelTypeEnum
The model type.
sourcepub fn model_version_number(&self) -> &str
pub fn model_version_number(&self) -> &str
The model version number.
source§impl ModelVersion
impl ModelVersion
sourcepub fn builder() -> ModelVersionBuilder
pub fn builder() -> ModelVersionBuilder
Creates a new builder-style object to manufacture ModelVersion
.
Trait Implementations§
source§impl Clone for ModelVersion
impl Clone for ModelVersion
source§fn clone(&self) -> ModelVersion
fn clone(&self) -> ModelVersion
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 Debug for ModelVersion
impl Debug for ModelVersion
source§impl PartialEq for ModelVersion
impl PartialEq for ModelVersion
source§fn eq(&self, other: &ModelVersion) -> bool
fn eq(&self, other: &ModelVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModelVersion
Auto Trait Implementations§
impl Freeze for ModelVersion
impl RefUnwindSafe for ModelVersion
impl Send for ModelVersion
impl Sync for ModelVersion
impl Unpin for ModelVersion
impl UnwindSafe for ModelVersion
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.