You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: _predefined_load_metric_specification.rs
    path of file: ./repos/aws-sdk-rust/sdk/autoscalingplans/src/types
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>Represents a predefined metric that can be used for predictive scaling.</p>
/// <p>After creating your scaling plan, you can use the AWS Auto Scaling console to visualize forecasts for the specified metric. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource">View Scaling Information for a Resource</a> in the <i>AWS Auto Scaling User Guide</i>.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::De
    
    pub fn build(self) -> ::std::result::Result<crate::types::PredefinedLoadMetricSpecification, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::PredefinedLoadMetricSpecification {
            predefined_load_metric_type: self.predefined_load_metric_type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "predefined_load_metric_type",
                    "predefined_load_metric_type was not specified but it is required when building PredefinedLoadMetricSpecification",
                )
            })?,
            resource_label: self.resource_label,
        })
    }