pub struct SelectedExample {
pub id: String,
pub label: usize,
pub exact_hash: [u8; 32],
pub normalized_hash: [u8; 32],
}Expand description
One selected row, with its LABEL and both content hashes.
Fields§
§id: StringThe row identifier.
label: usizeThe row’s class label.
exact_hash: [u8; 32]Exact SHA-256 of the raw input bytes.
normalized_hash: [u8; 32]nfc-trim-ws-v1 normalized content hash.
Trait Implementations§
Source§impl Clone for SelectedExample
impl Clone for SelectedExample
Source§impl Debug for SelectedExample
impl Debug for SelectedExample
impl Eq for SelectedExample
Source§impl PartialEq for SelectedExample
impl PartialEq for SelectedExample
impl StructuralPartialEq for SelectedExample
Auto Trait Implementations§
impl Freeze for SelectedExample
impl RefUnwindSafe for SelectedExample
impl Send for SelectedExample
impl Sync for SelectedExample
impl Unpin for SelectedExample
impl UnsafeUnpin for SelectedExample
impl UnwindSafe for SelectedExample
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