Struct rust_ocpp::v1_6::messages::unlock_connector::UnlockConnectorRequest
source · pub struct UnlockConnectorRequest {
pub connector_id: u32,
}
Fields§
§connector_id: u32
§From OCPP Specification
Required. This contains the identifier of the connector to be unlocked.
Trait Implementations§
source§impl Clone for UnlockConnectorRequest
impl Clone for UnlockConnectorRequest
source§fn clone(&self) -> UnlockConnectorRequest
fn clone(&self) -> UnlockConnectorRequest
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 UnlockConnectorRequest
impl Debug for UnlockConnectorRequest
source§impl Default for UnlockConnectorRequest
impl Default for UnlockConnectorRequest
source§fn default() -> UnlockConnectorRequest
fn default() -> UnlockConnectorRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnlockConnectorRequest
impl<'de> Deserialize<'de> for UnlockConnectorRequest
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 UnlockConnectorRequest
impl PartialEq for UnlockConnectorRequest
source§fn eq(&self, other: &UnlockConnectorRequest) -> bool
fn eq(&self, other: &UnlockConnectorRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnlockConnectorRequest
impl Serialize for UnlockConnectorRequest
source§impl Validate for UnlockConnectorRequest
impl Validate for UnlockConnectorRequest
source§impl<'v_a> ValidateArgs<'v_a> for UnlockConnectorRequest
impl<'v_a> ValidateArgs<'v_a> for UnlockConnectorRequest
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
impl StructuralPartialEq for UnlockConnectorRequest
Auto Trait Implementations§
impl RefUnwindSafe for UnlockConnectorRequest
impl Send for UnlockConnectorRequest
impl Sync for UnlockConnectorRequest
impl Unpin for UnlockConnectorRequest
impl UnwindSafe for UnlockConnectorRequest
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