Struct rust_ocpp::v2_0_1::messages::notify_event::NotifyEventRequest
source · [−]pub struct NotifyEventRequest {
pub generated_at: DateTime<Utc>,
pub tbc: Option<bool>,
pub seq_no: i64,
pub event_data: Vec<EventDataType>,
}
Expand description
This contains the field definition of the NotifyEventRequest PDU sent by the Charging Station to the CSMS.
Fields
generated_at: DateTime<Utc>
tbc: Option<bool>
seq_no: i64
event_data: Vec<EventDataType>
Trait Implementations
sourceimpl Clone for NotifyEventRequest
impl Clone for NotifyEventRequest
sourcefn clone(&self) -> NotifyEventRequest
fn clone(&self) -> NotifyEventRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NotifyEventRequest
impl Debug for NotifyEventRequest
sourceimpl<'de> Deserialize<'de> for NotifyEventRequest
impl<'de> Deserialize<'de> for NotifyEventRequest
sourcefn 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
sourceimpl PartialEq<NotifyEventRequest> for NotifyEventRequest
impl PartialEq<NotifyEventRequest> for NotifyEventRequest
sourcefn eq(&self, other: &NotifyEventRequest) -> bool
fn eq(&self, other: &NotifyEventRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NotifyEventRequest) -> bool
fn ne(&self, other: &NotifyEventRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for NotifyEventRequest
impl Serialize for NotifyEventRequest
impl StructuralPartialEq for NotifyEventRequest
Auto Trait Implementations
impl RefUnwindSafe for NotifyEventRequest
impl Send for NotifyEventRequest
impl Sync for NotifyEventRequest
impl Unpin for NotifyEventRequest
impl UnwindSafe for NotifyEventRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more