pub struct BACnetLightingCommand {
pub operation: u32,
pub target_level: Option<f32>,
pub ramp_rate: Option<f32>,
pub step_increment: Option<f32>,
pub fade_time: Option<u32>,
pub priority: Option<u32>,
}Expand description
BACnet Lighting Command – controls lighting operations.
Per ASHRAE 135-2020 Clause 21, this type is used by the LightingOutput object’s LIGHTING_COMMAND property to specify a lighting operation (e.g., fade, ramp, step) with optional parameters.
Fields§
§operation: u32The lighting operation (LightingOperation enum raw value).
target_level: Option<f32>Optional target brightness level (0.0 to 100.0 percent).
ramp_rate: Option<f32>Optional ramp rate (percent per second).
step_increment: Option<f32>Optional step increment (percent).
fade_time: Option<u32>Optional fade time (milliseconds).
priority: Option<u32>Optional priority (1-16).
Trait Implementations§
Source§impl Clone for BACnetLightingCommand
impl Clone for BACnetLightingCommand
Source§fn clone(&self) -> BACnetLightingCommand
fn clone(&self) -> BACnetLightingCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BACnetLightingCommand
impl Debug for BACnetLightingCommand
Source§impl PartialEq for BACnetLightingCommand
impl PartialEq for BACnetLightingCommand
impl StructuralPartialEq for BACnetLightingCommand
Auto Trait Implementations§
impl Freeze for BACnetLightingCommand
impl RefUnwindSafe for BACnetLightingCommand
impl Send for BACnetLightingCommand
impl Sync for BACnetLightingCommand
impl Unpin for BACnetLightingCommand
impl UnsafeUnpin for BACnetLightingCommand
impl UnwindSafe for BACnetLightingCommand
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