pub struct Header {
pub frame_control: FrameControl,
pub destination_endpoint: Option<u8>,
pub group_address: Option<ShortAddress>,
pub cluster_id: Option<u16>,
pub profile_id: Option<u16>,
pub source_endpoint: Option<u8>,
pub counter: u8,
pub extended_header: Option<ExtendedFrameControlField>,
}Expand description
2.2.5.1 General APDU Frame Format
Fields§
§frame_control: FrameControl§destination_endpoint: Option<u8>2.2.5.1.2 — present for unicast or broadcast delivery
group_address: Option<ShortAddress>2.2.5.1.3 — present only for group addressing
cluster_id: Option<u16>2.2.5.1.4 — present for data and ack frames
profile_id: Option<u16>2.2.5.1.5 — present for data and ack frames
source_endpoint: Option<u8>2.2.5.1.6 — present for data and ack frames
counter: u8§extended_header: Option<ExtendedFrameControlField>Trait Implementations§
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more