pub enum ResponseType {
FatalError,
Ok,
TransientError,
}Expand description
ResponseType. The kind of response to a message.
FHIR version: 5.0.0.
Variants§
FatalError
fatal-error
Fatal Error. The message was rejected because of a problem with the content. There is no point in re-sending without change. The response narrative SHALL describe the issue.
Ok
ok
OK. The message was accepted and processed without error.
TransientError
transient-error
Transient Error. Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required.
Trait Implementations§
Source§impl AsRef<str> for ResponseType
impl AsRef<str> for ResponseType
Source§impl Clone for ResponseType
impl Clone for ResponseType
Source§fn clone(&self) -> ResponseType
fn clone(&self) -> ResponseType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseType
impl Debug for ResponseType
Source§impl<'de> Deserialize<'de> for ResponseType
impl<'de> Deserialize<'de> for ResponseType
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ResponseType
impl Display for ResponseType
Source§impl From<ResponseType> for CodeableConcept
impl From<ResponseType> for CodeableConcept
Source§fn from(code: ResponseType) -> Self
fn from(code: ResponseType) -> Self
Converts to this type from the input type.
Source§impl From<ResponseType> for Coding
impl From<ResponseType> for Coding
Source§fn from(code: ResponseType) -> Self
fn from(code: ResponseType) -> Self
Converts to this type from the input type.
Source§impl FromStr for ResponseType
impl FromStr for ResponseType
Source§impl Hash for ResponseType
impl Hash for ResponseType
Source§impl PartialEq for ResponseType
impl PartialEq for ResponseType
Source§fn eq(&self, other: &ResponseType) -> bool
fn eq(&self, other: &ResponseType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResponseType
impl Serialize for ResponseType
impl Copy for ResponseType
impl Eq for ResponseType
impl StructuralPartialEq for ResponseType
Auto Trait Implementations§
impl Freeze for ResponseType
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnsafeUnpin for ResponseType
impl UnwindSafe for ResponseType
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