pub struct ChangeAvailabilityRequest {
pub operational_status: OperationalStatusEnumType,
pub evse: Option<EVSEType>,
}
Expand description
ChangeAvailabilityRequest
, sent by the CSMS to the Charging Station.
Fields§
§operational_status: OperationalStatusEnumType
This contains the type of availability change that the Charging Station should perform.
evse: Option<EVSEType>
Contains Id’s to designate a specific EVSE/connector by index numbers. When omitted, the message refers to the Charging Station as a whole.
Trait Implementations§
source§impl Clone for ChangeAvailabilityRequest
impl Clone for ChangeAvailabilityRequest
source§fn clone(&self) -> ChangeAvailabilityRequest
fn clone(&self) -> ChangeAvailabilityRequest
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 ChangeAvailabilityRequest
impl Debug for ChangeAvailabilityRequest
source§impl Default for ChangeAvailabilityRequest
impl Default for ChangeAvailabilityRequest
source§fn default() -> ChangeAvailabilityRequest
fn default() -> ChangeAvailabilityRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChangeAvailabilityRequest
impl<'de> Deserialize<'de> for ChangeAvailabilityRequest
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<ChangeAvailabilityRequest> for ChangeAvailabilityRequest
impl PartialEq<ChangeAvailabilityRequest> for ChangeAvailabilityRequest
source§fn eq(&self, other: &ChangeAvailabilityRequest) -> bool
fn eq(&self, other: &ChangeAvailabilityRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.