pub enum InterruptDecision {
Approve,
Reject {
reason: Option<String>,
},
Input {
value: Value,
},
}Expand description
User decision for an interrupt
Variants§
Trait Implementations§
Source§impl Clone for InterruptDecision
impl Clone for InterruptDecision
Source§fn clone(&self) -> InterruptDecision
fn clone(&self) -> InterruptDecision
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 moreAuto Trait Implementations§
impl Freeze for InterruptDecision
impl RefUnwindSafe for InterruptDecision
impl Send for InterruptDecision
impl Sync for InterruptDecision
impl Unpin for InterruptDecision
impl UnsafeUnpin for InterruptDecision
impl UnwindSafe for InterruptDecision
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