pub struct ImportReport {
pub tables: usize,
pub items: usize,
pub skipped: usize,
pub notices: Vec<ImportNotice>,
pub exposures_accepted: bool,
}Expand description
What dynoxide import did before this server started. The CLI prints
the same facts to stderr, which an MCP client does not show to the agent,
so this is the agent’s only way to learn whether the data was anonymised
cleanly and what the run warned about.
Fields§
§tables: usizeTables imported.
items: usizeItems imported across all tables.
skipped: usizeLines skipped because they did not parse.
notices: Vec<ImportNotice>Every notice the import raised, in the order it raised them.
exposures_accepted: boolWhether --accept-exposure let the run serve despite its exposures.
Implementations§
Source§impl ImportReport
impl ImportReport
Sourcepub fn exposure_count(&self) -> usize
pub fn exposure_count(&self) -> usize
How many notices say an original value reached the output.
Sourcepub fn instructions_sentence(&self) -> String
pub fn instructions_sentence(&self) -> String
The one sentence the server instructions carry about the import.
Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§impl Debug for ImportReport
impl Debug for ImportReport
Source§impl Default for ImportReport
impl Default for ImportReport
impl Eq for ImportReport
Source§impl PartialEq for ImportReport
impl PartialEq for ImportReport
impl StructuralPartialEq for ImportReport
Auto Trait Implementations§
impl Freeze for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnsafeUnpin for ImportReport
impl UnwindSafe for ImportReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.