pub struct UsageForecastElement {
pub duration: Duration,
pub usage_rate_upper_limit: Option<f64>,
pub usage_rate_upper_95ppr: Option<f64>,
pub usage_rate_upper_68ppr: Option<f64>,
pub usage_rate_expected: f64,
pub usage_rate_lower_68ppr: Option<f64>,
pub usage_rate_lower_95ppr: Option<f64>,
pub usage_rate_lower_limit: Option<f64>,
}Expand description
Expected demand on the store, over one slice of time.
As with leakage, a positive rate means the fill level decreases.
Fields§
§duration: DurationHow long this slice lasts.
usage_rate_upper_limit: Option<f64>The 100 % upper bound.
usage_rate_upper_95ppr: Option<f64>The 95 % upper bound.
usage_rate_upper_68ppr: Option<f64>The 68 % upper bound.
usage_rate_expected: f64The most likely usage rate.
usage_rate_lower_68ppr: Option<f64>The 68 % lower bound.
usage_rate_lower_95ppr: Option<f64>The 95 % lower bound.
usage_rate_lower_limit: Option<f64>The 100 % lower bound.
Implementations§
Source§impl UsageForecastElement
impl UsageForecastElement
Sourcepub fn builder() -> UsageForecastElementBuilder
pub fn builder() -> UsageForecastElementBuilder
Create an instance of UsageForecastElement using the builder syntax
Trait Implementations§
Source§impl Clone for UsageForecastElement
impl Clone for UsageForecastElement
impl Copy for UsageForecastElement
Source§impl Debug for UsageForecastElement
impl Debug for UsageForecastElement
Source§impl<'de> Deserialize<'de> for UsageForecastElement
impl<'de> Deserialize<'de> for UsageForecastElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UsageForecastElement
impl PartialEq for UsageForecastElement
Source§impl Serialize for UsageForecastElement
impl Serialize for UsageForecastElement
impl StructuralPartialEq for UsageForecastElement
Auto Trait Implementations§
impl Forget for UsageForecastElement
impl Freeze for UsageForecastElement
impl Move for UsageForecastElement
impl RefUnwindSafe for UsageForecastElement
impl Send for UsageForecastElement
impl Sync for UsageForecastElement
impl Unpin for UsageForecastElement
impl UnsafeUnpin for UsageForecastElement
impl UnwindSafe for UsageForecastElement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more