pub struct BootNotificationResponse {
pub current_time: DateTime<Utc>,
pub interval: u16,
pub status: RegistrationStatusEnumType,
pub status_info: Option<StatusInfoType>,
}
Expand description
BootNotificationResponse
, sent by the CSMS to the Charging Station in response to a BootNotificationRequest
.
Fields§
§current_time: DateTime<Utc>
This contains the CSMS’s current time.
interval: u16
When status is Accepted, this contains the heartbeat interval in seconds.
If the CSMS returns something other than Accepted, the value of the interval
field indicates the minimum wait time before sending a next BootNotificationRequest
.
status: RegistrationStatusEnumType
This contains whether the Charging Station has been registered within the CSMS.
status_info: Option<StatusInfoType>
Detailed status information.
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 Display for BootNotificationResponse
impl Display for BootNotificationResponse
Source§impl PartialEq for BootNotificationResponse
impl PartialEq for BootNotificationResponse
Source§impl Serialize for BootNotificationResponse
impl Serialize 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP