pub struct ChargingNeeds<CustomDataType = NoCustomData> {
pub ac_charging_parameters: Option<ACChargingParameters<CustomDataType>>,
pub available_energy_transfer: Option<Vec<EnergyTransferModeEnum>>,
pub control_mode: Option<ControlModeEnum>,
pub custom_data: Option<CustomDataType>,
pub dc_charging_parameters: Option<DCChargingParameters<CustomDataType>>,
pub departure_time: Option<OcppTimestamp>,
pub der_charging_parameters: Option<DERChargingParameters<CustomDataType>>,
pub ev_energy_offer: Option<EVEnergyOffer<CustomDataType>>,
pub mobility_needs_mode: Option<MobilityNeedsModeEnum>,
pub requested_energy_transfer: EnergyTransferModeEnum,
pub v2x_charging_parameters: Option<V2XChargingParameters<CustomDataType>>,
}Fields§
§ac_charging_parameters: Option<ACChargingParameters<CustomDataType>>§available_energy_transfer: Option<Vec<EnergyTransferModeEnum>>(2.1) Modes of energy transfer that are marked as available by EV.
control_mode: Option<ControlModeEnum>§custom_data: Option<CustomDataType>§dc_charging_parameters: Option<DCChargingParameters<CustomDataType>>§departure_time: Option<OcppTimestamp>Estimated departure time of the EV. + ISO 15118-2: AC/DC_EVChargeParameterType: DepartureTime + ISO 15118-20: Dynamic/Scheduled_SEReqControlModeType: DepartureTIme
der_charging_parameters: Option<DERChargingParameters<CustomDataType>>§ev_energy_offer: Option<EVEnergyOffer<CustomDataType>>§mobility_needs_mode: Option<MobilityNeedsModeEnum>§requested_energy_transfer: EnergyTransferModeEnum§v2x_charging_parameters: Option<V2XChargingParameters<CustomDataType>>Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for ChargingNeeds<CustomDataType>
impl<CustomDataType: Clone> Clone for ChargingNeeds<CustomDataType>
Source§fn clone(&self) -> ChargingNeeds<CustomDataType>
fn clone(&self) -> ChargingNeeds<CustomDataType>
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<CustomDataType: Debug> Debug for ChargingNeeds<CustomDataType>
impl<CustomDataType: Debug> Debug for ChargingNeeds<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for ChargingNeeds<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for ChargingNeeds<CustomDataType>where
CustomDataType: Deserialize<'de>,
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<CustomDataType: PartialEq> PartialEq for ChargingNeeds<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for ChargingNeeds<CustomDataType>
Source§impl<CustomDataType> Serialize for ChargingNeeds<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for ChargingNeeds<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for ChargingNeeds<CustomDataType>
Auto Trait Implementations§
impl<CustomDataType> Freeze for ChargingNeeds<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for ChargingNeeds<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for ChargingNeeds<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for ChargingNeeds<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for ChargingNeeds<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for ChargingNeeds<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for ChargingNeeds<CustomDataType>where
CustomDataType: UnwindSafe,
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