Struct rust_ocpp::v2_0_1::messages::get_report::GetReportRequest
source · pub struct GetReportRequest {
pub request_id: i64,
pub component_criteria: Option<Vec<ComponentCriterionEnumType>>,
pub component_variable: Option<Vec<ComponentVariableType>>,
}
Expand description
GetReportRequest, sent by the CSMS to the Charging Station.
Fields§
§request_id: i64
The Id of the request.
component_criteria: Option<Vec<ComponentCriterionEnumType>>
This field contains criteria for components forwhich a report is requested.
component_variable: Option<Vec<ComponentVariableType>>
This field specifies the components andvariables for which a report is requested.
Trait Implementations§
source§impl Clone for GetReportRequest
impl Clone for GetReportRequest
source§fn clone(&self) -> GetReportRequest
fn clone(&self) -> GetReportRequest
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 GetReportRequest
impl Debug for GetReportRequest
source§impl Default for GetReportRequest
impl Default for GetReportRequest
source§fn default() -> GetReportRequest
fn default() -> GetReportRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetReportRequest
impl<'de> Deserialize<'de> for GetReportRequest
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<GetReportRequest> for GetReportRequest
impl PartialEq<GetReportRequest> for GetReportRequest
source§fn eq(&self, other: &GetReportRequest) -> bool
fn eq(&self, other: &GetReportRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.