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: _cache_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>A list of cache policies.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct CachePolicyList {
    /// <p>If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the <code>Marker</code> field of a subsequent request to continue listing cache policies where you left off.</p>
    pub next_marker: ::std::option::Option<::std::string::String>,
    /// <p>The maximum number of cache policies requested.</p>
    pub max_items: i32,
    /// <p>The total number of cache policies returned in the response.</p>
    pub quantity: i32,
    /// <p>Contains the cache policies in the list.</p>
    pub items: ::std
    
    pub fn build(self) -> ::std::result::Result<crate::types::CachePolicyList, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::CachePolicyList {
            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 CachePolicyList",
                )
            })?,
            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 CachePolicyList",
                )
            })?,
            items: self.items,
        })
    }