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: _signing_image_format.rs
    path of file: ./repos/aws-sdk-rust/sdk/signer/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>The image format of a AWS Signer platform or profile.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct SigningImageFormat {
    /// <p>The supported formats of a signing image.</p>
    pub supported_formats: ::std::vec::Vec<crate::types::ImageFormat>,
    /// <p>The default format of a signing image.</p>
    pub default_format: crate::types::ImageFormat,
}
i
    
    pub fn build(self) -> ::std::result::Result<crate::types::SigningImageFormat, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::SigningImageFormat {
            supported_formats: self.supported_formats.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "supported_formats",
                    "supported_formats was not specified but it is required when building SigningImageFormat",
                )
            })?,
            default_format: self.default_format.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "default_format",
                    "default_format was not specified but it is required when building SigningImageFormat",
                )
            })?,
        })
    }