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: i32,
pub generated_at: DateTime<Utc>,
pub request_id: i32,
}
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: i32
§generated_at: DateTime<Utc>
§request_id: i32
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 for NotifyCustomerInformationRequest
impl PartialEq 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 ==
.impl StructuralPartialEq for NotifyCustomerInformationRequest
Auto Trait Implementations§
impl Freeze for NotifyCustomerInformationRequest
impl RefUnwindSafe for NotifyCustomerInformationRequest
impl Send for NotifyCustomerInformationRequest
impl Sync for NotifyCustomerInformationRequest
impl Unpin for NotifyCustomerInformationRequest
impl UnwindSafe for NotifyCustomerInformationRequest
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