pub struct Origin {
pub endpoint: String,
pub node: Option<String>,
pub system_id: Option<String>,
pub status: String,
pub rows: Option<usize>,
pub version: Option<WrittenVersion>,
pub created_ehr: Option<CreatedEhr>,
pub categories: Option<Classification>,
}Expand description
One origin of the data (Annex II 3.2(e)): an endpoint the access asked, with how it answered.
Fields§
§endpoint: StringThe endpoint, as the registry names it.
node: Option<String>The node behind it.
system_id: Option<String>The node’s openEHR system_id.
status: StringHow the endpoint answered, as the Federation Tier §11.1 status set
spells it, such as active or node-error.
rows: Option<usize>The rows or objects it contributed, when counted.
version: Option<WrittenVersion>The version a write left at the endpoint, as its answer named it, or
None for an access that wrote nothing there.
created_ehr: Option<CreatedEhr>The ehr_id an EHR create left at the endpoint, as its answer named
it, or None for an access that created no EHR there.
categories: Option<Classification>The categories of what it contributed, when told apart from the other origins’.
Trait Implementations§
impl Eq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Origin
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