#[non_exhaustive]pub struct StringDecl {
pub name: String,
pub meta: NodeMeta,
pub addressing: Option<Addressing>,
pub pvalue: Option<String>,
pub value: Option<String>,
pub access: AccessMode,
pub predicates: PredicateRefs,
pub invalidators: Vec<String>,
}Expand description
Declaration of a string feature: a <StringReg>, which reads a register,
or a <String>, which holds a <Value> or takes its value from the node
<pValue> names (GenICam Standard v2.1.1 §2.8.11 and §2.8.12).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringFeature name exposed to clients.
meta: NodeMetaShared metadata.
addressing: Option<Addressing>The register a <StringReg> reads; None for a <String>.
pvalue: Option<String><pValue>: the node a <String> reads and writes its value through.
value: Option<String><Value>: the start value of a <String> that has no <pValue>, a
floating node holding whatever is written to it.
access: AccessModeAccess privileges: a <StringReg>’s <AccessMode>, read-only when it
declares none. A <String> declares none: a floating one is RW, and
one with a <pValue> is as writable as the node it names.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
invalidators: Vec<String>GenICam <pInvalidator> references, in declaration order: each names a
node whose change makes this node’s cached value stale.