Struct dash7_alp::spec::v1_2::action::response_tag::ResponseTag
source · pub struct ResponseTag {
pub eop: bool,
pub err: bool,
pub id: u8,
}
Fields§
§eop: bool
End of packet
Signal the last response packet for the request id
(E)
err: bool
An error occured (R)
id: u8
Trait Implementations§
source§impl Clone for ResponseTag
impl Clone for ResponseTag
source§fn clone(&self) -> ResponseTag
fn clone(&self) -> ResponseTag
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 ResponseTag
impl Codec for ResponseTag
type Error = StdError
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 ResponseTag
impl Debug for ResponseTag
source§impl Display for ResponseTag
impl Display for ResponseTag
source§impl PartialEq for ResponseTag
impl PartialEq for ResponseTag
source§fn eq(&self, other: &ResponseTag) -> bool
fn eq(&self, other: &ResponseTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResponseTag
impl StructuralPartialEq for ResponseTag
Auto Trait Implementations§
impl Freeze for ResponseTag
impl RefUnwindSafe for ResponseTag
impl Send for ResponseTag
impl Sync for ResponseTag
impl Unpin for ResponseTag
impl UnwindSafe for ResponseTag
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