pub struct MasterDataResolver {
pub companies: Vec<String>,
pub persons: Vec<String>,
pub streets: Vec<String>,
pub patients: Vec<String>,
}Expand description
SP6 — Resolves PII placeholders to concrete values drawn from the run’s
synthetic master data. {company} <- vendor/customer names, {person} <-
user display names, {street} <- addresses (empty pool for now — no
address master entity), {patient} <- a synthetic-person pool (no master
entity exists for patients). Empty pools fall back to obviously-synthetic
constants so output never carries an empty span or a literal {…} token.
Fields§
§companies: Vec<String>§persons: Vec<String>§streets: Vec<String>§patients: Vec<String>Trait Implementations§
Source§impl Debug for MasterDataResolver
impl Debug for MasterDataResolver
Source§impl Default for MasterDataResolver
impl Default for MasterDataResolver
Source§fn default() -> MasterDataResolver
fn default() -> MasterDataResolver
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MasterDataResolver
impl RefUnwindSafe for MasterDataResolver
impl Send for MasterDataResolver
impl Sync for MasterDataResolver
impl Unpin for MasterDataResolver
impl UnsafeUnpin for MasterDataResolver
impl UnwindSafe for MasterDataResolver
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.