pub struct SecurityEventNotificationRequest {
pub kind: String,
pub timestamp: DateTime<Utc>,
pub tech_info: Option<String>,
}
Expand description
Sent by the Charging Station to the CSMS in case of a security event.
Fields§
§kind: String
§timestamp: DateTime<Utc>
§tech_info: Option<String>
Trait Implementations§
Source§impl Clone for SecurityEventNotificationRequest
impl Clone for SecurityEventNotificationRequest
Source§fn clone(&self) -> SecurityEventNotificationRequest
fn clone(&self) -> SecurityEventNotificationRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for SecurityEventNotificationRequest
impl Default for SecurityEventNotificationRequest
Source§fn default() -> SecurityEventNotificationRequest
fn default() -> SecurityEventNotificationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecurityEventNotificationRequest
impl<'de> Deserialize<'de> for SecurityEventNotificationRequest
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 SecurityEventNotificationRequest
impl PartialEq for SecurityEventNotificationRequest
Source§fn eq(&self, other: &SecurityEventNotificationRequest) -> bool
fn eq(&self, other: &SecurityEventNotificationRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SecurityEventNotificationRequest
Auto Trait Implementations§
impl Freeze for SecurityEventNotificationRequest
impl RefUnwindSafe for SecurityEventNotificationRequest
impl Send for SecurityEventNotificationRequest
impl Sync for SecurityEventNotificationRequest
impl Unpin for SecurityEventNotificationRequest
impl UnwindSafe for SecurityEventNotificationRequest
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