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: _task_run_sort_criteria.rs
    path of file: ./repos/aws-sdk-rust/sdk/glue/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 sorting criteria that are used to sort the list of task runs for the machine learning transform.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct TaskRunSortCriteria {
    /// <p>The column to be used to sort the list of task runs for the machine learning transform.</p>
    pub column: crate::types::TaskRunSortColumnType,
    /// <p>The sort direction to be used to sort the list of task runs for the machine learning transform.</p>
    pub sort_direction: crate::types::SortDirectionType,
}
i
    
    pub fn build(self) -> ::std::result::Result<crate::types::TaskRunSortCriteria, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::TaskRunSortCriteria {
            column: self.column.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "column",
                    "column was not specified but it is required when building TaskRunSortCriteria",
                )
            })?,
            sort_direction: self.sort_direction.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "sort_direction",
                    "sort_direction was not specified but it is required when building TaskRunSortCriteria",
                )
            })?,
        })
    }