Skip to main content

SubtypeRow

Struct SubtypeRow 

Source
pub struct SubtypeRow {
    pub id: DptId,
    pub name: &'static str,
    pub width: PayloadWidth,
    pub fields: &'static [FieldNode],
    pub validity: &'static [ValidityEdge],
    pub cross_field: &'static [CrossFieldRule],
    pub context: ContextRequirement,
    pub group_transport: GroupTransport,
}
Expand description

One catalogued datapoint subtype: its declarative record - a restatement where the KNX source is plain, and the reading this catalogue settled on where the source is silent, ambiguous or prints figures that disagree.

Per-field facts - resolutions, ranges, code tables, named bits, specials, reserved declarations - live on the field nodes that own them.

Fields§

§id: DptId

The identifier.

§name: &'static str

The official name.

§width: PayloadWidth

The width contract, as the source declares it. The generator checks it equals the width the field tree computes.

§fields: &'static [FieldNode]

The declared field decomposition, in transmission order.

§validity: &'static [ValidityEdge]

The validity associations the reviewed data records between the row’s flags and its fields: source-declared where the clause declares them, and read off a reference where the clause reaches its flags through one instead - the 265.001 same-as class and the register family’s qualified delegation; every count is pinned by a test.

§cross_field: &'static [CrossFieldRule]

Source-declared relations between the row’s fields.

§context: ContextRequirement

The operation context interpretation requires.

§group_transport: GroupTransport

Group-transport eligibility as the source states it.

Trait Implementations§

Source§

impl Debug for SubtypeRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.