pub struct EVPowerScheduleEntry {
pub custom_data: Option<CustomData>,
pub duration: i64,
pub power: f64,
}Expand description
(2.1) An entry in 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§
§custom_data: Option<CustomData>§duration: i64The duration of this entry.
power: f64Defines maximum amount of power for the duration of this EVPowerScheduleEntry to be discharged from the EV battery through EVSE power outlet. Negative values are used for discharging.
Trait Implementations§
Source§impl Clone for EVPowerScheduleEntry
impl Clone for EVPowerScheduleEntry
Source§fn clone(&self) -> EVPowerScheduleEntry
fn clone(&self) -> EVPowerScheduleEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EVPowerScheduleEntry
impl Debug for EVPowerScheduleEntry
Source§impl PartialEq for EVPowerScheduleEntry
impl PartialEq for EVPowerScheduleEntry
impl StructuralPartialEq for EVPowerScheduleEntry
Auto Trait Implementations§
impl Freeze for EVPowerScheduleEntry
impl RefUnwindSafe for EVPowerScheduleEntry
impl Send for EVPowerScheduleEntry
impl Sync for EVPowerScheduleEntry
impl Unpin for EVPowerScheduleEntry
impl UnsafeUnpin for EVPowerScheduleEntry
impl UnwindSafe for EVPowerScheduleEntry
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