[][src]Struct async_resol_vbus::specification_file::Unit

pub struct Unit {
    pub unit_id: UnitId,
    pub unit_family_id: UnitFamilyId,
    pub unit_code_text_index: TextIndex,
    pub unit_text_text_index: TextIndex,
}

A physical unit.

Fields

unit_id: UnitId

The numeric ID of the Unit.

unit_family_id: UnitFamilyId

The numeric ID of the UnitFamily.

unit_code_text_index: TextIndex

The TextIndex of the unit's machine-readable name.

unit_text_text_index: TextIndex

The TextIndex of the unit's human-readable name.

Trait Implementations

impl Debug for Unit[src]

Auto Trait Implementations

impl RefUnwindSafe for Unit

impl Send for Unit

impl Sync for Unit

impl Unpin for Unit

impl UnwindSafe for Unit

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, 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.