Struct resol_vbus::Header [] [src]

pub struct Header {
    pub timestamp: DateTime<UTC>,
    pub channel: u8,
    pub destination_address: u16,
    pub source_address: u16,
    pub protocol_version: u8,
}

All VBus data types consist of a Header element.

Fields

The timestamp when this Header was received.

The channel number on which this Header was received.

The destination address of this Header.

The source address of this Header.

The VBus protocol version of this Header.

Methods

impl Header
[src]

Creates an ID prefix for this Header.

Trait Implementations

impl Clone for Header
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Header
[src]

Formats the value using the given formatter.