pub struct OperationOutcome {
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub issue: Option<Vec<OperationOutcomeIssueBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
issue: Option<Vec<OperationOutcomeIssueBackboneElement>>
A single issue associated with the action
Implementations§
Source§impl OperationOutcome
impl OperationOutcome
pub fn set_issue(self, v: Vec<OperationOutcomeIssueBackboneElement>) -> Self
pub fn add_issue(self, v: OperationOutcomeIssueBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for OperationOutcome
impl Clone for OperationOutcome
Source§fn clone(&self) -> OperationOutcome
fn clone(&self) -> OperationOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 OperationOutcome
impl Debug for OperationOutcome
Source§impl Default for OperationOutcome
impl Default for OperationOutcome
Source§fn default() -> OperationOutcome
fn default() -> OperationOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationOutcome
impl<'de> Deserialize<'de> for OperationOutcome
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for OperationOutcome
impl DomainResource for OperationOutcome
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
fn modifier_extension(&self) -> &Option<Vec<Extension>>
fn set_modifier_extension(self, ext: Vec<Extension>) -> Self
fn add_modifier_extension(self, ext: Extension) -> Self
Source§impl Resource for OperationOutcome
impl Resource for OperationOutcome
Source§impl Serialize for OperationOutcome
impl Serialize for OperationOutcome
Auto Trait Implementations§
impl Freeze for OperationOutcome
impl RefUnwindSafe for OperationOutcome
impl Send for OperationOutcome
impl Sync for OperationOutcome
impl Unpin for OperationOutcome
impl UnwindSafe for OperationOutcome
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