pub struct CheckDataAccessRequest {
pub consent_list: Option<ConsentList>,
pub data_id: Option<String>,
pub request_attributes: Option<HashMap<String, String>>,
pub response_view: Option<String>,
}
Expand description
Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§consent_list: Option<ConsentList>
Optional. Specific Consents to evaluate the access request against. These Consents must have the same user_id
as the evaluated User data mapping, must exist in the current consent_store
, and have a state
of either ACTIVE
or DRAFT
. A maximum of 100 Consents can be provided here. If no selection is specified, the access request is evaluated against all ACTIVE
unexpired Consents with the same user_id
as the evaluated User data mapping.
data_id: Option<String>
Required. The unique identifier of the resource to check access for. This identifier must correspond to a User data mapping in the given consent store.
request_attributes: Option<HashMap<String, String>>
The values of request attributes associated with this access request.
response_view: Option<String>
Optional. The view for CheckDataAccessResponse. If unspecified, defaults to BASIC
and returns consented
as TRUE
or FALSE
.
Trait Implementations§
source§impl Clone for CheckDataAccessRequest
impl Clone for CheckDataAccessRequest
source§fn clone(&self) -> CheckDataAccessRequest
fn clone(&self) -> CheckDataAccessRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more