[][src]Struct async_resol_vbus::specification_file::PacketTemplateField

pub struct PacketTemplateField {
    pub id_text_index: TextIndex,
    pub name_localized_text_index: LocalizedTextIndex,
    pub unit_id: UnitId,
    pub precision: i32,
    pub type_id: TypeId,
    pub parts: Vec<PacketTemplateFieldPart>,
}

Contains information about a field with the frame data payload of a VBus packet.

Fields

id_text_index: TextIndex

The TextIndex of the field's ID.

name_localized_text_index: LocalizedTextIndex

The LocalizedTextIndex of the field's name.

unit_id: UnitId

The UnitId of the field.

precision: i32

The number of fractional digits.

type_id: TypeId

The TypeId of the field.

parts: Vec<PacketTemplateFieldPart>

The list of parts that make up the field's value.

Trait Implementations

impl Clone for PacketTemplateField[src]

impl Debug for PacketTemplateField[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.