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: _profile_summary.rs
    path of file: ./repos/aws-sdk-rust/sdk/b2bi/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 the details for a profile. A profile is the mechanism used to create the concept of a private network.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ProfileSummary {
    /// <p>Returns the unique, system-generated identifier for the profile.</p>
    pub profile_id: ::std::string::String,
    /// <p>Returns the display name for profile.</p>
    pub name: ::std::string::String,
    /// <p>Returns the name for the business associated with this profile.</p>
    pub business_name: ::std::string::String,
    /// <p>Specifies whether or not logging is enabled for this profile.</p>
    pub logging: ::std::option::Option<crate::types::Logging>,
    /// <p>Returns the name of the logging group.</p>
    pub log_group_name: ::std::option::Option<::std::string::String>,
    /// <p>Returns the timestamp for creation date and time of the profile.</p>
    pub created_at: ::aws_smithy_types::DateTime,
    /// <p>Returns the timestamp that identifies the most recent date and time that the profile was modified.</p>
    pub modified_at: ::std::option::Option<::aws_smithy_types::DateTime>,
}
impl ProfileSummary {
    /// <p>Returns the unique, system-generated identi
    
    pub fn build(self) -> ::std::result::Result<crate::types::ProfileSummary, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::ProfileSummary {
            profile_id: self.profile_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "profile_id",
                    "profile_id was not specified but it is required when building ProfileSummary",
                )
            })?,
            name: self.name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "name",
                    "name was not specified but it is required when building ProfileSummary",
                )
            })?,
            business_name: self.business_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "business_name",
                    "business_name was not specified but it is required when building ProfileSummary",
                )
            })?,
            logging: self.logging,
            log_group_name: self.log_group_name,
            created_at: self.created_at.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "created_at",
                    "created_at was not specified but it is required when building ProfileSummary",
                )
            })?,
            modified_at: self.modified_at,
        })
    }