pub struct ACChargingParameters<CustomDataType = NoCustomData> {
pub custom_data: Option<CustomDataType>,
pub energy_amount: i64,
pub ev_max_current: i64,
pub ev_max_voltage: i64,
pub ev_min_current: i64,
}Expand description
AC_ Charging_ Parameters urn:x-oca:ocpp:uid:2:233250 EV AC charging parameters.
Fields§
§custom_data: Option<CustomDataType>§energy_amount: i64AC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount urn:x-oca:ocpp:uid:1:569211 Amount of energy requested (in Wh). This includes energy required for preconditioning.
ev_max_current: i64AC_ Charging_ Parameters. EV_ Max. Current urn:x-oca:ocpp:uid:1:569213 Maximum current (amps) supported by the electric vehicle (per phase). Includes cable capacity.
ev_max_voltage: i64AC_ Charging_ Parameters. EV_ Max. Voltage urn:x-oca:ocpp:uid:1:569214 Maximum voltage supported by the electric vehicle
ev_min_current: i64AC_ Charging_ Parameters. EV_ Min. Current urn:x-oca:ocpp:uid:1:569212 Minimum current (amps) supported by the electric vehicle (per phase).
Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for ACChargingParameters<CustomDataType>
impl<CustomDataType: Clone> Clone for ACChargingParameters<CustomDataType>
Source§fn clone(&self) -> ACChargingParameters<CustomDataType>
fn clone(&self) -> ACChargingParameters<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 ACChargingParameters<CustomDataType>
impl<CustomDataType: Debug> Debug for ACChargingParameters<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for ACChargingParameters<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for ACChargingParameters<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
impl<CustomDataType: Eq> Eq for ACChargingParameters<CustomDataType>
Source§impl<CustomDataType: PartialEq> PartialEq for ACChargingParameters<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for ACChargingParameters<CustomDataType>
Source§impl<CustomDataType> Serialize for ACChargingParameters<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for ACChargingParameters<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for ACChargingParameters<CustomDataType>
Source§impl<CustomDataType> Validate for ACChargingParameters<CustomDataType>
Available on crate feature validate only.
impl<CustomDataType> Validate for ACChargingParameters<CustomDataType>
Available on crate feature
validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for ACChargingParameters<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for ACChargingParameters<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for ACChargingParameters<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for ACChargingParameters<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for ACChargingParameters<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for ACChargingParameters<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for ACChargingParameters<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