pub struct Firmware {
pub location: String,
pub retrieve_date_time: DateTime,
pub install_date_time: Option<DateTime>,
pub signing_certificate: Option<String>,
pub signature: Option<String>,
pub custom_data: Option<CustomData>,
}Expand description
Represents a copy of the firmware that can be loaded/updated on the Charging Station.
Fields§
§location: StringURI defining the origin of the firmware.
retrieve_date_time: DateTimeDate and time at which the firmware shall be retrieved.
install_date_time: Option<DateTime>Date and time at which the firmware shall be installed.
signing_certificate: Option<String>Certificate with which the firmware was signed. PEM encoded X.509 certificate.
signature: Option<String>Base64 encoded firmware signature.
custom_data: Option<CustomData>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Firmware
impl<'de> Deserialize<'de> for Firmware
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 StructuralPartialEq for Firmware
Auto Trait Implementations§
impl Freeze for Firmware
impl RefUnwindSafe for Firmware
impl Send for Firmware
impl Sync for Firmware
impl Unpin for Firmware
impl UnsafeUnpin for Firmware
impl UnwindSafe for Firmware
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