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
sourceimpl Clone for GetReportRequest
impl Clone for GetReportRequest
sourcefn clone(&self) -> GetReportRequest
fn clone(&self) -> GetReportRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetReportRequest
impl Debug for GetReportRequest
sourceimpl<'de> Deserialize<'de> for GetReportRequest
impl<'de> Deserialize<'de> for GetReportRequest
sourcefn 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
sourceimpl PartialEq<GetReportRequest> for GetReportRequest
impl PartialEq<GetReportRequest> for GetReportRequest
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &GetReportRequest) -> bool
fn ne(&self, other: &GetReportRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetReportRequest
impl Serialize for GetReportRequest
sourceimpl Validate for GetReportRequest
impl Validate for GetReportRequest
fn validate(&self) -> Result<(), ValidationErrors>
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more