pub struct Reviewed {
pub review: String,
pub prompted: Prompted,
pub rulings: Vec<Ruling>,
}Expand description
Everything the push check keeps of one review’s candidates: the agent that wrote them, what its prompt listed and what its result ruled.
Fields§
§review: String§prompted: Prompted§rulings: Vec<Ruling>Implementations§
Source§impl Reviewed
impl Reviewed
pub fn read(agent_id: Option<&str>, prompt: &str, result: &str) -> Reviewed
Sourcepub fn not_recorded() -> Reviewed
pub fn not_recorded() -> Reviewed
A pass from before candidates were stored, or one a person overruled.
Sourcepub fn disposed(&self) -> Vec<Disposed>
pub fn disposed(&self) -> Vec<Disposed>
The ruling on each listed candidate that has one. A ruling names its candidate by the full id or by a prefix that only one listed id has.
Trait Implementations§
impl Eq for Reviewed
impl StructuralPartialEq for Reviewed
Auto Trait Implementations§
impl Freeze for Reviewed
impl RefUnwindSafe for Reviewed
impl Send for Reviewed
impl Sync for Reviewed
impl Unpin for Reviewed
impl UnsafeUnpin for Reviewed
impl UnwindSafe for Reviewed
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
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§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.