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: _root_certificate_public_key.rs
    path of file: ./repos/aws-sdk-rust/sdk/paymentcryptography/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>Parameter information for root public key certificate import.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
pub struct RootCertificatePublicKey {
    /// <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.</p>
    pub key_attributes: ::std::option::Option<crate::types::KeyAttributes>,
    /// <p>Parameter information for root public key certificate import.
    
    pub fn build(self) -> ::std::result::Result<crate::types::RootCertificatePublicKey, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::RootCertificatePublicKey {
            key_attributes: self.key_attributes,
            public_key_certificate: self.public_key_certificate.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "public_key_certificate",
                    "public_key_certificate was not specified but it is required when building RootCertificatePublicKey",
                )
            })?,
        })
    }