pub struct SecurityEventNotificationRequest {
pub type: String,
pub timestamp: DateTime,
pub tech_info: Option<String>,
}Expand description
Spec: OCPP 1.6 · Security (Whitepaper ed. 2) · Charging Station → CSMS · CALL.
Fields§
§type: StringThe type member.
timestamp: DateTimeThe timestamp member.
tech_info: Option<String>The techInfo member.
Implementations§
Trait Implementations§
impl Confirmed for SecurityEventNotificationRequest
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 Request for SecurityEventNotificationRequest
impl Request for SecurityEventNotificationRequest
Source§const KIND: MessageKind = MessageKind::Call
const KIND: MessageKind = MessageKind::Call
CALL or SEND.Source§type Response = SecurityEventNotificationResponse
type Response = SecurityEventNotificationResponse
The matching response payload, or
NoResponse for a SEND.impl Sealed for SecurityEventNotificationRequest
impl StructuralPartialEq for SecurityEventNotificationRequest
Source§impl Validate for SecurityEventNotificationRequest
impl Validate for SecurityEventNotificationRequest
Source§fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
Appends this value’s violations to
out, relative to path.Auto Trait Implementations§
impl Forget for SecurityEventNotificationRequest
impl Freeze for SecurityEventNotificationRequest
impl Move for SecurityEventNotificationRequest
impl RefUnwindSafe for SecurityEventNotificationRequest
impl Send for SecurityEventNotificationRequest
impl Sync for SecurityEventNotificationRequest
impl Unpin for SecurityEventNotificationRequest
impl UnsafeUnpin 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