/* * BOAVIZTAPI - DEMO * *

🎯 Retrieving the impacts of digital elements.

This is a quick demo, to see full documentation click here

Features

Bellow a list of all available features.

πŸ‘„ Verbose

Verbose is an HTTP parameter. If set at true :

\"attribute\": {\"value\": \"value\", \"unit\": \"unit\", \"status\": \"Status\", \"source\": \"Source\", \"min\":\"min\", \"max\":\"max\", \"significant_figures\":\"significant_figures\"}

πŸ”¨ Embedded

πŸ”Œ Usage

Usage impacts are assessed by multiplying :

⏲ Duration

Usage impacts can be given as a router parameter, in hours.

If no duration is given, the impact is assess for the all life duration of the asset.

βœ–οΈ Impact factors

⚑ Electrical consumption

⏺️ Given
πŸ“ˆ Modeled
πŸ“‹ Archetype

πŸ”ƒ Auto-complete & πŸ“‹ Archetype

The API will complete the missing attributes in a request with a completion function or with values taken from the archetype specified in the route parameter.

⏬ Allocation

If no duration is given, the life_duration (`hours_life_time) of the asset is used.

* * The version of the OpenAPI document: 1.3 * * Generated by: https://openapi-generator.tech */ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct WorkloadTime { #[serde(rename = "time_percentage", skip_serializing_if = "Option::is_none")] pub time_percentage: Option, #[serde(rename = "load_percentage", skip_serializing_if = "Option::is_none")] pub load_percentage: Option, } impl WorkloadTime { pub fn new() -> WorkloadTime { WorkloadTime { time_percentage: None, load_percentage: None, } } }