pub struct BinaryOutput {Show 16 fields
pub identifier: ObjectIdentifier,
pub object_name: String,
pub present_value: BinaryPV,
pub description: String,
pub device_type: String,
pub status_flags: u8,
pub event_state: EventState,
pub reliability: Reliability,
pub out_of_service: bool,
pub polarity: Polarity,
pub inactive_text: String,
pub active_text: String,
pub priority_array: [Option<BinaryPV>; 16],
pub relinquish_default: BinaryPV,
pub minimum_off_time: u32,
pub minimum_on_time: u32,
}Expand description
Binary Output object
Fields§
§identifier: ObjectIdentifierObject identifier
object_name: StringObject name
present_value: BinaryPVPresent value
description: StringDescription
device_type: StringDevice type
status_flags: u8Status flags
event_state: EventStateEvent state
reliability: ReliabilityReliability
out_of_service: boolOut of service
polarity: PolarityPolarity
inactive_text: StringInactive text
active_text: StringActive text
priority_array: [Option<BinaryPV>; 16]Priority array (16 levels)
relinquish_default: BinaryPVRelinquish default
minimum_off_time: u32Minimum off time
minimum_on_time: u32Minimum on time
Implementations§
Source§impl BinaryOutput
impl BinaryOutput
Trait Implementations§
Source§impl BacnetObject for BinaryOutput
impl BacnetObject for BinaryOutput
Source§fn identifier(&self) -> ObjectIdentifier
fn identifier(&self) -> ObjectIdentifier
Get the object identifier
Source§fn get_property(&self, property: PropertyIdentifier) -> Result<PropertyValue>
fn get_property(&self, property: PropertyIdentifier) -> Result<PropertyValue>
Get a property value
Source§fn set_property(
&mut self,
property: PropertyIdentifier,
value: PropertyValue,
) -> Result<()>
fn set_property( &mut self, property: PropertyIdentifier, value: PropertyValue, ) -> Result<()>
Set a property value
Source§fn is_property_writable(&self, property: PropertyIdentifier) -> bool
fn is_property_writable(&self, property: PropertyIdentifier) -> bool
Check if property is writable
Source§fn property_list(&self) -> Vec<PropertyIdentifier>
fn property_list(&self) -> Vec<PropertyIdentifier>
Get list of all properties
Source§impl Clone for BinaryOutput
impl Clone for BinaryOutput
Source§fn clone(&self) -> BinaryOutput
fn clone(&self) -> BinaryOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BinaryOutput
impl RefUnwindSafe for BinaryOutput
impl Send for BinaryOutput
impl Sync for BinaryOutput
impl Unpin for BinaryOutput
impl UnsafeUnpin for BinaryOutput
impl UnwindSafe for BinaryOutput
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