Struct afibex::fibex::Elements

source ·
pub struct Elements {
    pub channels: HashMap<String, Channel>,
    pub ecus: Vec<Ecu>,
    pub pdus_map_by_id: HashMap<String, Pdu>,
    pub frames_map_by_id: HashMap<String, Frame>,
    pub signals_map_by_id: HashMap<String, Signal>,
    pub services_map_by_sid_major: HashMap<(u16, u8), Vec<Service>>,
    pub datatypes_map_by_id: HashMap<String, Datatype>,
}
Expand description

all elements are derived from fibex: REVISED-ELEMENT-TYPE containing:

  • fx:NAMED-ELEMENT-TYPE with
    • fx:IDENTIFIABLE-ELEMENT-TYPE optional attribute OID
      • ID (typs xs:ID) reqd
      • EXTERNAL-REFERENCES Option
  • ELEMENT-REVISIONS: Option
  • PRODUCT-REF: Option

Fields§

§channels: HashMap<String, Channel>§ecus: Vec<Ecu>§pdus_map_by_id: HashMap<String, Pdu>§frames_map_by_id: HashMap<String, Frame>§signals_map_by_id: HashMap<String, Signal>§services_map_by_sid_major: HashMap<(u16, u8), Vec<Service>>§datatypes_map_by_id: HashMap<String, Datatype>

Trait Implementations§

source§

impl Debug for Elements

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

§

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

§

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.