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: _shard.rs
    path of file: ./repos/aws-sdk-rust/sdk/kinesis/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 uniquely identified group of data records in a Kinesis data stream.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct Shard {
    /// <p>The unique identifier of the shard within the stream.</p>
    pub shard_id: ::std::string::String,
    /// <p>The shard ID of the shard's parent.</p>
    pub parent_shard_id: ::std::option::Option<::std::string::String>,
    /// <p>The shard ID of the shard adjacent to the shard's parent.</p>
    pub 
    
    pub fn build(self) -> ::std::result::Result<crate::types::Shard, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::Shard {
            shard_id: self.shard_id.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "shard_id",
                    "shard_id was not specified but it is required when building Shard",
                )
            })?,
            parent_shard_id: self.parent_shard_id,
            adjacent_parent_shard_id: self.adjacent_parent_shard_id,
            hash_key_range: self.hash_key_range,
            sequence_number_range: self.sequence_number_range,
        })
    }