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: _regional_bucket.rs
    path of file: ./repos/aws-sdk-rust/sdk/s3control/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 container for the regional bucket.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct RegionalBucket {
    /// <p></p>
    pub bucket: ::std::string::String,
    /// <p>The Amazon Resource Name (ARN) for the regional bucket.</p>
    pub bucket_arn: ::std::option::Option<::std::string::String>,
    /// <p></p>
    pub public_access_block_enabled: bool,
    /// <p>The creation date of the regional bucket</p>
    pub creation_date: ::aws_smithy_types::DateTime,
    /// <p>The Outposts ID of the regional bucket.</p>
    pub outpost_id: ::std::option::Option<::std::string::String>,
}
impl RegionalBucket {
    /// 
    
    pub fn build(self) -> ::std::result::Result<crate::types::RegionalBucket, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::RegionalBucket {
            bucket: self.bucket.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "bucket",
                    "bucket was not specified but it is required when building RegionalBucket",
                )
            })?,
            bucket_arn: self.bucket_arn,
            public_access_block_enabled: self.public_access_block_enabled.unwrap_or_default(),
            creation_date: self.creation_date.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "creation_date",
                    "creation_date was not specified but it is required when building RegionalBucket",
                )
            })?,
            outpost_id: self.outpost_id,
        })
    }