#[non_exhaustive]pub struct NodeInfo {
pub node_id: u64,
pub fabric_id: u64,
pub vendor_id: Option<u16>,
pub product_id: Option<u16>,
pub label: Option<String>,
}Expand description
Metadata about a node commissioned onto one of the controller’s fabrics.
Returned by MatterController::nodes and
MatterController::commission so
callers never have to deserialize the on-disk snapshot to enumerate devices.
#[non_exhaustive]: more fields may be added without a breaking change.
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.node_id: u64Operational node id on fabric_id.
fabric_id: u64The controller-side fabric this node belongs to. This is the stable
operational Fabric ID (a u64), not the device-side 1-based fabric
index — the controller keys its state by fabric id.
vendor_id: Option<u16>Device vendor id (BasicInformation), captured best-effort after
commissioning. None until captured.
product_id: Option<u16>Device product id (BasicInformation), captured best-effort after
commissioning. None until captured.
label: Option<String>Caller-supplied opaque label from commission(). None if none given.