pub struct ChargingStation {
pub serial_number: Option<String>,
pub model: String,
pub modem: Option<Modem>,
pub vendor_name: String,
pub firmware_version: Option<String>,
pub custom_data: Option<CustomData>,
}Expand description
The physical system where an Electrical Vehicle (EV) can be charged.
Fields§
§serial_number: Option<String>Vendor-specific device identifier.
model: StringDefines the model of the device.
modem: Option<Modem>§vendor_name: StringIdentifies the vendor (not necessarily in a unique manner).
firmware_version: Option<String>This contains the firmware version of the Charging Station.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for ChargingStation
impl Clone for ChargingStation
Source§impl Debug for ChargingStation
impl Debug for ChargingStation
Source§impl<'de> Deserialize<'de> for ChargingStation
impl<'de> Deserialize<'de> for ChargingStation
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 ChargingStation
impl PartialEq for ChargingStation
Source§impl Serialize for ChargingStation
impl Serialize for ChargingStation
impl StructuralPartialEq for ChargingStation
Auto Trait Implementations§
impl Freeze for ChargingStation
impl RefUnwindSafe for ChargingStation
impl Send for ChargingStation
impl Sync for ChargingStation
impl Unpin for ChargingStation
impl UnsafeUnpin for ChargingStation
impl UnwindSafe for ChargingStation
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