#[non_exhaustive]pub struct NodeMeta {
pub visibility: Visibility,
pub description: Option<String>,
pub tooltip: Option<String>,
pub display_name: Option<String>,
pub representation: Option<Representation>,
pub imposed_access: Option<AccessMode>,
pub streamable: bool,
pub cachable: Option<CachingMode>,
pub polling_time_ms: Option<u64>,
pub ignored: Vec<String>,
}Expand description
Shared metadata present on every GenICam node.
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.visibility: VisibilityVisibility level (Beginner, Expert, Guru, Invisible).
description: Option<String>Long-form description of the feature.
tooltip: Option<String>Short tooltip text for UI hover hints.
display_name: Option<String>Human-readable label (may differ from the node name).
representation: Option<Representation>Recommended UI representation for numeric features.
imposed_access: Option<AccessMode><ImposedAccessMode>: a ceiling on the node’s access, whatever its
<AccessMode> or <pValue> allows. RW imposes nothing.
streamable: bool<Streamable>Yes</Streamable>: the feature belongs in a saved
configuration. GenICam Standard v2.1.1 §2.8.1: Streamable “denotes that
the corresponding feature is prepared to be stored to and loaded from a
file via the GenApi node tree”; absent means No (§3.2).
cachable: Option<CachingMode><Cachable> as the XML declares it; None when it declares none.
GenICam Standard v2.1.1 §2.8.3 puts it on a register. Absent, the
standard’s default depends on the element — WriteAround for a
<FloatReg>, WriteThrough for the other registers (§3.2) — so it is
resolved where the node’s kind is known, in viva-genapi. A
<StructEntry> without its own takes its <StructReg>’s.
polling_time_ms: Option<u64><PollingTime>, in milliseconds: “a recommended time interval [in ms]
after which a node should be invalidated” (§2.8.3), a hint. A register
declares it, and so may a <Command> (§2.8.8) or an <Enumeration>
(§2.8.10).
ignored: Vec<String>Child elements the parser read past without interpreting them, by
tag, in document order: <Extension>, <DocuURL>, or something that
changes the value and is not supported yet. A child of an
enumeration’s entry is written EnumEntry/<tag>; a <StructReg>‘s
own are its entries’, as everything else it declares is.
XmlModel::ignored lists them for a whole document.