aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(unused_mut)]
pub fn ser_slot_date_time_range_request(
    mut writer: ::aws_smithy_query::QueryValueWriter,
    input: &crate::types::SlotDateTimeRangeRequest,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    #[allow(unused_mut)]
    let mut scope_1 = writer.prefix("EarliestTime");
    if let Some(var_2) = &input.earliest_time {
        scope_1.date_time(var_2, ::aws_smithy_types::date_time::Format::DateTime)?;
    }
    #[allow(unused_mut)]
    let mut scope_3 = writer.prefix("LatestTime");
    if let Some(var_4) = &input.latest_time {
        scope_3.date_time(var_4, ::aws_smithy_types::date_time::Format::DateTime)?;
    }
    Ok(())
}