pub struct CoverageReport {
pub satisfied: bool,
pub present: Vec<QualifiedTable>,
pub missing: Vec<QualifiedTable>,
pub manageable: bool,
pub blockers: Vec<String>,
pub remediation: Vec<String>,
}Expand description
What a source found when asked whether it can stream a set of tables.
present + missing partition the requested set. When missing is
non-empty the source is not yet streaming every table an index reads (live
changes to a missing table would be silently dropped); manageable says
whether this source — with its current credentials — can close the gap
itself, and remediation carries the steps to do so (the operator can run
them by hand regardless of manageable). blockers explains a
manageable == false verdict in human terms.
Fields§
§satisfied: boolEvery requested table is already streamable — nothing to do.
present: Vec<QualifiedTable>Requested tables the source already streams.
missing: Vec<QualifiedTable>Requested tables not yet streamed.
manageable: boolWhether the source can provision the missing tables with its current
privileges. Meaningless when missing is empty.
blockers: Vec<String>Why manageable is false (e.g. “role does not own table public.orders”).
remediation: Vec<String>Backend-specific steps that would close the gap — opaque to callers,
meant to be shown verbatim (for Postgres, the CREATE/ALTER PUBLICATION
statements). Empty when satisfied.
Trait Implementations§
Source§impl Clone for CoverageReport
impl Clone for CoverageReport
Source§fn clone(&self) -> CoverageReport
fn clone(&self) -> CoverageReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more