pub struct EVSE<CustomDataType = NoCustomData> {
pub connector_id: Option<i64>,
pub custom_data: Option<CustomDataType>,
pub id: i64,
}Expand description
EVSE urn:x-oca:ocpp:uid:2:233123 Electric Vehicle Supply Equipment
Fields§
§connector_id: Option<i64>An id to designate a specific connector (on an EVSE) by connector index number.
custom_data: Option<CustomDataType>§id: i64Identified_ Object. MRID. Numeric_ Identifier urn:x-enexis:ecdm:uid:1:569198 EVSE Identifier. This contains a number (> 0) designating an EVSE of the Charging Station.
Trait Implementations§
Source§impl<'de, CustomDataType> Deserialize<'de> for EVSE<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for EVSE<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 EVSE<CustomDataType>
impl<CustomDataType: PartialEq> StructuralPartialEq for EVSE<CustomDataType>
Auto Trait Implementations§
impl<CustomDataType> Freeze for EVSE<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for EVSE<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for EVSE<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for EVSE<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for EVSE<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for EVSE<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for EVSE<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