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