Skip to main content

chosen_card

Function chosen_card 

Source
fn chosen_card(
    request: &UseRequest,
    picked: Option<&str>,
    decision: Decision,
) -> Result<Option<String>, String>
Expand description

The card the person picked for a whole-card fill: one of the request’s own choices (the preselected one when they picked none), never an id the agent or the page made up. “Always” is never for an expired card. None for any other use, and for a no.