pub struct Module {
pub caption: String,
pub description: GenericDescription,
pub channels: Vec<Channel>,
}
Expand description
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 of the module.
description: GenericDescription
Generic description of the module.
channels: Vec<Channel>
List of channels provided by the module.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Module
impl<'de> Deserialize<'de> for Module
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more