pub struct StagingConfig {
pub present_value: f32,
pub min_present_value: f32,
pub units: u32,
pub priority_for_writing: u8,
pub stages: Vec<BACnetStageLimitValue>,
pub target_references: Vec<BACnetDeviceObjectReference>,
pub stage_names: Option<Vec<String>>,
}Expand description
Complete atomic configuration for a StagingObject.
Target references are deliberately local-only. A reference carrying a
device_identifier is rejected rather than initiating remote BACnet I/O.
The bundled server drops a Device identifier naming its own Device from a
written reference before the object sees it (#1136).
Fields§
§present_value: f32Initial REAL Present_Value; finite values are clamped to the ladder.
min_present_value: f32Min_Pres_Value, strictly below the first stage’s lower deadband edge.
units: u32Engineering-units enumeration stored by Units.
priority_for_writing: u8Command priority used for local target writes (1..=16).
stages: Vec<BACnetStageLimitValue>At least two ordered stage-limit values.
target_references: Vec<BACnetDeviceObjectReference>Local Binary Output, Binary Value, or Binary Lighting Output targets.
stage_names: Option<Vec<String>>Optional names, exactly one per stage when present.
Trait Implementations§
Source§impl Clone for StagingConfig
impl Clone for StagingConfig
Source§impl Debug for StagingConfig
impl Debug for StagingConfig
Source§impl PartialEq for StagingConfig
impl PartialEq for StagingConfig
impl StructuralPartialEq for StagingConfig
Auto Trait Implementations§
impl Freeze for StagingConfig
impl RefUnwindSafe for StagingConfig
impl Send for StagingConfig
impl Sync for StagingConfig
impl Unpin for StagingConfig
impl UnsafeUnpin for StagingConfig
impl UnwindSafe for StagingConfig
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