Struct sep2_common::packages::pubsub::Condition
source · pub struct Condition {
pub attribute_identifier: AttributeIdentifier,
pub lower_threshold: Int48,
pub upper_threshold: Int48,
}
Available on crate feature
pubsub
only.Expand description
Indicates a condition that must be satisfied for the Notification to be triggered.
Fields§
§attribute_identifier: AttributeIdentifier
0 = Reading value 1-255 = Reserved
lower_threshold: Int48
The value of the lower threshold
upper_threshold: Int48
The value of the upper threshold
Trait Implementations§
source§impl PartialEq<Condition> for Condition
impl PartialEq<Condition> for Condition
source§impl YaSerialize for Condition
impl YaSerialize for Condition
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for Condition
impl StructuralEq for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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