pub struct ScreenVerdict {
pub entry: i64,
pub verdict: Screened,
pub title: String,
pub reason: String,
pub duplicate_of_issue: Option<i64>,
pub duplicate_of_entry: Option<i64>,
}Expand description
One agent’s ruling on one entry in the local follow-up queue.
Fields§
§entry: i64The entry’s position in the list it was given, from 1.
Matched back by index rather than by title, because the entries are spar’s own data and so can carry a handle a model cannot paraphrase.
verdict: Screened§title: String§reason: String§duplicate_of_issue: Option<i64>The open issue a duplicate points at.
Kept apart from duplicate_of_entry, because one number cannot say
which it is and the two are acted on differently: an issue already
exists, while a sibling entry may itself be dropped or fail to file.
duplicate_of_entry: Option<i64>The number of another entry in the same list a duplicate points at.
Implementations§
Source§impl ScreenVerdict
impl ScreenVerdict
Sourcepub fn names_a_duplicate(&self) -> bool
pub fn names_a_duplicate(&self) -> bool
Whether this verdict names anything at all as the thing that covers it.
Trait Implementations§
Source§impl Clone for ScreenVerdict
impl Clone for ScreenVerdict
Source§impl Debug for ScreenVerdict
impl Debug for ScreenVerdict
Source§impl<'de> Deserialize<'de> for ScreenVerdict
impl<'de> Deserialize<'de> for ScreenVerdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScreenVerdict
impl RefUnwindSafe for ScreenVerdict
impl Send for ScreenVerdict
impl Sync for ScreenVerdict
impl Unpin for ScreenVerdict
impl UnsafeUnpin for ScreenVerdict
impl UnwindSafe for ScreenVerdict
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