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