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: _exclusion.rs
    path of file: ./repos/aws-sdk-rust/sdk/inspector/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>Contains information about what was excluded from an assessment run.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct Exclusion {
    /// <p>The ARN that specifies the exclusion.</p>
    pub arn: ::std::string::String,
    /// <p>The name of the exclusion.</p>
    pub title: ::std::string::String,
    /// <p>The description of the exclusion.</p>
    pub description: ::std::string::String,
    /// <p>The recommendation for the exclusion.</p>
    pub recommendation: ::std::string::String,
    /// <p>The AWS resources for which the exclusion pertains.</p>
    pub scopes: :
    
    pub fn build(self) -> ::std::result::Result<crate::types::Exclusion, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::Exclusion {
            arn: self.arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "arn",
                    "arn was not specified but it is required when building Exclusion",
                )
            })?,
            title: self.title.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "title",
                    "title was not specified but it is required when building Exclusion",
                )
            })?,
            description: self.description.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "description",
                    "description was not specified but it is required when building Exclusion",
                )
            })?,
            recommendation: self.recommendation.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "recommendation",
                    "recommendation was not specified but it is required when building Exclusion",
                )
            })?,
            scopes: self.scopes.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "scopes",
                    "scopes was not specified but it is required when building Exclusion",
                )
            })?,
            attributes: self.attributes,
        })
    }