pub struct LCOXMetric {
pub cost: MoneyPerActivity,
}Expand description
Levelised Cost of X (LCOX) metric.
Represents the average cost per unit of output. Lower values indicate more cost-effective investments.
Fields§
§cost: MoneyPerActivityThe calculated cost value for this LCOX metric
Implementations§
Source§impl LCOXMetric
impl LCOXMetric
Sourcepub fn new(cost: MoneyPerActivity) -> Self
pub fn new(cost: MoneyPerActivity) -> Self
Creates a new LCOXMetric with the given cost.
Trait Implementations§
Source§impl Clone for LCOXMetric
impl Clone for LCOXMetric
Source§fn clone(&self) -> LCOXMetric
fn clone(&self) -> LCOXMetric
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 ComparableMetric for LCOXMetric
impl ComparableMetric for LCOXMetric
Source§impl Debug for LCOXMetric
impl Debug for LCOXMetric
Source§impl Serialize for LCOXMetric
impl Serialize for LCOXMetric
impl MetricTrait for LCOXMetric
LCOXMetric implements the MetricTrait supertrait.
Auto Trait Implementations§
impl Freeze for LCOXMetric
impl RefUnwindSafe for LCOXMetric
impl Send for LCOXMetric
impl Sync for LCOXMetric
impl Unpin for LCOXMetric
impl UnwindSafe for LCOXMetric
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,
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