pub struct Issue {
pub severity: String,
pub code: String,
pub details: Option<String>,
pub diagnostics: Option<String>,
pub tx_issue_type: Option<TxIssue>,
}Expand description
One issue of an OperationOutcome
(https://hl7.org/fhir/R4/operationoutcome.html).
severity and code stay as the server spelled them: the raw body is kept
beside this value in UpstreamError, and a code outside the FHIR value
set would otherwise cost the whole diagnostic.
Fields§
§severity: Stringissue.severity, one of fatal, error, warning, information.
code: Stringissue.code, a code of the FHIR IssueType value set.
details: Option<String>issue.details.text, when the server sent one.
diagnostics: Option<String>issue.diagnostics, when the server sent one.
tx_issue_type: Option<TxIssue>The TX_ISSUE_TYPE coding of issue.details.coding, when one is
present.
Trait Implementations§
impl Eq for Issue
impl StructuralPartialEq for Issue
Auto Trait Implementations§
impl Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
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,
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
Compare self to
key and return true if they are equal.