Skip to main content

PropertyPresenceCondition

Enum PropertyPresenceCondition 

Source
#[non_exhaustive]
pub enum PropertyPresenceCondition { Commandable, IntrinsicReportingRequired, IntrinsicReportingOptional, AuditReporting, ObjectAuditReporting, CommandableAuditReporting, ValueSourceTracking, CommandableValueSourceTracking, PairedText, LightingTrims, LightingColor, }
Expand description

Why a conditionally present property row is implemented.

Metadata describes effective rows that are already present. These values retain the conformance reason; they are not predicates evaluated at runtime.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Commandable

The row is present because the object is commandable.

§

IntrinsicReportingRequired

The object reports intrinsically, and its table’s footnotes make this row required of such an object: the event configuration, Event_Enable, Acked_Transitions, Notify_Type, Event_Time_Stamps and Event_Detection_Enable, for example.

§

IntrinsicReportingOptional

The object reports intrinsically, and its table’s footnotes only let this row be present for such an object without requiring it: Event_Message_Texts, Event_Message_Texts_Config, the Event_Algorithm_Inhibit pair and Time_Delay_Normal.

§

AuditReporting

Audit Reporting is active, making its recipient required and writable.

§

ObjectAuditReporting

An optional object-owned Audit setting is provisioned.

§

CommandableAuditReporting

An optional Audit priority filter on a commandable reporting object.

§

ValueSourceTracking

The Value_Source mechanism is implemented, making its source required: on a commandable object, or on one whose noncommandable Present_Value tracks its last writer (#1552).

§

CommandableValueSourceTracking

Source tracking on a commandable object requires its source array and time.

§

PairedText

The paired Active_Text and Inactive_Text option is implemented.

§

LightingTrims

A Lighting Output has a trim, which makes its Trim_Fade_Time required (Addendum 135-2020ca part 5, #1528).

§

LightingColor

A lighting output takes its colour from a colour object, which makes Color_Reference required, and Color_Override and Override_Color_Reference too where it supports colour override (Addendum 135-2020ca part 4, #1527).

Trait Implementations§

Source§

impl Clone for PropertyPresenceCondition

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for PropertyPresenceCondition

Source§

impl Debug for PropertyPresenceCondition

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for PropertyPresenceCondition

Source§

impl PartialEq for PropertyPresenceCondition

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for PropertyPresenceCondition

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more