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: _scheduled_instance.rs
    path of file: ./repos/aws-sdk-rust/sdk/ec2/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>Describes a Scheduled Instance.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ScheduledInstance {
    /// <p>The Availability Zone.</p>
    pub availability_zone: ::std::option::Option<::std::string::String>,
    /// <p>The date when the Scheduled Instance was purchased.</p>
    pub create_date: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The hourly price for a single instance.</p>
    pub hourly_price: ::std::option::Option<::std::string::String>,
    /// <p>The number of instances.</p>
    pub instance_count: ::std::option::Option<i32>,
    /// <p>T
    
    pub fn build(self) -> crate::types::ScheduledInstance {
        crate::types::ScheduledInstance {
            availability_zone: self.availability_zone,
            create_date: self.create_date,
            hourly_price: self.hourly_price,
            instance_count: self.instance_count,
            instance_type: self.instance_type,
            network_platform: self.network_platform,
            next_slot_start_time: self.next_slot_start_time,
            platform: self.platform,
            previous_slot_end_time: self.previous_slot_end_time,
            recurrence: self.recurrence,
            scheduled_instance_id: self.scheduled_instance_id,
            slot_duration_in_hours: self.slot_duration_in_hours,
            term_end_date: self.term_end_date,
            term_start_date: self.term_start_date,
            total_scheduled_instance_hours: self.total_scheduled_instance_hours,
        }
    }