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: _workflow_type_info.rs
    path of file: ./repos/aws-sdk-rust/sdk/swf/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 a workflow type.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct WorkflowTypeInfo {
    /// <p>The workflow type this information is about.</p>
    pub workflow_type: ::std::option::Option<crate::types::WorkflowType>,
    /// <p>The current status of the workflow type.</p>
    pub status: crate::types::RegistrationStatus,
    /// <p>The description of the type registered through <code>RegisterWorkflowType</code>.</p>
    pub description: ::std::option::Option<::std
    
    pub fn build(self) -> ::std::result::Result<crate::types::WorkflowTypeInfo, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::WorkflowTypeInfo {
            workflow_type: self.workflow_type,
            status: self.status.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "status",
                    "status was not specified but it is required when building WorkflowTypeInfo",
                )
            })?,
            description: self.description,
            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 WorkflowTypeInfo",
                )
            })?,
            deprecation_date: self.deprecation_date,
        })
    }