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: _field_type_details.rs
    path of file: ./repos/aws-sdk-rust/sdk/appflow/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 details regarding the supported field type and the operators that can be applied for filtering.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct FieldTypeDetails {
    /// <p>The type of field, such as string, integer, date, and so on.</p>
    pub field_type: ::std::string::String,
    /// <p>The list of operators supported by a field.</p>
    pub filter_operators: ::std::vec::Vec<crate::types::Operator>,
    /// <p>The list of values that a field can contain. For example, a Boolean <code>fieldType</code> can have two values: "true" and "false".</p>
    pub supported_values: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    
    
    pub fn build(self) -> ::std::result::Result<crate::types::FieldTypeDetails, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::FieldTypeDetails {
            field_type: self.field_type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "field_type",
                    "field_type was not specified but it is required when building FieldTypeDetails",
                )
            })?,
            filter_operators: self.filter_operators.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "filter_operators",
                    "filter_operators was not specified but it is required when building FieldTypeDetails",
                )
            })?,
            supported_values: self.supported_values,
            value_regex_pattern: self.value_regex_pattern,
            supported_date_format: self.supported_date_format,
            field_value_range: self.field_value_range,
            field_length_range: self.field_length_range,
        })
    }