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: _datastore_properties.rs
    path of file: ./repos/aws-sdk-rust/sdk/medicalimaging/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 properties associated with the data store.
    
    pub fn build(self) -> ::std::result::Result<crate::types::DatastoreProperties, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::DatastoreProperties {
            datastore_id: self.datastore_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "datastore_id",
                    "datastore_id was not specified but it is required when building DatastoreProperties",
                )
            })?,
            datastore_name: self.datastore_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "datastore_name",
                    "datastore_name was not specified but it is required when building DatastoreProperties",
                )
            })?,
            datastore_status: self.datastore_status.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "datastore_status",
                    "datastore_status was not specified but it is required when building DatastoreProperties",
                )
            })?,
            kms_key_arn: self.kms_key_arn,
            datastore_arn: self.datastore_arn,
            created_at: self.created_at,
            updated_at: self.updated_at,
        })
    }