pub struct DeidentificationPolicy {
pub id: Option<String>,
pub meta: Option<Box<Meta>>,
pub url: Box<FHIRUri>,
pub version: Box<FHIRString>,
pub name: Option<Box<FHIRString>>,
pub title: Option<Box<FHIRString>>,
pub description: Option<Box<FHIRMarkdown>>,
pub status: BoundCode<Deidentificationpolicystatus>,
pub basedOn: Option<Box<FHIRCanonical>>,
pub default: BoundCode<Deidentificationpolicydefault>,
pub rule: Option<Vec<DeidentificationPolicyRule>>,
}Expand description
AccessPolicyV3 resource.
Fields§
§id: Option<String>The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
meta: Option<Box<Meta>>The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
url: Box<FHIRUri>Canonical identity of the policy.
version: Box<FHIRString>SemVer version; basedOn and obligations pin a version.
name: Option<Box<FHIRString>>Computer-friendly name.
title: Option<Box<FHIRString>>Human-friendly name.
description: Option<Box<FHIRMarkdown>>What the policy is for.
status: BoundCode<Deidentificationpolicystatus>Only an active policy resolves from an unversioned reference.
basedOn: Option<Box<FHIRCanonical>>Parent policy; this policy’s rules override the parent’s by target identity.
default: BoundCode<Deidentificationpolicydefault>Action for any element no rule matches.
rule: Option<Vec<DeidentificationPolicyRule>>Rules, sorted on save. Resolution is path > extension > type > default.
Implementations§
Source§impl DeidentificationPolicy
impl DeidentificationPolicy
pub fn filter(self, fields: &[&str]) -> Result<Self, FilterFieldsError>
Trait Implementations§
Source§impl Clone for DeidentificationPolicy
impl Clone for DeidentificationPolicy
Source§impl Debug for DeidentificationPolicy
impl Debug for DeidentificationPolicy
Source§impl Default for DeidentificationPolicy
impl Default for DeidentificationPolicy
Source§impl<'de> Deserialize<'de> for DeidentificationPolicy
impl<'de> Deserialize<'de> for DeidentificationPolicy
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl MetaValue for DeidentificationPolicy
impl MetaValue for DeidentificationPolicy
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, _index: usize, ) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn fhir_type(&self) -> &'static str
fn as_any(&self) -> &dyn Any
fn flatten(&self) -> Vec<&dyn MetaValue>
fn is_many(&self) -> bool
Auto Trait Implementations§
impl !Freeze for DeidentificationPolicy
impl RefUnwindSafe for DeidentificationPolicy
impl Send for DeidentificationPolicy
impl Sync for DeidentificationPolicy
impl Unpin for DeidentificationPolicy
impl UnsafeUnpin for DeidentificationPolicy
impl UnwindSafe for DeidentificationPolicy
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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