pub struct ReportingConfig {
pub attribute: u16,
pub data_type: DataType,
pub min_interval: u16,
pub max_interval: u16,
pub reportable_change: Option<Value>,
}Expand description
One attribute’s reporting configuration.
Fields§
§attribute: u16Attribute id.
data_type: DataTypeThe attribute’s type.
min_interval: u16Seconds between reports at least.
max_interval: u16Seconds between reports at most (0xFFFF: no periodic reports).
reportable_change: Option<Value>Change that triggers a report, for analog types only.
Trait Implementations§
Source§impl Clone for ReportingConfig
impl Clone for ReportingConfig
Source§impl Debug for ReportingConfig
impl Debug for ReportingConfig
Source§impl PartialEq for ReportingConfig
impl PartialEq for ReportingConfig
impl StructuralPartialEq for ReportingConfig
Auto Trait Implementations§
impl Freeze for ReportingConfig
impl RefUnwindSafe for ReportingConfig
impl Send for ReportingConfig
impl Sync for ReportingConfig
impl Unpin for ReportingConfig
impl UnsafeUnpin for ReportingConfig
impl UnwindSafe for ReportingConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more