Enum rust_ocpp::v1_6::types::DiagnosticsStatus
source · pub enum DiagnosticsStatus {
Idle,
Uploaded,
UploadFailed,
Uploading,
}
Expand description
Status in DiagnosticsStatusNotificationRequest
Variants§
Idle
Charge Point is not performing diagnostics related tasks. Status Idle SHALL only be used as in a DiagnosticsStatusNotification.req that was triggered by a TriggerMessage.req
Uploaded
Diagnostics information has been uploaded.
UploadFailed
Uploading of diagnostics failed.
Uploading
File is being uploaded.
Trait Implementations§
source§impl Clone for DiagnosticsStatus
impl Clone for DiagnosticsStatus
source§fn clone(&self) -> DiagnosticsStatus
fn clone(&self) -> DiagnosticsStatus
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 DiagnosticsStatus
impl Debug for DiagnosticsStatus
source§impl Default for DiagnosticsStatus
impl Default for DiagnosticsStatus
source§fn default() -> DiagnosticsStatus
fn default() -> DiagnosticsStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DiagnosticsStatus
impl<'de> Deserialize<'de> for DiagnosticsStatus
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<DiagnosticsStatus> for DiagnosticsStatus
impl PartialEq<DiagnosticsStatus> for DiagnosticsStatus
source§fn eq(&self, other: &DiagnosticsStatus) -> bool
fn eq(&self, other: &DiagnosticsStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.