pub enum ResourceValidationMode {
Create,
Delete,
Profile,
Update,
_Custom(String),
}
Expand description
ResourceValidationMode. ResourceValidationMode
FHIR version: 5.0.0.
Variants§
Create
create
Validate for Create. The server checks the content, and then checks that the content would be acceptable as a create (e.g. that the content would not violate any uniqueness constraints).
Delete
delete
Validate for Delete. The server ignores the content and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules).
Profile
profile
Validate Against a Profile. The server checks an existing resource (must be nominated by id, not provided as a parameter) as valid against the nominated profile.
Update
update
Validate for Update. The server checks the content, and then checks that it would accept it as an update against the nominated specific resource (e.g. that there are no changes to immutable fields the server does not allow to change and checking version integrity if appropriate).
_Custom(String)
Custom code value.
Trait Implementations§
Source§impl AsRef<str> for ResourceValidationMode
impl AsRef<str> for ResourceValidationMode
Source§impl Clone for ResourceValidationMode
impl Clone for ResourceValidationMode
Source§fn clone(&self) -> ResourceValidationMode
fn clone(&self) -> ResourceValidationMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ResourceValidationMode
impl Debug for ResourceValidationMode
Source§impl<'de> Deserialize<'de> for ResourceValidationMode
impl<'de> Deserialize<'de> for ResourceValidationMode
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ResourceValidationMode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ResourceValidationMode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl Display for ResourceValidationMode
impl Display for ResourceValidationMode
Source§impl From<ResourceValidationMode> for CodeableConcept
impl From<ResourceValidationMode> for CodeableConcept
Source§fn from(code: ResourceValidationMode) -> CodeableConcept
fn from(code: ResourceValidationMode) -> CodeableConcept
Source§impl From<ResourceValidationMode> for Coding
impl From<ResourceValidationMode> for Coding
Source§fn from(code: ResourceValidationMode) -> Coding
fn from(code: ResourceValidationMode) -> Coding
Source§impl FromStr for ResourceValidationMode
impl FromStr for ResourceValidationMode
Source§impl Hash for ResourceValidationMode
impl Hash for ResourceValidationMode
Source§impl PartialEq for ResourceValidationMode
impl PartialEq for ResourceValidationMode
Source§impl Serialize for ResourceValidationMode
impl Serialize for ResourceValidationMode
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl Eq for ResourceValidationMode
impl StructuralPartialEq for ResourceValidationMode
Auto Trait Implementations§
impl Freeze for ResourceValidationMode
impl RefUnwindSafe for ResourceValidationMode
impl Send for ResourceValidationMode
impl Sync for ResourceValidationMode
impl Unpin for ResourceValidationMode
impl UnwindSafe for ResourceValidationMode
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.