Struct rust_ocpp::v1_6::messages::trigger_message::TriggerMessageResponse
source · [−]pub struct TriggerMessageResponse {
pub status: TriggerMessageStatus,
}
Expand description
This contains the field definition of the TriggerMessage.req PDU sent by the Central System to the Charge Point. See also Trigger Message
Fields
status: TriggerMessageStatus
Required. Indicates whether the Charge Point will send the requested notification or not.
Trait Implementations
sourceimpl Clone for TriggerMessageResponse
impl Clone for TriggerMessageResponse
sourcefn clone(&self) -> TriggerMessageResponse
fn clone(&self) -> TriggerMessageResponse
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 TriggerMessageResponse
impl Debug for TriggerMessageResponse
sourceimpl<'de> Deserialize<'de> for TriggerMessageResponse
impl<'de> Deserialize<'de> for TriggerMessageResponse
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<TriggerMessageResponse> for TriggerMessageResponse
impl PartialEq<TriggerMessageResponse> for TriggerMessageResponse
sourcefn eq(&self, other: &TriggerMessageResponse) -> bool
fn eq(&self, other: &TriggerMessageResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TriggerMessageResponse) -> bool
fn ne(&self, other: &TriggerMessageResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for TriggerMessageResponse
impl Serialize for TriggerMessageResponse
impl StructuralPartialEq for TriggerMessageResponse
Auto Trait Implementations
impl RefUnwindSafe for TriggerMessageResponse
impl Send for TriggerMessageResponse
impl Sync for TriggerMessageResponse
impl Unpin for TriggerMessageResponse
impl UnwindSafe for TriggerMessageResponse
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more