Struct rust_ocpp::v2_0_1::messages::notify_customer_information::NotifyCustomerInformationRequest
source · pub struct NotifyCustomerInformationRequest {
pub data: String,
pub tbc: Option<bool>,
pub seq_no: i64,
pub generated_at: DateTime<Utc>,
pub request_id: i64,
}
Expand description
This contains the field definition of the NotifyCustomerInformationRequest PDU sent by the Charging Station to the CSMS.
Fields§
§data: String
§tbc: Option<bool>
§seq_no: i64
§generated_at: DateTime<Utc>
§request_id: i64
Trait Implementations§
source§impl Clone for NotifyCustomerInformationRequest
impl Clone for NotifyCustomerInformationRequest
source§fn clone(&self) -> NotifyCustomerInformationRequest
fn clone(&self) -> NotifyCustomerInformationRequest
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 Default for NotifyCustomerInformationRequest
impl Default for NotifyCustomerInformationRequest
source§fn default() -> NotifyCustomerInformationRequest
fn default() -> NotifyCustomerInformationRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NotifyCustomerInformationRequest
impl<'de> Deserialize<'de> for NotifyCustomerInformationRequest
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<NotifyCustomerInformationRequest> for NotifyCustomerInformationRequest
impl PartialEq<NotifyCustomerInformationRequest> for NotifyCustomerInformationRequest
source§fn eq(&self, other: &NotifyCustomerInformationRequest) -> bool
fn eq(&self, other: &NotifyCustomerInformationRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.