pub struct BatchChoice<'a> {
pub run: &'a str,
pub approve: bool,
pub calls: &'a [String],
pub digest: &'a str,
pub resume_asking: bool,
pub reason: Option<&'a str>,
}Expand description
What a batch decision decides.
Fields§
§run: &'a strThe run.
approve: boolApprove (each once) or reject.
calls: &'a [String]The calls decided: a non-empty subset of the batch.
digest: &'a strThe digest of the list the person saw.
resume_asking: boolStart the run’s asking budget again.
reason: Option<&'a str>A rejection’s reason, for each call.
Trait Implementations§
Source§impl<'a> Clone for BatchChoice<'a>
impl<'a> Clone for BatchChoice<'a>
impl<'a> Copy for BatchChoice<'a>
Auto Trait Implementations§
impl<'a> Freeze for BatchChoice<'a>
impl<'a> RefUnwindSafe for BatchChoice<'a>
impl<'a> Send for BatchChoice<'a>
impl<'a> Sync for BatchChoice<'a>
impl<'a> Unpin for BatchChoice<'a>
impl<'a> UnsafeUnpin for BatchChoice<'a>
impl<'a> UnwindSafe for BatchChoice<'a>
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