Struct rust_ocpp::v1_6::messages::boot_notification::BootNotificationResponse
source · pub struct BootNotificationResponse {
pub current_time: DateTime<Utc>,
pub interval: u32,
pub status: RegistrationStatus,
}
Fields§
§current_time: DateTime<Utc>
From OCPP Specification
Required. This contains the Central System’s current time.
interval: u32
From OCPP Specification
Required. When RegistrationStatus is Accepted, this contains the heartbeat interval in seconds. If the Central System returns something other than Accepted, the value of the interval field indicates the minimum wait time before sending a next BootNotification request.
status: RegistrationStatus
From OCPP Specification
Required. This contains whether the Charge Point has been registered within the System Central.
Trait Implementations§
source§impl Clone for BootNotificationResponse
impl Clone for BootNotificationResponse
source§fn clone(&self) -> BootNotificationResponse
fn clone(&self) -> BootNotificationResponse
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 BootNotificationResponse
impl Debug for BootNotificationResponse
source§impl Default for BootNotificationResponse
impl Default for BootNotificationResponse
source§fn default() -> BootNotificationResponse
fn default() -> BootNotificationResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BootNotificationResponse
impl<'de> Deserialize<'de> for BootNotificationResponse
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<BootNotificationResponse> for BootNotificationResponse
impl PartialEq<BootNotificationResponse> for BootNotificationResponse
source§fn eq(&self, other: &BootNotificationResponse) -> bool
fn eq(&self, other: &BootNotificationResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.