pub struct Gold {
pub relevance: Option<BTreeMap<String, u8>>,
pub items: Option<BTreeMap<String, BTreeMap<String, GoldValue>>>,
pub requested: Option<BTreeMap<String, GoldValue>>,
pub fields: Option<BTreeMap<String, GoldValue>>,
pub rubric: Option<BTreeMap<String, String>>,
}Expand description
A case’s gold record (3.3.1). Every member is optional.
Fields§
§relevance: Option<BTreeMap<String, u8>>Item id to grade 0 to 10; an item absent from the map is unjudged.
items: Option<BTreeMap<String, BTreeMap<String, GoldValue>>>Item id to attribute name to gold value.
requested: Option<BTreeMap<String, GoldValue>>Request attribute name to gold value.
fields: Option<BTreeMap<String, GoldValue>>Extraction field name to gold value, or the string absent.
rubric: Option<BTreeMap<String, String>>Human scale name to level name.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gold
impl<'de> Deserialize<'de> for Gold
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 Gold
impl StructuralPartialEq for Gold
Auto Trait Implementations§
impl Freeze for Gold
impl RefUnwindSafe for Gold
impl Send for Gold
impl Sync for Gold
impl Unpin for Gold
impl UnsafeUnpin for Gold
impl UnwindSafe for Gold
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