pub struct PlanArgs {
pub project: String,
pub db_url: Option<String>,
pub management_token: Option<String>,
pub target_env: String,
pub dir: PathBuf,
pub transfer_mbps: u32,
pub classify: bool,
pub classify_threshold: f32,
pub apply: bool,
pub plan: Option<PathBuf>,
}Expand description
Everything the bare fz import supabase and fz import supabase plan
were given (issue #728).
Fields§
§project: StringThe project ref.
db_url: Option<String>--db-url, if given.
management_token: Option<String>--management-token, if given.
target_env: String--target-env: the variable the target Postgres URL is read from.
dir: PathBuf--dir: where report.json, report.md and plan.json go.
transfer_mbps: u32--transfer-mbps.
classify: bool--classify.
classify_threshold: f32--classify-threshold.
apply: bool--apply: apply an approved plan instead of writing one.
plan: Option<PathBuf>--plan: the plan file to apply.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlanArgs
impl RefUnwindSafe for PlanArgs
impl Send for PlanArgs
impl Sync for PlanArgs
impl Unpin for PlanArgs
impl UnsafeUnpin for PlanArgs
impl UnwindSafe for PlanArgs
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