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: _consumer_description.rs
    path of file: ./repos/aws-sdk-rust/sdk/kinesis/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>An object that represents the details of a registered consumer. This type of object is returned by <code>DescribeStreamConsumer</code>.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ConsumerDescription {
    /// <p>The name of the consu
    
    pub fn build(self) -> ::std::result::Result<crate::types::ConsumerDescription, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::ConsumerDescription {
            consumer_name: self.consumer_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "consumer_name",
                    "consumer_name was not specified but it is required when building ConsumerDescription",
                )
            })?,
            consumer_arn: self.consumer_arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "consumer_arn",
                    "consumer_arn was not specified but it is required when building ConsumerDescription",
                )
            })?,
            consumer_status: self.consumer_status.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "consumer_status",
                    "consumer_status was not specified but it is required when building ConsumerDescription",
                )
            })?,
            consumer_creation_timestamp: self.consumer_creation_timestamp.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "consumer_creation_timestamp",
                    "consumer_creation_timestamp was not specified but it is required when building ConsumerDescription",
                )
            })?,
            stream_arn: self.stream_arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "stream_arn",
                    "stream_arn was not specified but it is required when building ConsumerDescription",
                )
            })?,
        })
    }