pub struct Channel {
pub id: String,
pub caption: String,
pub channel_type: DataType,
pub permission: ChannelPermission,
}
Expand description
Description of a channel available in a XIO module.
Fields§
§id: String
String identifier of the module.
Must be unique among all channels that are contained in a module.
Caption of the channel.
channel_type: DataType
Dataype of the channel value.
permission: ChannelPermission
Access permissions of the channel.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Channel
impl<'de> Deserialize<'de> for Channel
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