pub struct ChargingStation {
pub custom_data: Option<CustomData>,
pub firmware_version: Option<String<50usize>>,
pub model: String<20usize>,
pub modem: Option<Modem>,
pub serial_number: Option<String<25usize>>,
pub vendor_name: String<50usize>,
}Expand description
The physical system where an Electrical Vehicle (EV) can be charged.
Fields§
§custom_data: Option<CustomData>§firmware_version: Option<String<50usize>>This contains the firmware version of the Charging Station.
model: String<20usize>Defines the model of the device.
modem: Option<Modem>§serial_number: Option<String<25usize>>Vendor-specific device identifier.
vendor_name: String<50usize>Identifies the vendor (not necessarily in a unique manner).
Trait Implementations§
Source§impl Clone for ChargingStation
impl Clone for ChargingStation
Source§fn clone(&self) -> ChargingStation
fn clone(&self) -> ChargingStation
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 ChargingStation
impl Debug for ChargingStation
impl Eq for ChargingStation
Source§impl PartialEq for ChargingStation
impl PartialEq 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