pub struct SafetyReport {
pub script: String,
pub overall_verdict: SafetyVerdict,
pub statements: Vec<StatementAnalysis>,
pub suggestions: Vec<String>,
}Expand description
Full safety report for a migration script.
Fields§
§script: StringThe migration script filename or identifier.
overall_verdict: SafetyVerdictThe worst-case verdict across all statements.
statements: Vec<StatementAnalysis>Per-statement analysis results.
suggestions: Vec<String>Aggregated suggestions across all statements.
Trait Implementations§
Source§impl Clone for SafetyReport
impl Clone for SafetyReport
Source§fn clone(&self) -> SafetyReport
fn clone(&self) -> SafetyReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SafetyReport
impl Debug for SafetyReport
Auto Trait Implementations§
impl Freeze for SafetyReport
impl RefUnwindSafe for SafetyReport
impl Send for SafetyReport
impl Sync for SafetyReport
impl Unpin for SafetyReport
impl UnsafeUnpin for SafetyReport
impl UnwindSafe for SafetyReport
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