pub struct ChargingStation<CustomDataType = NoCustomData> {
pub custom_data: Option<CustomDataType>,
pub firmware_version: Option<String<50usize>>,
pub model: String<20usize>,
pub modem: Option<Modem<CustomDataType>>,
pub serial_number: Option<String<25usize>>,
pub vendor_name: String<50usize>,
}Expand description
Charge_ Point urn:x-oca:ocpp:uid:2:233122 The physical system where an Electrical Vehicle (EV) can be charged.
Fields§
§custom_data: Option<CustomDataType>§firmware_version: Option<String<50usize>>This contains the firmware version of the Charging Station.
model: String<20usize>Device. Model. CI20_ Text urn:x-oca:ocpp:uid:1:569325 Defines the model of the device.
modem: Option<Modem<CustomDataType>>§serial_number: Option<String<25usize>>Device. Serial_ Number. Serial_ Number urn:x-oca:ocpp:uid:1:569324 Vendor-specific device identifier.
vendor_name: String<50usize>Identifies the vendor (not necessarily in a unique manner).
Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for ChargingStation<CustomDataType>
impl<CustomDataType: Clone> Clone for ChargingStation<CustomDataType>
Source§fn clone(&self) -> ChargingStation<CustomDataType>
fn clone(&self) -> ChargingStation<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 ChargingStation<CustomDataType>
impl<CustomDataType: Debug> Debug for ChargingStation<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for ChargingStation<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for ChargingStation<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 ChargingStation<CustomDataType>
Source§impl<CustomDataType: PartialEq> PartialEq for ChargingStation<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for ChargingStation<CustomDataType>
Source§impl<CustomDataType> Serialize for ChargingStation<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for ChargingStation<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for ChargingStation<CustomDataType>
Source§impl<CustomDataType> Validate for ChargingStation<CustomDataType>
Available on crate feature validate only.
impl<CustomDataType> Validate for ChargingStation<CustomDataType>
Available on crate feature
validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for ChargingStation<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for ChargingStation<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for ChargingStation<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for ChargingStation<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for ChargingStation<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for ChargingStation<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for ChargingStation<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