Struct dash7_alp::wizzilab::v5_3::operand::action_status::ActionStatus
source · pub struct ActionStatus {
pub action_id: u8,
pub status: StatusCode,
}
Expand description
Result of an action in a previously sent request
Fields§
§action_id: u8
Index of the ALP action associated with this status, in the original request as seen from the receiver side.
status: StatusCode
Result code
Trait Implementations§
source§impl Clone for ActionStatus
impl Clone for ActionStatus
source§fn clone(&self) -> ActionStatus
fn clone(&self) -> ActionStatus
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 Codec for ActionStatus
impl Codec for ActionStatus
type Error = ActionStatusDecodingError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
source§impl Debug for ActionStatus
impl Debug for ActionStatus
source§impl Display for ActionStatus
impl Display for ActionStatus
source§impl From<ActionStatus> for ActionStatus
impl From<ActionStatus> for ActionStatus
source§fn from(s: ActionStatus) -> Self
fn from(s: ActionStatus) -> Self
Converts to this type from the input type.
source§impl PartialEq for ActionStatus
impl PartialEq for ActionStatus
source§fn eq(&self, other: &ActionStatus) -> bool
fn eq(&self, other: &ActionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ActionStatus
impl StructuralPartialEq for ActionStatus
Auto Trait Implementations§
impl Freeze for ActionStatus
impl RefUnwindSafe for ActionStatus
impl Send for ActionStatus
impl Sync for ActionStatus
impl Unpin for ActionStatus
impl UnwindSafe for ActionStatus
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