[][src]Struct xio_hwdb::Module

pub struct Module {
    pub caption: String,
    pub description: GenericDescription,
    pub channels: Vec<Channel>,
}

Description of a XIO module.

This describes the functionality that can be provided by a module. A XIO board can have multiple capabilities referencing the same module description. If a board has e.g. two A/D converters of the same type, there are two capabilities which reference the same module id.

Fields

caption: String

Caption of the module.

description: GenericDescription

Generic description of the module.

channels: Vec<Channel>

List of channels provided by the module.

Trait Implementations

impl Default for Module[src]

impl Clone for Module[src]

impl PartialEq<Module> for Module[src]

impl Debug for Module[src]

impl<'de> Deserialize<'de> for Module[src]

impl Serialize for Module[src]

Auto Trait Implementations

impl Send for Module

impl Unpin for Module

impl Sync for Module

impl UnwindSafe for Module

impl RefUnwindSafe for Module

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> PathLoad for T where
    T: DeserializeOwned
[src]

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

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