pub struct ExplainDataAccessConsentInfo {
pub cascade_origins: Option<Vec<String>>,
pub consent_resource: Option<String>,
pub enforcement_time: Option<DateTime<Utc>>,
pub matching_accessor_scopes: Option<Vec<ConsentAccessorScope>>,
pub patient_consent_owner: Option<String>,
pub type_: Option<String>,
pub variants: Option<Vec<String>>,
}
Expand description
The enforcing consent’s metadata.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cascade_origins: Option<Vec<String>>
The compartment base resources that matched a cascading policy. Each resource has the following format: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/{resource_type}/{resource_id}
consent_resource: Option<String>
The resource name of this consent resource, in the format: projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}
.
enforcement_time: Option<DateTime<Utc>>
Last enforcement timestamp of this consent resource.
matching_accessor_scopes: Option<Vec<ConsentAccessorScope>>
A list of all the matching accessor scopes of this consent policy that enforced ExplainDataAccessConsentScope.accessor_scope.
patient_consent_owner: Option<String>
The patient owning the consent (only applicable for patient consents), in the format: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}
type_: Option<String>
The policy type of consent resource (e.g. PATIENT, ADMIN).
variants: Option<Vec<String>>
The consent’s variant combinations. A single consent may have multiple variants.
Trait Implementations§
source§impl Clone for ExplainDataAccessConsentInfo
impl Clone for ExplainDataAccessConsentInfo
source§fn clone(&self) -> ExplainDataAccessConsentInfo
fn clone(&self) -> ExplainDataAccessConsentInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExplainDataAccessConsentInfo
impl Debug for ExplainDataAccessConsentInfo
source§impl Default for ExplainDataAccessConsentInfo
impl Default for ExplainDataAccessConsentInfo
source§fn default() -> ExplainDataAccessConsentInfo
fn default() -> ExplainDataAccessConsentInfo
source§impl<'de> Deserialize<'de> for ExplainDataAccessConsentInfo
impl<'de> Deserialize<'de> for ExplainDataAccessConsentInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for ExplainDataAccessConsentInfo
Auto Trait Implementations§
impl Freeze for ExplainDataAccessConsentInfo
impl RefUnwindSafe for ExplainDataAccessConsentInfo
impl Send for ExplainDataAccessConsentInfo
impl Sync for ExplainDataAccessConsentInfo
impl Unpin for ExplainDataAccessConsentInfo
impl UnwindSafe for ExplainDataAccessConsentInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more