pub type TemplateMetric = Metric;Aliased Type§
pub struct TemplateMetric {
pub name: Option<String>,
pub alias: Option<u64>,
pub timestamp: Option<u64>,
pub datatype: Option<u32>,
pub is_historical: Option<bool>,
pub is_transient: Option<bool>,
pub is_null: Option<bool>,
pub metadata: Option<MetaData>,
pub properties: Option<PropertySet>,
pub value: Option<Value>,
}Fields§
§name: Option<String>Metric name - should only be included on birth
alias: Option<u64>Metric alias - tied to name on birth and included in all later DATA messages
timestamp: Option<u64>Timestamp associated with data acquisition time
datatype: Option<u32>DataType of the metric/tag value
is_historical: Option<bool>If this is historical data and should not update real time tag
is_transient: Option<bool>Tells consuming clients such as MQTT Engine to not store this as a tag
is_null: Option<bool>If this is null - explicitly say so rather than using -1, false, etc for some datatypes.
metadata: Option<MetaData>Metadata for the payload
properties: Option<PropertySet>§value: Option<Value>