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 for HeartbeatResponse
impl PartialEq for HeartbeatResponse
Source§impl Serialize for HeartbeatResponse
impl Serialize for HeartbeatResponse
Source§impl Validate for HeartbeatResponse
impl Validate for HeartbeatResponse
Source§impl<'v_a> ValidateArgs<'v_a> for HeartbeatResponse
impl<'v_a> ValidateArgs<'v_a> for HeartbeatResponse
impl StructuralPartialEq for HeartbeatResponse
Auto Trait Implementations§
impl Freeze for HeartbeatResponse
impl RefUnwindSafe for HeartbeatResponse
impl Send for HeartbeatResponse
impl Sync for HeartbeatResponse
impl Unpin for HeartbeatResponse
impl UnwindSafe for HeartbeatResponse
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