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: _predictive_dialer_config.rs
    path of file: ./repos/aws-sdk-rust/sdk/connectcampaigns/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.

/// Predictive Dialer config
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct PredictiveDialerConfig {
    /// The bandwidth allocation of a queue resource.
    pub bandwidth_allocation: f64,
    /// Allocates dialing capacity for this campaign between multiple active campaigns
    pub dialing_capacity: ::std::option::Option<f64>,
}
impl PredictiveDialerConfig {
    /// The bandwidth allocation of a queue reso
    
    pub fn build(self) -> ::std::result::Result<crate::types::PredictiveDialerConfig, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::PredictiveDialerConfig {
            bandwidth_allocation: self.bandwidth_allocation.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "bandwidth_allocation",
                    "bandwidth_allocation was not specified but it is required when building PredictiveDialerConfig",
                )
            })?,
            dialing_capacity: self.dialing_capacity,
        })
    }