pub struct MessageHeader {Show 18 fields
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 event: Option<CanonicalDt>,
pub destination: Option<Vec<MessageHeaderDestinationBackboneElement>>,
pub sender: Option<Reference>,
pub author: Option<Reference>,
pub source: Option<MessageHeaderSourceBackboneElement>,
pub responsible: Option<Reference>,
pub reason: Option<CodeableConcept>,
pub response: Option<MessageHeaderResponseBackboneElement>,
pub focus: Option<Vec<Reference>>,
pub definition: Option<CanonicalDt>,
}
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
event: Option<CanonicalDt>
Event code or link to EventDefinition
destination: Option<Vec<MessageHeaderDestinationBackboneElement>>
Message destination application(s)
sender: Option<Reference>
Real world sender of the message
The source of the decision
source: Option<MessageHeaderSourceBackboneElement>
Message source application
responsible: Option<Reference>
Final responsibility for event
reason: Option<CodeableConcept>
Cause of event
response: Option<MessageHeaderResponseBackboneElement>
If this is a reply to prior message
focus: Option<Vec<Reference>>
The actual content of the message
definition: Option<CanonicalDt>
Link to the definition for this message
Implementations§
Source§impl MessageHeader
impl MessageHeader
pub fn set_event<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_destination( self, v: Vec<MessageHeaderDestinationBackboneElement>, ) -> Self
pub fn add_destination(self, v: MessageHeaderDestinationBackboneElement) -> Self
pub fn set_sender(self, v: Reference) -> Self
pub fn set_source(self, v: MessageHeaderSourceBackboneElement) -> Self
pub fn set_responsible(self, v: Reference) -> Self
pub fn set_reason(self, v: CodeableConcept) -> Self
pub fn set_response(self, v: MessageHeaderResponseBackboneElement) -> Self
pub fn set_focus(self, v: Vec<Reference>) -> Self
pub fn add_focus(self, v: Reference) -> Self
pub fn set_definition<T: Into<CanonicalDt>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for MessageHeader
impl Clone for MessageHeader
Source§fn clone(&self) -> MessageHeader
fn clone(&self) -> MessageHeader
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 MessageHeader
impl Debug for MessageHeader
Source§impl Default for MessageHeader
impl Default for MessageHeader
Source§fn default() -> MessageHeader
fn default() -> MessageHeader
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageHeader
impl<'de> Deserialize<'de> for MessageHeader
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for MessageHeader
impl DomainResource for MessageHeader
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 MessageHeader
impl Resource for MessageHeader
Source§impl Serialize for MessageHeader
impl Serialize for MessageHeader
Auto Trait Implementations§
impl Freeze for MessageHeader
impl RefUnwindSafe for MessageHeader
impl Send for MessageHeader
impl Sync for MessageHeader
impl Unpin for MessageHeader
impl UnwindSafe for MessageHeader
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