pub struct TechniquePlan { /* private fields */ }Expand description
Inspectable deployment plan composed from ordinary practice rules and deployers.
Implementations§
Source§impl TechniquePlan
impl TechniquePlan
Sourcepub fn builder(
id: impl Into<String>,
) -> Result<TechniquePlanBuilder, SerialDeployError>
pub fn builder( id: impl Into<String>, ) -> Result<TechniquePlanBuilder, SerialDeployError>
Starts a builder for one inspectable deployment technique.
Sourcepub fn rule_specs(&self) -> Vec<PracticeRuleSpec>
pub fn rule_specs(&self) -> Vec<PracticeRuleSpec>
Returns the inspectable practice rule specifications.
Sourcepub fn deployer_specs(&self) -> Vec<SerialDeployerSpec>
pub fn deployer_specs(&self) -> Vec<SerialDeployerSpec>
Returns the inspectable deployer specifications.
Sourcepub fn practice(&self) -> SerialPractice
pub fn practice(&self) -> SerialPractice
Returns the inspectable practice carried alongside the deployers.
Sourcepub fn deploy(
&self,
rows: BTreeMap<RowInstanceId, RowForm>,
) -> Result<SerialPlan, SerialDeployError>
pub fn deploy( &self, rows: BTreeMap<RowInstanceId, RowForm>, ) -> Result<SerialPlan, SerialDeployError>
Deploys the supplied row instances into one validated immutable serial plan.
Trait Implementations§
Source§impl Clone for TechniquePlan
impl Clone for TechniquePlan
Source§fn clone(&self) -> TechniquePlan
fn clone(&self) -> TechniquePlan
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TechniquePlan
impl !UnwindSafe for TechniquePlan
impl Freeze for TechniquePlan
impl Send for TechniquePlan
impl Sync for TechniquePlan
impl Unpin for TechniquePlan
impl UnsafeUnpin for TechniquePlan
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