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 for ChangeAvailabilityRequest
impl PartialEq 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 ==
.impl StructuralPartialEq for ChangeAvailabilityRequest
Auto Trait Implementations§
impl RefUnwindSafe for ChangeAvailabilityRequest
impl Send for ChangeAvailabilityRequest
impl Sync for ChangeAvailabilityRequest
impl Unpin for ChangeAvailabilityRequest
impl UnwindSafe for ChangeAvailabilityRequest
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