Struct rust_ocpp::v1_6::messages::data_transfer::DataTransferResponse
source · pub struct DataTransferResponse {
pub status: DataTransferStatus,
pub data: Option<String>,
}
Fields§
§status: DataTransferStatus
Required. This indicates the success or failure of the data transfer.
data: Option<String>
Optional. Data in response to request.
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 ==
.