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: _filter_slider_control.rs
    path of file: ./repos/aws-sdk-rust/sdk/quicksight/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>A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct FilterSliderControl {
    /// <p>The ID of the <code>FilterSl
    
    pub fn build(self) -> ::std::result::Result<crate::types::FilterSliderControl, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::FilterSliderControl {
            filter_control_id: self.filter_control_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "filter_control_id",
                    "filter_control_id was not specified but it is required when building FilterSliderControl",
                )
            })?,
            title: self.title.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "title",
                    "title was not specified but it is required when building FilterSliderControl",
                )
            })?,
            source_filter_id: self.source_filter_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "source_filter_id",
                    "source_filter_id was not specified but it is required when building FilterSliderControl",
                )
            })?,
            display_options: self.display_options,
            r#type: self.r#type,
            maximum_value: self.maximum_value.unwrap_or_default(),
            minimum_value: self.minimum_value.unwrap_or_default(),
            step_size: self.step_size.unwrap_or_default(),
        })
    }