pub struct Hit {
pub id: Option<String>,
pub text: String,
pub score: f64,
pub kind: String,
pub ts: Option<String>,
pub ballots: Option<u32>,
pub of: Option<u32>,
}Fields§
§id: Option<String>§text: String§score: f64§kind: String§ts: Option<String>When the memory was written, the writer’s clock, RFC 3339. Absent on card paragraphs, which have no clock.
ballots: Option<u32>How many of the panel’s ballots named this hit, and how many ran. Two of three is agreement; one of three is one scorer’s opinion.
of: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hit
impl<'de> Deserialize<'de> for Hit
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 Hit
impl RefUnwindSafe for Hit
impl Send for Hit
impl Sync for Hit
impl Unpin for Hit
impl UnsafeUnpin for Hit
impl UnwindSafe for Hit
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