Struct rust_ocpp::v1_6::messages::heart_beat::HeartbeatResponse
source · pub struct HeartbeatResponse {
pub current_time: DateTime<Utc>,
}
Fields§
§current_time: DateTime<Utc>
From OCPP Specification
Required. This contains the current time of the Central System.
Trait Implementations§
source§impl Clone for HeartbeatResponse
impl Clone for HeartbeatResponse
source§fn clone(&self) -> HeartbeatResponse
fn clone(&self) -> HeartbeatResponse
Returns a copy 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 Debug for HeartbeatResponse
impl Debug for HeartbeatResponse
source§impl Default for HeartbeatResponse
impl Default for HeartbeatResponse
source§fn default() -> HeartbeatResponse
fn default() -> HeartbeatResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HeartbeatResponse
impl<'de> Deserialize<'de> for HeartbeatResponse
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<HeartbeatResponse> for HeartbeatResponse
impl PartialEq<HeartbeatResponse> for HeartbeatResponse
source§fn eq(&self, other: &HeartbeatResponse) -> bool
fn eq(&self, other: &HeartbeatResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.