pub struct Bundle {
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub identifier: Option<Identifier>,
pub type_: Option<CodeDt>,
pub timestamp: Option<InstantDt>,
pub total: Option<UnsignedIntDt>,
pub link: Option<Vec<BundleLinkBackboneElement>>,
pub entry: Option<Vec<BundleEntryBackboneElement>>,
pub signature: Option<Signature>,
pub issues: Option<Box<AnyResource>>,
}
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
identifier: Option<Identifier>
Persistent identifier for the bundle
type_: Option<CodeDt>
document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification
timestamp: Option<InstantDt>
When the bundle was assembled
total: Option<UnsignedIntDt>
If search, the total number of matches
link: Option<Vec<BundleLinkBackboneElement>>
Links related to this Bundle
entry: Option<Vec<BundleEntryBackboneElement>>
Entry in the bundle - will have a resource or information
signature: Option<Signature>
Digital Signature
issues: Option<Box<AnyResource>>
Issues with the Bundle
Implementations§
Source§impl Bundle
impl Bundle
pub fn set_link(self, v: Vec<BundleLinkBackboneElement>) -> Self
pub fn add_link(self, v: BundleLinkBackboneElement) -> Self
pub fn set_entry(self, v: Vec<BundleEntryBackboneElement>) -> Self
pub fn add_entry(self, v: BundleEntryBackboneElement) -> Self
pub fn set_signature(self, v: Signature) -> Self
pub fn set_issues(self, v: Box<AnyResource>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bundle
impl<'de> Deserialize<'de> for Bundle
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for Bundle
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnwindSafe for Bundle
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