#[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
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
impl ProjectVersionDescription
sourcepub fn project_version_arn(&self) -> Option<&str>
pub fn project_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the project version.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The Unix datetime for the date and time that training started.
sourcepub fn min_inference_units(&self) -> Option<i32>
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.
sourcepub fn status(&self) -> Option<&ProjectVersionStatus>
pub fn status(&self) -> Option<&ProjectVersionStatus>
The current status of the model version.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A descriptive message for an error or warning that occurred.
sourcepub fn billable_training_time_in_seconds(&self) -> Option<i64>
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.
sourcepub fn training_end_timestamp(&self) -> Option<&DateTime>
pub fn training_end_timestamp(&self) -> Option<&DateTime>
The Unix date and time that training of the model ended.
sourcepub fn output_config(&self) -> Option<&OutputConfig>
pub fn output_config(&self) -> Option<&OutputConfig>
The location where training results are saved.
sourcepub fn training_data_result(&self) -> Option<&TrainingDataResult>
pub fn training_data_result(&self) -> Option<&TrainingDataResult>
Contains information about the training results.
sourcepub fn testing_data_result(&self) -> Option<&TestingDataResult>
pub fn testing_data_result(&self) -> Option<&TestingDataResult>
Contains information about the testing results.
sourcepub fn evaluation_result(&self) -> Option<&EvaluationResult>
pub fn evaluation_result(&self) -> Option<&EvaluationResult>
The training results. EvaluationResult is only returned if training is successful.
sourcepub fn manifest_summary(&self) -> Option<&GroundTruthManifest>
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.
sourcepub fn kms_key_id(&self) -> Option<&str>
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.
sourcepub fn max_inference_units(&self) -> Option<i32>
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.
sourcepub fn source_project_version_arn(&self) -> Option<&str>
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.
sourcepub fn version_description(&self) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
A user-provided description of the project version.
sourcepub fn feature(&self) -> Option<&CustomizationFeature>
pub fn feature(&self) -> Option<&CustomizationFeature>
The feature that was customized.
sourcepub fn base_model_version(&self) -> Option<&str>
pub fn base_model_version(&self) -> Option<&str>
The base detection model version used to create the project version.
sourcepub fn feature_config(&self) -> Option<&CustomizationFeatureConfig>
pub fn feature_config(&self) -> Option<&CustomizationFeatureConfig>
Feature specific configuration that was applied during training.
source§impl ProjectVersionDescription
impl ProjectVersionDescription
sourcepub fn builder() -> ProjectVersionDescriptionBuilder
pub fn builder() -> ProjectVersionDescriptionBuilder
Creates a new builder-style object to manufacture ProjectVersionDescription.
Trait Implementations§
source§impl Clone for ProjectVersionDescription
impl Clone for ProjectVersionDescription
source§fn clone(&self) -> ProjectVersionDescription
fn clone(&self) -> ProjectVersionDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProjectVersionDescription
impl Debug for ProjectVersionDescription
source§impl PartialEq for ProjectVersionDescription
impl PartialEq for ProjectVersionDescription
source§fn eq(&self, other: &ProjectVersionDescription) -> bool
fn eq(&self, other: &ProjectVersionDescription) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ProjectVersionDescription
Auto Trait Implementations§
impl Freeze for ProjectVersionDescription
impl RefUnwindSafe for ProjectVersionDescription
impl Send for ProjectVersionDescription
impl Sync for ProjectVersionDescription
impl Unpin for ProjectVersionDescription
impl UnwindSafe for ProjectVersionDescription
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