pub struct AccessPolicyV3 {
pub id: Option<String>,
pub meta: Option<Box<Meta>>,
pub name: Option<Box<FHIRString>>,
pub description: Option<Box<FHIRString>>,
pub combining: BoundCode<Accesspolicyv3combining>,
pub attribute: Option<Vec<AccessPolicyV3Attribute>>,
pub rule: Option<Vec<AccessPolicyV3Rule>>,
}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.
name: Option<Box<FHIRString>>The name of the access policy.
description: Option<Box<FHIRString>>Description of the access policy.
combining: BoundCode<Accesspolicyv3combining>How rule decisions are combined into one decision.
attribute: Option<Vec<AccessPolicyV3Attribute>>Policy information point entries referenced using %attributeId in expressions.
rule: Option<Vec<AccessPolicyV3Rule>>Ordered rules that govern how the access policy is applied.
Implementations§
Source§impl AccessPolicyV3
impl AccessPolicyV3
pub fn filter(self, fields: &[&str]) -> Result<Self, FilterFieldsError>
Trait Implementations§
Source§impl Clone for AccessPolicyV3
impl Clone for AccessPolicyV3
Source§impl Debug for AccessPolicyV3
impl Debug for AccessPolicyV3
Source§impl Default for AccessPolicyV3
impl Default for AccessPolicyV3
Source§impl<'de> Deserialize<'de> for AccessPolicyV3
impl<'de> Deserialize<'de> for AccessPolicyV3
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 AccessPolicyV3
impl MetaValue for AccessPolicyV3
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 AccessPolicyV3
impl RefUnwindSafe for AccessPolicyV3
impl Send for AccessPolicyV3
impl Sync for AccessPolicyV3
impl Unpin for AccessPolicyV3
impl UnsafeUnpin for AccessPolicyV3
impl UnwindSafe for AccessPolicyV3
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