Struct rust_ocpp::v2_0_1::messages::get_report::GetReportRequest
source · pub struct GetReportRequest {
pub request_id: i32,
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: i32
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 for GetReportRequest
impl PartialEq 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 ==
.source§impl Serialize for GetReportRequest
impl Serialize for GetReportRequest
source§impl Validate for GetReportRequest
impl Validate for GetReportRequest
source§impl<'v_a> ValidateArgs<'v_a> for GetReportRequest
impl<'v_a> ValidateArgs<'v_a> for GetReportRequest
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
impl StructuralPartialEq for GetReportRequest
Auto Trait Implementations§
impl RefUnwindSafe for GetReportRequest
impl Send for GetReportRequest
impl Sync for GetReportRequest
impl Unpin for GetReportRequest
impl UnwindSafe for GetReportRequest
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