stdlib/privacyView source ↗
privacy
7 items · generated by scribe fromstdlib/privacy.fd· synced 2026-11-15
stdlib/privacy7 items
Contents
- PrivCounter (impl)
- consent_grant (function)
- consent_revoke (function)
- consent_given (function)
PrivCounter
impl PrivCounter {Defined at line 13
consent_grant
Record that subject consents to purpose; returns the token.
pub fn consent_grant(subject: str, purpose: str) -> Consent {Parameters:
subject:strpurpose:str
Returns: Consent
Defined at line 48
consent_revoke
Withdraw subject’s consent for purpose.
pub fn consent_revoke(subject: str, purpose: str) {Parameters:
subject:strpurpose:str
Defined at line 59
consent_given
True while subject consents to purpose.
pub fn consent_given(subject: str, purpose: str) -> bool {Parameters:
subject:strpurpose:str
Returns: bool
Defined at line 67
Generated by scribe, the Fides documentation generator