pub struct Population {
pub reason: PopulationReason,
pub ehrs: Option<usize>,
pub limit: usize,
pub templates: BTreeSet<String>,
pub archetypes: BTreeSet<String>,
}Expand description
The scope of a population access: what the access read, when the record names none of the persons whose records it read.
The origins the access asked are the record’s origins. A person’s
search finds the record through an origin that holds their record, and
it says that a query over that origin ran, never that it read their
record. Debug shows the reason and the counts, never an id.
Fields§
§reason: PopulationReasonWhy the record names no ehr_id.
ehrs: Option<usize>How many ehr_ids the delivered rows named, when they were read.
limit: usizeThe most ehr_ids a record names.
templates: BTreeSet<String>The template ids the query constrains its data to.
archetypes: BTreeSet<String>The archetype ids the query constrains its data to.
Trait Implementations§
Source§impl Clone for Population
impl Clone for Population
Source§impl Debug for Population
impl Debug for Population
impl Eq for Population
Source§impl PartialEq for Population
impl PartialEq for Population
impl StructuralPartialEq for Population
Auto Trait Implementations§
impl Freeze for Population
impl RefUnwindSafe for Population
impl Send for Population
impl Sync for Population
impl Unpin for Population
impl UnsafeUnpin for Population
impl UnwindSafe for Population
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