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: _context_data_type.rs
    path of file: ./repos/aws-sdk-rust/sdk/cognitoidentityprovider/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>Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ContextDataType {
    /// <p>The source IP address of your user's device.</p>
    pub ip_address: ::std::string::String,
    /// <p>Your server endpoint where 
    
    pub fn build(self) -> ::std::result::Result<crate::types::ContextDataType, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::ContextDataType {
            ip_address: self.ip_address.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "ip_address",
                    "ip_address was not specified but it is required when building ContextDataType",
                )
            })?,
            server_name: self.server_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "server_name",
                    "server_name was not specified but it is required when building ContextDataType",
                )
            })?,
            server_path: self.server_path.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "server_path",
                    "server_path was not specified but it is required when building ContextDataType",
                )
            })?,
            http_headers: self.http_headers.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "http_headers",
                    "http_headers was not specified but it is required when building ContextDataType",
                )
            })?,
            encoded_data: self.encoded_data,
        })
    }