Struct rust_ocpp::v2_0_1::messages::get_base_report::GetBaseReportRequest
source · pub struct GetBaseReportRequest {
pub request_id: i32,
pub report_base: ReportBaseEnumType,
}
Expand description
GetBaseReportRequest, sent by the CSMS to the Charging Station.
Fields§
§request_id: i32
The Id of the request.
report_base: ReportBaseEnumType
This field specifies the report base.
Trait Implementations§
source§impl Clone for GetBaseReportRequest
impl Clone for GetBaseReportRequest
source§fn clone(&self) -> GetBaseReportRequest
fn clone(&self) -> GetBaseReportRequest
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 GetBaseReportRequest
impl Debug for GetBaseReportRequest
source§impl Default for GetBaseReportRequest
impl Default for GetBaseReportRequest
source§fn default() -> GetBaseReportRequest
fn default() -> GetBaseReportRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetBaseReportRequest
impl<'de> Deserialize<'de> for GetBaseReportRequest
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 GetBaseReportRequest
impl PartialEq for GetBaseReportRequest
source§fn eq(&self, other: &GetBaseReportRequest) -> bool
fn eq(&self, other: &GetBaseReportRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetBaseReportRequest
impl Serialize for GetBaseReportRequest
impl StructuralPartialEq for GetBaseReportRequest
Auto Trait Implementations§
impl Freeze for GetBaseReportRequest
impl RefUnwindSafe for GetBaseReportRequest
impl Send for GetBaseReportRequest
impl Sync for GetBaseReportRequest
impl Unpin for GetBaseReportRequest
impl UnwindSafe for GetBaseReportRequest
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