pub struct Header {
pub frame_type: FrameType,
pub manufacturer: Option<u16>,
pub direction: Direction,
pub disable_default_response: bool,
pub seq: u8,
pub command: u8,
}Expand description
A ZCL frame header.
Fields§
§frame_type: FrameTypeGlobal or cluster-specific.
manufacturer: Option<u16>Manufacturer code, for manufacturer-specific commands.
direction: DirectionWho sent it.
disable_default_response: boolThe sender does not want a default response.
seq: u8Transaction sequence number.
command: u8Command id.
Trait Implementations§
impl Copy for Header
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