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: _domain_status.rs
    path of file: ./repos/aws-sdk-rust/sdk/cloudsearch/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>The current status of the search domain.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DomainStatus {
    /// <p>An internally generated unique identifier for a domain.</p>
    pub domain_id: ::std::string::String,
    /// <p>A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).</p>
    pub domain_name: ::std::string::String,
    /// <p>The Amazon Resource Name (ARN) of the search domain. See <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html" target="_blank">Identifiers for IAM Entities</a> in <i>Using AWS Identity and Access Management</i> f
    
    pub fn build(self) -> ::std::result::Result<crate::types::DomainStatus, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::DomainStatus {
            domain_id: self.domain_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "domain_id",
                    "domain_id was not specified but it is required when building DomainStatus",
                )
            })?,
            domain_name: self.domain_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "domain_name",
                    "domain_name was not specified but it is required when building DomainStatus",
                )
            })?,
            arn: self.arn,
            created: self.created,
            deleted: self.deleted,
            doc_service: self.doc_service,
            search_service: self.search_service,
            requires_index_documents: self.requires_index_documents.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "requires_index_documents",
                    "requires_index_documents was not specified but it is required when building DomainStatus",
                )
            })?,
            processing: self.processing,
            search_instance_type: self.search_instance_type,
            search_partition_count: self.search_partition_count,
            search_instance_count: self.search_instance_count,
            limits: self.limits,
        })
    }