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
sourceimpl Clone for ChangeAvailabilityRequest
impl Clone for ChangeAvailabilityRequest
sourcefn clone(&self) -> ChangeAvailabilityRequest
fn clone(&self) -> ChangeAvailabilityRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChangeAvailabilityRequest
impl Debug for ChangeAvailabilityRequest
sourceimpl<'de> Deserialize<'de> for ChangeAvailabilityRequest
impl<'de> Deserialize<'de> for ChangeAvailabilityRequest
sourcefn 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
sourceimpl PartialEq<ChangeAvailabilityRequest> for ChangeAvailabilityRequest
impl PartialEq<ChangeAvailabilityRequest> for ChangeAvailabilityRequest
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ChangeAvailabilityRequest) -> bool
fn ne(&self, other: &ChangeAvailabilityRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ChangeAvailabilityRequest
impl Serialize for ChangeAvailabilityRequest
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more