opcua_types/generated/types/
range.rs1#[allow(unused)]
9mod opcua {
10 pub(super) use crate as types;
11}
12#[opcua::types::ua_encodable]
13#[derive(Debug, Clone, PartialEq, Default)]
15pub struct Range {
16 pub low: f64,
17 pub high: f64,
18}
19impl opcua::types::MessageInfo for Range {
20 fn type_id(&self) -> opcua::types::ObjectId {
21 opcua::types::ObjectId::Range_Encoding_DefaultBinary
22 }
23 fn json_type_id(&self) -> opcua::types::ObjectId {
24 opcua::types::ObjectId::Range_Encoding_DefaultJson
25 }
26 fn xml_type_id(&self) -> opcua::types::ObjectId {
27 opcua::types::ObjectId::Range_Encoding_DefaultXml
28 }
29 fn data_type_id(&self) -> opcua::types::DataTypeId {
30 opcua::types::DataTypeId::Range
31 }
32}