pub struct SavingsReport {
pub baseline_cost: f64,
pub actual_cost: f64,
pub total_savings: f64,
pub savings_percentage: f64,
pub routing_savings: f64,
pub cache_savings: f64,
pub compression_savings: f64,
}Fields§
§baseline_cost: f64§actual_cost: f64§total_savings: f64§savings_percentage: f64§routing_savings: f64§cache_savings: f64§compression_savings: f64Trait Implementations§
Source§impl Clone for SavingsReport
impl Clone for SavingsReport
Source§fn clone(&self) -> SavingsReport
fn clone(&self) -> SavingsReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for SavingsReport
impl ComposeSchema for SavingsReport
Source§impl Debug for SavingsReport
impl Debug for SavingsReport
Source§impl Default for SavingsReport
impl Default for SavingsReport
Source§fn default() -> SavingsReport
fn default() -> SavingsReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SavingsReport
impl<'de> Deserialize<'de> for SavingsReport
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 Serialize for SavingsReport
impl Serialize for SavingsReport
Auto Trait Implementations§
impl Freeze for SavingsReport
impl RefUnwindSafe for SavingsReport
impl Send for SavingsReport
impl Sync for SavingsReport
impl Unpin for SavingsReport
impl UnwindSafe for SavingsReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more