pub struct Asking {
pub asked: u32,
pub budget: u32,
pub prompts: bool,
}Expand description
A run’s asking budget as an attempt sees it (all journaled).
Fields§
§asked: u32Prompts shown to a person in the run so far.
budget: u32[approvals] budget: at most this many per run.
prompts: boolA person is prompted inline; false with --no-prompt (calls wait
as ordinary approvals, nothing is counted).
Trait Implementations§
impl Copy for Asking
impl Eq for Asking
impl StructuralPartialEq for Asking
Auto Trait Implementations§
impl Freeze for Asking
impl RefUnwindSafe for Asking
impl Send for Asking
impl Sync for Asking
impl Unpin for Asking
impl UnsafeUnpin for Asking
impl UnwindSafe for Asking
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.