Struct resol_vbus::PacketFieldSpec [] [src]

pub struct PacketFieldSpec {
    pub field_id: String,
    pub packet_field_id: String,
    pub name: String,
    pub unit_id: UnitId,
    pub unit_family: UnitFamily,
    pub unit_code: String,
    pub unit_text: String,
    pub precision: i32,
    pub typ: Type,
    pub parts: Vec<PacketTemplateFieldPart>,
}

Contains information about a VBus packet field.

Fields

A field identifier.

A packet-field identifier.

The name of the field.

The UnitId of the field.

The UnitFamily of the field.

The unit code of the field.

The unit text of the field.

The precision of the field.

The Type of the field.

The parts the field consists of.

Methods

impl PacketFieldSpec
[src]

Construct an i64 raw value from a slice of bytes.

Construct a f64 raw value from a slice of bytes.

Format a raw value into its textual representation.

Trait Implementations

impl Debug for PacketFieldSpec
[src]

Formats the value using the given formatter.

impl PartialEq for PacketFieldSpec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.