pub(super) fn card_rule(
refs: &BTreeMap<String, String>,
given: Option<&CaptureAs>,
) -> Result<CaptureRule, String>Expand description
The capture rule a card request describes: a new card, each part named, none of them read from an output. Checked
like a command’s (capture::plan): known parts, the number, the expiry given one way.