pub struct PredicateRefs {
pub p_is_implemented: Option<String>,
pub p_is_available: Option<String>,
pub p_is_locked: Option<String>,
}Expand description
References to predicate provider nodes used for runtime gating.
GenICam’s pIsImplemented, pIsAvailable and pIsLocked each point at
another node (typically an Integer, Boolean or IntSwissKnife) whose current
value gates whether a feature is implemented, accessible, or writable.
These three references are shared by most node variants, so we collect them
into one struct to keep the variant fields small.
All three fields are optional; a node with no predicates has
PredicateRefs::default(). Serde fields use the GenICam XML spelling so
round-trip JSON matches the XML attribute names.
Fields§
§p_is_implemented: Option<String>Name of a node evaluating to non-zero iff the feature is implemented.
p_is_available: Option<String>Name of a node evaluating to non-zero iff the feature is accessible now.
p_is_locked: Option<String>Name of a node evaluating to non-zero iff the feature is locked (RW→RO).
Implementations§
Source§impl PredicateRefs
impl PredicateRefs
Trait Implementations§
Source§impl Clone for PredicateRefs
impl Clone for PredicateRefs
Source§fn clone(&self) -> PredicateRefs
fn clone(&self) -> PredicateRefs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more