#[non_exhaustive]pub struct Report {
pub written: Vec<PathBuf>,
pub unchanged: Vec<PathBuf>,
pub refused: Vec<RefusedFile>,
pub stale: Vec<PathBuf>,
pub missing: Vec<PathBuf>,
pub changed: Vec<PathBuf>,
pub table_failures: Vec<TableFailure>,
pub query_failures: Vec<QueryFailure>,
}Expand description
What a generate run did, or would do in a dry run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.written: Vec<PathBuf>Files written (in a dry run: files that would be written).
unchanged: Vec<PathBuf>Files whose contents were already up to date.
refused: Vec<RefusedFile>Existing files rok-sqlc did not generate and would not overwrite.
stale: Vec<PathBuf>Stale files: generated files that are no longer part of the plan. Removed after a successful run; a dry run or check only lists them.
missing: Vec<PathBuf>Check only: planned files that do not exist.
changed: Vec<PathBuf>Check only: existing planned files whose contents differ from the plan.
table_failures: Vec<TableFailure>Unsupported tables: skipped when lenient, fatal otherwise.
query_failures: Vec<QueryFailure>Unsupported queries: skipped when lenient, fatal otherwise.
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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