Struct rust_ocpp::v2_0_1::messages::datatransfer::DataTransferResponse
source · pub struct DataTransferResponse {
pub status: DataTransferStatusEnumType,
pub data: String,
pub status_info: Option<StatusInfoType>,
}
Expand description
This contains the field definition of the DataTransferResponse PDU sent by the Charging Station to the CSMS or vice versa in response to a DataTransferRequest.
Fields§
§status: DataTransferStatusEnumType
This indicates the success or failure of the data transfer.
data: String
Data without specified length or format, in response to request.
status_info: Option<StatusInfoType>
Detailed status information.
Trait Implementations§
source§impl Clone for DataTransferResponse
impl Clone for DataTransferResponse
source§fn clone(&self) -> DataTransferResponse
fn clone(&self) -> DataTransferResponse
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 DataTransferResponse
impl Debug for DataTransferResponse
source§impl Default for DataTransferResponse
impl Default for DataTransferResponse
source§fn default() -> DataTransferResponse
fn default() -> DataTransferResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataTransferResponse
impl<'de> Deserialize<'de> for DataTransferResponse
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<DataTransferResponse> for DataTransferResponse
impl PartialEq<DataTransferResponse> for DataTransferResponse
source§fn eq(&self, other: &DataTransferResponse) -> bool
fn eq(&self, other: &DataTransferResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.