Skip to main content

agency_consent_from_str

Function agency_consent_from_str 

Source
pub fn agency_consent_from_str(s: &str) -> Result<ConsentState, String>
Expand description

Parse the wire form of a consent state ("granted" | "withdrawn" | "pending" | "not_required") into [ConsentState]. Used by the Tauri command layer.