#[non_exhaustive]
pub struct ProjectVersionDescription {
Show 19 fields pub project_version_arn: Option<String>, pub creation_timestamp: Option<DateTime>, pub min_inference_units: Option<i32>, pub status: Option<ProjectVersionStatus>, pub status_message: Option<String>, pub billable_training_time_in_seconds: Option<i64>, pub training_end_timestamp: Option<DateTime>, pub output_config: Option<OutputConfig>, pub training_data_result: Option<TrainingDataResult>, pub testing_data_result: Option<TestingDataResult>, pub evaluation_result: Option<EvaluationResult>, pub manifest_summary: Option<GroundTruthManifest>, pub kms_key_id: Option<String>, pub max_inference_units: Option<i32>, pub source_project_version_arn: Option<String>, pub version_description: Option<String>, pub feature: Option<CustomizationFeature>, pub base_model_version: Option<String>, pub feature_config: Option<CustomizationFeatureConfig>,
}
Expand description

A description of a version of a Amazon Rekognition project 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.
§project_version_arn: Option<String>

The Amazon Resource Name (ARN) of the project version.

§creation_timestamp: Option<DateTime>

The Unix datetime for the date and time that training started.

§min_inference_units: Option<i32>

The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.

§status: Option<ProjectVersionStatus>

The current status of the model version.

§status_message: Option<String>

A descriptive message for an error or warning that occurred.

§billable_training_time_in_seconds: Option<i64>

The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.

§training_end_timestamp: Option<DateTime>

The Unix date and time that training of the model ended.

§output_config: Option<OutputConfig>

The location where training results are saved.

§training_data_result: Option<TrainingDataResult>

Contains information about the training results.

§testing_data_result: Option<TestingDataResult>

Contains information about the testing results.

§evaluation_result: Option<EvaluationResult>

The training results. EvaluationResult is only returned if training is successful.

§manifest_summary: Option<GroundTruthManifest>

The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.

§kms_key_id: Option<String>

The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.

§max_inference_units: Option<i32>

The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.

§source_project_version_arn: Option<String>

If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.

§version_description: Option<String>

A user-provided description of the project version.

§feature: Option<CustomizationFeature>

The feature that was customized.

§base_model_version: Option<String>

The base detection model version used to create the project version.

§feature_config: Option<CustomizationFeatureConfig>

Feature specific configuration that was applied during training.

Implementations§

source§

impl ProjectVersionDescription

source

pub fn project_version_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the project version.

source

pub fn creation_timestamp(&self) -> Option<&DateTime>

The Unix datetime for the date and time that training started.

source

pub fn min_inference_units(&self) -> Option<i32>

The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.

source

pub fn status(&self) -> Option<&ProjectVersionStatus>

The current status of the model version.

source

pub fn status_message(&self) -> Option<&str>

A descriptive message for an error or warning that occurred.

source

pub fn billable_training_time_in_seconds(&self) -> Option<i64>

The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.

source

pub fn training_end_timestamp(&self) -> Option<&DateTime>

The Unix date and time that training of the model ended.

source

pub fn output_config(&self) -> Option<&OutputConfig>

The location where training results are saved.

source

pub fn training_data_result(&self) -> Option<&TrainingDataResult>

Contains information about the training results.

source

pub fn testing_data_result(&self) -> Option<&TestingDataResult>

Contains information about the testing results.

source

pub fn evaluation_result(&self) -> Option<&EvaluationResult>

The training results. EvaluationResult is only returned if training is successful.

source

pub fn manifest_summary(&self) -> Option<&GroundTruthManifest>

The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.

source

pub fn kms_key_id(&self) -> Option<&str>

The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.

source

pub fn max_inference_units(&self) -> Option<i32>

The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.

source

pub fn source_project_version_arn(&self) -> Option<&str>

If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.

source

pub fn version_description(&self) -> Option<&str>

A user-provided description of the project version.

source

pub fn feature(&self) -> Option<&CustomizationFeature>

The feature that was customized.

source

pub fn base_model_version(&self) -> Option<&str>

The base detection model version used to create the project version.

source

pub fn feature_config(&self) -> Option<&CustomizationFeatureConfig>

Feature specific configuration that was applied during training.

source§

impl ProjectVersionDescription

source

pub fn builder() -> ProjectVersionDescriptionBuilder

Creates a new builder-style object to manufacture ProjectVersionDescription.

Trait Implementations§

source§

impl Clone for ProjectVersionDescription

source§

fn clone(&self) -> ProjectVersionDescription

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProjectVersionDescription

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for ProjectVersionDescription

source§

fn eq(&self, other: &ProjectVersionDescription) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ProjectVersionDescription

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more