pub struct RemoteStopTransactionResponse {
pub status: RemoteStartStopStatus,
}Expand description
Spec: OCPP 1.6 · Core · CSMS → Charging Station · CALL.
Fields§
§status: RemoteStartStopStatusThe status member.
Implementations§
Source§impl RemoteStopTransactionResponse
impl RemoteStopTransactionResponse
Sourcepub fn new(status: RemoteStartStopStatus) -> Self
pub fn new(status: RemoteStartStopStatus) -> Self
Creates a RemoteStopTransactionResponse from its required fields.
Trait Implementations§
Source§impl Clone for RemoteStopTransactionResponse
impl Clone for RemoteStopTransactionResponse
Source§fn clone(&self) -> RemoteStopTransactionResponse
fn clone(&self) -> RemoteStopTransactionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RemoteStopTransactionResponse
impl<'de> Deserialize<'de> for RemoteStopTransactionResponse
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
impl Response for RemoteStopTransactionResponse
impl Sealed for RemoteStopTransactionResponse
impl StructuralPartialEq for RemoteStopTransactionResponse
Source§impl Validate for RemoteStopTransactionResponse
impl Validate for RemoteStopTransactionResponse
Source§fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
Appends this value’s violations to
out, relative to path.Auto Trait Implementations§
impl Freeze for RemoteStopTransactionResponse
impl RefUnwindSafe for RemoteStopTransactionResponse
impl Send for RemoteStopTransactionResponse
impl Sync for RemoteStopTransactionResponse
impl Unpin for RemoteStopTransactionResponse
impl UnsafeUnpin for RemoteStopTransactionResponse
impl UnwindSafe for RemoteStopTransactionResponse
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