pub struct DatasetItem {
pub input: String,
pub reference: String,
}Expand description
A single item in an evaluation dataset.
Fields§
§input: String§reference: StringTrait Implementations§
Source§impl Clone for DatasetItem
impl Clone for DatasetItem
Source§fn clone(&self) -> DatasetItem
fn clone(&self) -> DatasetItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DatasetItem
impl RefUnwindSafe for DatasetItem
impl Send for DatasetItem
impl Sync for DatasetItem
impl Unpin for DatasetItem
impl UnsafeUnpin for DatasetItem
impl UnwindSafe for DatasetItem
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