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: _user_settings.rs
    path of file: ./repos/aws-sdk-rust/sdk/workspacesweb/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 user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming 
    
    pub fn build(self) -> ::std::result::Result<crate::types::UserSettings, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::UserSettings {
            user_settings_arn: self.user_settings_arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "user_settings_arn",
                    "user_settings_arn was not specified but it is required when building UserSettings",
                )
            })?,
            associated_portal_arns: self.associated_portal_arns,
            copy_allowed: self.copy_allowed,
            paste_allowed: self.paste_allowed,
            download_allowed: self.download_allowed,
            upload_allowed: self.upload_allowed,
            print_allowed: self.print_allowed,
            disconnect_timeout_in_minutes: self.disconnect_timeout_in_minutes,
            idle_disconnect_timeout_in_minutes: self.idle_disconnect_timeout_in_minutes,
            cookie_synchronization_configuration: self.cookie_synchronization_configuration,
        })
    }