pub enum FeedInRevenue {
Simple(Cost),
Unverified,
Unlisted,
SpotPriceVariable {
base_cost: Money,
spot_price_multiplier: f64,
approximated: bool,
},
Periods {
periods: CostPeriods,
},
}Expand description
Feed-in revenue, per kWh (usually from solar production) A Swedish concept for “thanking” micro producers (<=43,5 kW) for reducing losses in the grid
Variants§
Simple(Cost)
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: CostPeriodsImplementations§
Source§impl FeedInRevenue
impl FeedInRevenue
pub const fn is_unverified(&self) -> bool
pub fn simplified( &self, fuse_size: u16, yearly_consumption: u32, ) -> FeedInRevenueSimplified
Trait Implementations§
Source§impl Clone for FeedInRevenue
impl Clone for FeedInRevenue
Source§fn clone(&self) -> FeedInRevenue
fn clone(&self) -> FeedInRevenue
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 FeedInRevenue
impl Debug for FeedInRevenue
Source§impl Serialize for FeedInRevenue
impl Serialize for FeedInRevenue
impl Copy for FeedInRevenue
Auto Trait Implementations§
impl Freeze for FeedInRevenue
impl RefUnwindSafe for FeedInRevenue
impl Send for FeedInRevenue
impl Sync for FeedInRevenue
impl Unpin for FeedInRevenue
impl UnwindSafe for FeedInRevenue
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