pub fn new(config: &AppConfig, server_plugins: &[ServerPluginWrapper]) -> FrameworkResults {
        FrameworkResults {
            started: Utc::now(),
            completed: None,
            config: config.clone(),
            benchmark_metadata: FrameworkMetadata::default(),
            servers: server_plugins
                .iter()
                .map(|p| p.server_name())
                .map(|n| ServerResult::new(n.clone()))
                .collect(),
        }
    }
/// Constructs a new `FrameworkResults` instance.
///
/// Params:
/// * `config`: the application's configuration
/// * `server_plugins`: the set of [ServerPlugin]s representing the supported FHIR server implementations
Constructs a new `FrameworkResults` instance.
Params:
`config`: the application's configuration
`server_plugins`: the set of [ServerPlugin]s representing the supported FHIR server implementations
Constructs a new ` FrameworkResults ` instance . Params : ` config ` : the application ' s configuration ` server_plugins ` : the set of [ ServerPlugin ] s representing the supported FHIR server implementations
pub fn new(config: &AppConfig, server_plugins: &[ServerPluginWrapper]) -> FrameworkResults {
        FrameworkResults {
            started: Utc::now(),
            completed: None,
            config: config.clone(),
            benchmark_metadata: FrameworkMetadata::default(),
            servers: server_plugins
                .iter()
                .map(|p| p.server_name())
                .map(|n| ServerResult::new(n.clone()))
                .collect(),
        }
    }
pub fn new ( config : & AppConfig , server_plugins : & [ ServerPluginWrapper ] ) -> FrameworkResults { FrameworkResults { started : Utc :: now ( ) , completed : None , config : config . clone ( ) , benchmark_metadata : FrameworkMetadata :: default ( ) , servers : server_plugins . iter ( ) . map ( | p | p . server_name ( ) ) . map ( | n | ServerResult :: new ( n . clone ( ) ) ) . collect ( ) , } }
Constructs a new `FrameworkResults` instance.
Constructs a new ` FrameworkResults ` instance .
config
&AppConfig
server_plugins
&[ServerPluginWrapper]
config
&AppConfig
server_plugins
&[ServerPluginWrapper]