Struct rust_ocpp::v1_6::messages::remote_start_transaction::RemoteStartTransactionRequest
source · [−]pub struct RemoteStartTransactionRequest {
pub connector_id: Option<u64>,
pub id_tag: String,
pub charging_profile: Option<ChargingProfile>,
}
Expand description
This contains the field definitions of the RemoteStartTransactionRequest PDU sent to Charge Point by Central System. See also Remote Start Transaction
Fields
connector_id: Option<u64>
Optional. Number of the connector on which to start the transaction. connectorId SHALL be > 0
id_tag: String
Required. The identifier that Charge Point must use to start a transaction.
charging_profile: Option<ChargingProfile>
Optional. Charging Profile to be used by the Charge Point for the requested transaction. ChargingProfilePurpose MUST be set to TxProfile
Trait Implementations
sourceimpl Clone for RemoteStartTransactionRequest
impl Clone for RemoteStartTransactionRequest
sourcefn clone(&self) -> RemoteStartTransactionRequest
fn clone(&self) -> RemoteStartTransactionRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RemoteStartTransactionRequest
impl Debug for RemoteStartTransactionRequest
sourceimpl<'de> Deserialize<'de> for RemoteStartTransactionRequest
impl<'de> Deserialize<'de> for RemoteStartTransactionRequest
sourcefn 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
sourceimpl PartialEq<RemoteStartTransactionRequest> for RemoteStartTransactionRequest
impl PartialEq<RemoteStartTransactionRequest> for RemoteStartTransactionRequest
sourcefn eq(&self, other: &RemoteStartTransactionRequest) -> bool
fn eq(&self, other: &RemoteStartTransactionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RemoteStartTransactionRequest) -> bool
fn ne(&self, other: &RemoteStartTransactionRequest) -> bool
This method tests for !=
.
sourceimpl Validate for RemoteStartTransactionRequest
impl Validate for RemoteStartTransactionRequest
fn validate(&self) -> Result<(), ValidationErrors>
sourceimpl<'v_a> ValidateArgs<'v_a> for RemoteStartTransactionRequest
impl<'v_a> ValidateArgs<'v_a> for RemoteStartTransactionRequest
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
impl StructuralPartialEq for RemoteStartTransactionRequest
Auto Trait Implementations
impl RefUnwindSafe for RemoteStartTransactionRequest
impl Send for RemoteStartTransactionRequest
impl Sync for RemoteStartTransactionRequest
impl Unpin for RemoteStartTransactionRequest
impl UnwindSafe for RemoteStartTransactionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more