fn uses_structured_namespace(
nats_subject: &str,
site_id: Option<&str>,
box_id: Option<&str>,
source_id: Option<&str>,
) -> boolExpand description
Decides whether a config should use the structured subject namespace.
§Arguments
nats_subject- Configured subject root, for exampleavenaboxoravenars.site_id- Configured site ID, if any.box_id- Configured box ID, if any.source_id- Configured source ID, if any.
§Returns
true if the trimmed root is exactly avenars or any of the three IDs is set and
not empty. A LabJack name alone does not switch to the structured layout.