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 may lose data, so
apply_push asks for confirmation unless forced.
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