Struct rust_ocpp::v2_0_1::messages::request_stop_transaction::RequestStopTransactionResponse
source · pub struct RequestStopTransactionResponse {
pub status: RequestStartStopStatusEnumType,
pub status_info: Option<StatusInfoType>,
}
Expand description
This contains the field definitions of the RequestStopTransactionResponse PDU sent from Charging Station to CSMS.
Fields§
§status: RequestStartStopStatusEnumType
§status_info: Option<StatusInfoType>
Trait Implementations§
source§impl Clone for RequestStopTransactionResponse
impl Clone for RequestStopTransactionResponse
source§fn clone(&self) -> RequestStopTransactionResponse
fn clone(&self) -> RequestStopTransactionResponse
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 RequestStopTransactionResponse
impl Default for RequestStopTransactionResponse
source§fn default() -> RequestStopTransactionResponse
fn default() -> RequestStopTransactionResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RequestStopTransactionResponse
impl<'de> Deserialize<'de> for RequestStopTransactionResponse
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 RequestStopTransactionResponse
impl PartialEq for RequestStopTransactionResponse
source§fn eq(&self, other: &RequestStopTransactionResponse) -> bool
fn eq(&self, other: &RequestStopTransactionResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestStopTransactionResponse
Auto Trait Implementations§
impl Freeze for RequestStopTransactionResponse
impl RefUnwindSafe for RequestStopTransactionResponse
impl Send for RequestStopTransactionResponse
impl Sync for RequestStopTransactionResponse
impl Unpin for RequestStopTransactionResponse
impl UnwindSafe for RequestStopTransactionResponse
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