#[non_exhaustive]pub struct TaskScores {
pub segment: Option<bool>,
pub route: Option<bool>,
pub locate: Option<bool>,
pub extract: Option<bool>,
}Expand description
How each understanding task did on one sample: None where the item states nothing
that task decides.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.segment: Option<bool>The message split into the units expected, of the kinds expected.
route: Option<bool>Each request reached the operation expected.
locate: Option<bool>Each request aimed at the record expected.
extract: Option<bool>Each argument came out as expected: that value, or not given.
Implementations§
Trait Implementations§
Source§impl Clone for TaskScores
impl Clone for TaskScores
impl Copy for TaskScores
Source§impl Debug for TaskScores
impl Debug for TaskScores
Source§impl Default for TaskScores
impl Default for TaskScores
Source§impl<'de> Deserialize<'de> for TaskScores
impl<'de> Deserialize<'de> for TaskScores
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
impl Eq for TaskScores
Source§impl PartialEq for TaskScores
impl PartialEq for TaskScores
Source§impl Serialize for TaskScores
impl Serialize for TaskScores
impl StructuralPartialEq for TaskScores
Auto Trait Implementations§
impl Freeze for TaskScores
impl RefUnwindSafe for TaskScores
impl Send for TaskScores
impl Sync for TaskScores
impl Unpin for TaskScores
impl UnsafeUnpin for TaskScores
impl UnwindSafe for TaskScores
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.