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: _search_related_items_response_item.rs
    path of file: ./repos/aws-sdk-rust/sdk/connectcases/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 list of items that represent RelatedItems.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct SearchRelatedItemsResponseItem {
    /// <p>Unique identifier of a related item.</p>
    pub related_item_id: ::std::string::String,
    /// <p>Type of a related item.</p>
    pub r#type: crate::types::RelatedItemType,
    /// <p>Time at which a related item was associated with a case.</p>
    pub association_time: ::aws_smithy_types::DateTime,
    /// <p>Represents the content of a particular type of related item.</p>
    pub content: ::std::option::Option<crate::types::RelatedItemContent>,
    /// <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::option::Option<::std::string::String>>>,
    /// <p>Represents the creator of the related item.</p>
    pub performed_by: ::std::option::Option<crate::types::UserUnion>,
}
impl SearchRelatedItemsResponseItem {
    /// <p>Unique identifier of a related item.</p>
    pub fn rel
    
    pub fn build(self) -> ::std::result::Result<crate::types::SearchRelatedItemsResponseItem, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::SearchRelatedItemsResponseItem {
            related_item_id: self.related_item_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "related_item_id",
                    "related_item_id was not specified but it is required when building SearchRelatedItemsResponseItem",
                )
            })?,
            r#type: self.r#type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "r#type",
                    "r#type was not specified but it is required when building SearchRelatedItemsResponseItem",
                )
            })?,
            association_time: self.association_time.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "association_time",
                    "association_time was not specified but it is required when building SearchRelatedItemsResponseItem",
                )
            })?,
            content: self.content,
            tags: self.tags,
            performed_by: self.performed_by,
        })
    }