Enum rust_ocpp::v1_6::types::ChargingProfileStatus
source · pub enum ChargingProfileStatus {
Accepted,
Rejected,
NotSupported,
}
Expand description
Status returned in response to SetChargingProfileRequest
Variants§
Accepted
Request has been accepted and will be executed.
Rejected
Request has not been accepted and will not be executed.
NotSupported
Charge Point indicates that the request is not supported.
Trait Implementations§
source§impl Clone for ChargingProfileStatus
impl Clone for ChargingProfileStatus
source§fn clone(&self) -> ChargingProfileStatus
fn clone(&self) -> ChargingProfileStatus
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 ChargingProfileStatus
impl Debug for ChargingProfileStatus
source§impl Default for ChargingProfileStatus
impl Default for ChargingProfileStatus
source§fn default() -> ChargingProfileStatus
fn default() -> ChargingProfileStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChargingProfileStatus
impl<'de> Deserialize<'de> for ChargingProfileStatus
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 ChargingProfileStatus
impl PartialEq for ChargingProfileStatus
source§fn eq(&self, other: &ChargingProfileStatus) -> bool
fn eq(&self, other: &ChargingProfileStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChargingProfileStatus
impl Serialize for ChargingProfileStatus
impl StructuralPartialEq for ChargingProfileStatus
Auto Trait Implementations§
impl Freeze for ChargingProfileStatus
impl RefUnwindSafe for ChargingProfileStatus
impl Send for ChargingProfileStatus
impl Sync for ChargingProfileStatus
impl Unpin for ChargingProfileStatus
impl UnwindSafe for ChargingProfileStatus
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