pub struct RunnerPlan { /* private fields */ }Implementations§
Source§impl RunnerPlan
impl RunnerPlan
pub fn policy(&self) -> &PolicyDecision
pub fn approval_required(&self) -> bool
pub fn containment_available(&self) -> bool
Source§impl RunnerPlan
impl RunnerPlan
pub fn validate_approval( &self, request: &RunnerRequest, approval: Option<&Approval>, ) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for RunnerPlan
impl Clone for RunnerPlan
Source§fn clone(&self) -> RunnerPlan
fn clone(&self) -> RunnerPlan
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 RunnerPlan
impl Debug for RunnerPlan
impl Eq for RunnerPlan
Source§impl PartialEq for RunnerPlan
impl PartialEq for RunnerPlan
impl StructuralPartialEq for RunnerPlan
Auto Trait Implementations§
impl Freeze for RunnerPlan
impl RefUnwindSafe for RunnerPlan
impl Send for RunnerPlan
impl Sync for RunnerPlan
impl Unpin for RunnerPlan
impl UnsafeUnpin for RunnerPlan
impl UnwindSafe for RunnerPlan
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