pub struct EVEnergyOffer {
pub ev_absolute_price_schedule: Option<EVAbsolutePriceSchedule>,
pub ev_power_schedule: EVPowerSchedule,
pub custom_data: Option<CustomData>,
}Expand description
(2.1) A schedule of the energy amount over time that EV is willing to discharge. A negative value indicates the willingness to discharge under specific conditions, a positive value indicates that the EV currently is not able to offer energy to discharge.
Fields§
§ev_absolute_price_schedule: Option<EVAbsolutePriceSchedule>§ev_power_schedule: EVPowerSchedule§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for EVEnergyOffer
impl Clone for EVEnergyOffer
Source§impl Debug for EVEnergyOffer
impl Debug for EVEnergyOffer
Source§impl<'de> Deserialize<'de> for EVEnergyOffer
impl<'de> Deserialize<'de> for EVEnergyOffer
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 PartialEq for EVEnergyOffer
impl PartialEq for EVEnergyOffer
Source§impl Serialize for EVEnergyOffer
impl Serialize for EVEnergyOffer
impl StructuralPartialEq for EVEnergyOffer
Auto Trait Implementations§
impl Freeze for EVEnergyOffer
impl RefUnwindSafe for EVEnergyOffer
impl Send for EVEnergyOffer
impl Sync for EVEnergyOffer
impl Unpin for EVEnergyOffer
impl UnsafeUnpin for EVEnergyOffer
impl UnwindSafe for EVEnergyOffer
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