pub struct BuildPlanOptions {
pub managed_schemas: Vec<Identifier>,
pub ignore_objects: Vec<String>,
pub strategy: Strategy,
pub planner_ruleset_version: u32,
pub existing_lint_waivers: Vec<LintWaiver>,
pub source_rev: Option<String>,
}Expand description
Options for build_plan.
These map to the equivalent fields in pgevolve.toml and the CLI
pgevolve plan invocation, but the caller supplies them directly
instead of reading from a config file.
Fields§
§managed_schemas: Vec<Identifier>Schema names the catalog reader will include.
ignore_objects: Vec<String>Glob patterns for objects to ignore inside managed schemas.
strategy: StrategyPlanner strategy (Online or Atomic).
planner_ruleset_version: u32Planner ruleset version stamped into the plan.
Use PlannerPolicy::default().planner_ruleset_version unless
you have a specific reason to override.
existing_lint_waivers: Vec<LintWaiver>Pre-existing lint waivers (typically loaded from an existing
intent.toml in the caller’s plan directory). When empty, every
LintAtPlan finding is treated as unwaived.
source_rev: Option<String>Optional source-tree revision identifier stamped into the plan
(e.g., "git:abc1234").
Trait Implementations§
Source§impl Clone for BuildPlanOptions
impl Clone for BuildPlanOptions
Source§fn clone(&self) -> BuildPlanOptions
fn clone(&self) -> BuildPlanOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuildPlanOptions
impl Debug for BuildPlanOptions
Auto Trait Implementations§
impl Freeze for BuildPlanOptions
impl RefUnwindSafe for BuildPlanOptions
impl Send for BuildPlanOptions
impl Sync for BuildPlanOptions
impl Unpin for BuildPlanOptions
impl UnsafeUnpin for BuildPlanOptions
impl UnwindSafe for BuildPlanOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request