Skip to main content

store_card

Function store_card 

Source
pub(super) fn store_card(
    store: &Store,
    plan: Capture,
    values: BTreeMap<String, Zeroizing<String>>,
    origin: &str,
    given: Option<&CaptureAs>,
) -> Result<(String, String), String>
Expand description

Stores the card: the fields and expiry date the agent gave go with it. Returns the entry’s id and label.