pub async fn export(
t: &Transport,
rule_ids: Option<&[String]>,
) -> Result<Bundle>Expand description
Export every rule, or exactly the named ones.
None posts no body for a whole-space export. Some(ids) posts objects
so a subset export transfers only the selected rules.
The response is a bundle: rules, exception-list containers, exception items,
and a trailer. _export appends the exception objects a rule references, so
decoding them to rules only would drop that content.