pub struct DeferredToolDecisions {
pub decisions: Vec<DeferredToolDecision>,
}Expand description
Collection of decisions for deferred tools.
Fields§
§decisions: Vec<DeferredToolDecision>The decisions.
Implementations§
Source§impl DeferredToolDecisions
impl DeferredToolDecisions
Sourcepub fn add(&mut self, decision: DeferredToolDecision)
pub fn add(&mut self, decision: DeferredToolDecision)
Add a decision.
Sourcepub fn all_approved(&self) -> bool
pub fn all_approved(&self) -> bool
Check if all are approved.
Sourcepub fn any_denied(&self) -> bool
pub fn any_denied(&self) -> bool
Check if any are denied.
Trait Implementations§
Source§impl Clone for DeferredToolDecisions
impl Clone for DeferredToolDecisions
Source§fn clone(&self) -> DeferredToolDecisions
fn clone(&self) -> DeferredToolDecisions
Returns a duplicate of the value. Read more
1.0.0 · 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 DeferredToolDecisions
impl Debug for DeferredToolDecisions
Source§impl Default for DeferredToolDecisions
impl Default for DeferredToolDecisions
Source§fn default() -> DeferredToolDecisions
fn default() -> DeferredToolDecisions
Returns the “default value” for a type. Read more
Source§impl FromIterator<DeferredToolDecision> for DeferredToolDecisions
impl FromIterator<DeferredToolDecision> for DeferredToolDecisions
Source§fn from_iter<T: IntoIterator<Item = DeferredToolDecision>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = DeferredToolDecision>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for DeferredToolDecisions
impl RefUnwindSafe for DeferredToolDecisions
impl Send for DeferredToolDecisions
impl Sync for DeferredToolDecisions
impl Unpin for DeferredToolDecisions
impl UnwindSafe for DeferredToolDecisions
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