pub struct OperationOutcome(pub Box<OperationOutcomeInner>);
Expand description
A collection of error, warning, or information messages that result from a system action.
OperationOutcome v5.0.0
Information about the success/failure of an action
A collection of error, warning, or information messages that result from a system action.
Can result from the failure of a REST call or be part of the response message returned from a request message.
Tuple Fields§
§0: Box<OperationOutcomeInner>
Implementations§
Source§impl OperationOutcome
impl OperationOutcome
Sourcepub fn builder() -> OperationOutcomeBuilder
pub fn builder() -> OperationOutcomeBuilder
Start building an instance.
Source§impl OperationOutcome
impl OperationOutcome
Sourcepub const fn resource_type() -> ResourceType
pub const fn resource_type() -> ResourceType
Get the resource type for this FHIR resource.
Trait Implementations§
Source§impl BaseResource for OperationOutcome
impl BaseResource for OperationOutcome
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
Get
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
Get
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
Set
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
Get
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
Set
language
.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 Deref for OperationOutcome
impl Deref for OperationOutcome
Source§impl DerefMut for OperationOutcome
impl DerefMut for OperationOutcome
Source§impl<'de> Deserialize<'de> for OperationOutcome
impl<'de> Deserialize<'de> for OperationOutcome
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 DomainResource for OperationOutcome
impl DomainResource for OperationOutcome
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
Get
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
Get
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
Set
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
Get
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
Set
language
.Source§fn contained_mut(&mut self) -> &mut Vec<Resource>
fn contained_mut(&mut self) -> &mut Vec<Resource>
Get
contained
mutably.Source§fn set_contained(&mut self, value: Vec<Resource>)
fn set_contained(&mut self, value: Vec<Resource>)
Set
contained
.Source§fn extension_mut(&mut self) -> &mut Vec<Extension>
fn extension_mut(&mut self) -> &mut Vec<Extension>
Get
extension
mutably.Source§fn set_extension(&mut self, value: Vec<Extension>)
fn set_extension(&mut self, value: Vec<Extension>)
Set
extension
.Source§fn modifier_extension(&self) -> &Vec<Extension>
fn modifier_extension(&self) -> &Vec<Extension>
Get
modifier_extension
.Source§fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
Get
modifier_extension
mutably.Source§fn set_modifier_extension(&mut self, value: Vec<Extension>)
fn set_modifier_extension(&mut self, value: Vec<Extension>)
Set
modifier_extension
.Source§impl From<OperationOutcome> for Resource
impl From<OperationOutcome> for Resource
Source§fn from(resource: OperationOutcome) -> Self
fn from(resource: OperationOutcome) -> Self
Converts to this type from the input type.
Source§impl From<OperationOutcomeInner> for OperationOutcome
impl From<OperationOutcomeInner> for OperationOutcome
Source§fn from(inner: OperationOutcomeInner) -> Self
fn from(inner: OperationOutcomeInner) -> Self
Converts to this type from the input type.
Source§impl NamedResource for OperationOutcome
impl NamedResource for OperationOutcome
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
The FHIR version of this resource.
Source§const TYPE: ResourceType = ResourceType::OperationOutcome
const TYPE: ResourceType = ResourceType::OperationOutcome
The ResourceType of this resouce.
Source§impl PartialEq for OperationOutcome
impl PartialEq for OperationOutcome
Source§impl Serialize for OperationOutcome
impl Serialize for OperationOutcome
Source§impl<'a> TryFrom<&'a Resource> for &'a OperationOutcome
impl<'a> TryFrom<&'a Resource> for &'a OperationOutcome
Source§impl<'a> TryFrom<&'a mut Resource> for &'a mut OperationOutcome
impl<'a> TryFrom<&'a mut Resource> for &'a mut OperationOutcome
Source§impl TryFrom<Resource> for OperationOutcome
impl TryFrom<Resource> for OperationOutcome
impl StructuralPartialEq 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