pub enum FeedInRevenueSimplified {
Simple(Option<Money>),
Unverified,
Unlisted,
SpotPriceVariable {
base_cost: Money,
spot_price_multiplier: f64,
approximated: bool,
},
Periods {
periods: CostPeriodsSimple,
},
}Expand description
Feed-in revenue, per kWh (usually from solar production) Like FeedInRevenue, but with costs being simple Money objects
Variants§
Simple(Option<Money>)
Unverified
Not yet checked
Unlisted
Could not be located on their website or elsewhere
SpotPriceVariable
Varies by the current spot price
Fields
Periods
Fields
§
periods: CostPeriodsSimpleTrait Implementations§
Source§impl Clone for FeedInRevenueSimplified
impl Clone for FeedInRevenueSimplified
Source§fn clone(&self) -> FeedInRevenueSimplified
fn clone(&self) -> FeedInRevenueSimplified
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 Debug for FeedInRevenueSimplified
impl Debug for FeedInRevenueSimplified
Auto Trait Implementations§
impl Freeze for FeedInRevenueSimplified
impl RefUnwindSafe for FeedInRevenueSimplified
impl Send for FeedInRevenueSimplified
impl Sync for FeedInRevenueSimplified
impl Unpin for FeedInRevenueSimplified
impl UnwindSafe for FeedInRevenueSimplified
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