pub enum TransferFeeSimplified {
Unlisted,
Unverified,
Simple(Option<Money>),
SpotPriceVariable {
base_cost: Money,
spot_price_multiplier: f64,
approximated: bool,
},
Periods(CostPeriodsSimple),
}Expand description
Like TransferFee, but with costs being simple Money objects
Variants§
Unlisted
Price was not listed on their website
Unverified
Transfer fee has not been verified by us
Simple(Option<Money>)
Fee does not change except possibly by fuse size
SpotPriceVariable
Transfer fee that varies by the current spot price We have currently only observed that Växjö Energi uses this variant
Periods(CostPeriodsSimple)
Trait Implementations§
Source§impl Clone for TransferFeeSimplified
impl Clone for TransferFeeSimplified
Source§fn clone(&self) -> TransferFeeSimplified
fn clone(&self) -> TransferFeeSimplified
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 TransferFeeSimplified
impl Debug for TransferFeeSimplified
Auto Trait Implementations§
impl Freeze for TransferFeeSimplified
impl RefUnwindSafe for TransferFeeSimplified
impl Send for TransferFeeSimplified
impl Sync for TransferFeeSimplified
impl Unpin for TransferFeeSimplified
impl UnwindSafe for TransferFeeSimplified
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