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: _continuous_deployment_policy_list.rs
    path of file: ./repos/aws-sdk-rust/sdk/cloudfront/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>Contains a list of continuous deployment policies.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ContinuousDeploymentPolicyList {
    /// <p>Indicates the next page of continuous deployment policies. To get the next page of the list, use this value in the <code>Marker</code> field of your request.</p>
    pub next_marker: ::std::option::Option<::std::string::String>,
    /// <p>The maximum number of continuous deployment policies that were specified in your request.</p>
    pub max_items: i32,
    /// <p>The total number of continuous deployment policies in your Ama
    
    pub fn build(self) -> ::std::result::Result<crate::types::ContinuousDeploymentPolicyList, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::ContinuousDeploymentPolicyList {
            next_marker: self.next_marker,
            max_items: self.max_items.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "max_items",
                    "max_items was not specified but it is required when building ContinuousDeploymentPolicyList",
                )
            })?,
            quantity: self.quantity.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "quantity",
                    "quantity was not specified but it is required when building ContinuousDeploymentPolicyList",
                )
            })?,
            items: self.items,
        })
    }