pub struct PushPlan {
pub sql_statements: Vec<String>,
pub warnings: Vec<String>,
pub destructive: bool,
}Expand description
SQL that drizzle push would run, from plan_push.
Fields§
§sql_statements: Vec<String>Statements to execute, in order.
warnings: Vec<String>Warnings from diffing (for example possible data loss).
destructive: booltrue when the plan loses data, so apply_push asks for
confirmation unless forced: a dropped table that holds rows, a dropped
column that holds values, a column dropped and added back, a
TRUNCATE, or (MySQL) any diff warning.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushPlan
impl RefUnwindSafe for PushPlan
impl Send for PushPlan
impl Sync for PushPlan
impl Unpin for PushPlan
impl UnsafeUnpin for PushPlan
impl UnwindSafe for PushPlan
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